[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 1 from proof fwsim-step-abstau (conclusion) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)) ⊦ abs(mkstate(gs0, lsf0, pcf0), mkstate(mkgs(q), alsf, apcf))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), ¬ abs(mkstate(gs0, lsf0, pcf0), mkstate(mkgs(q), alsf, apcf)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abs-def, seq:⊦ 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)), subst:[alsf, lsf, q, apcf, pcf, gs] → [alsf, lsf0, q, apcf, pcf0, gs0], <all paths>

Additional information

Used terms: alsf, lsf0, q, apcf, pcf0, gs0

Proof step 3 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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))

A spec-lemma

Proof step 4 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), q ≠ content(gs0.qrl, gs0.ps) ∨ (∃ tid. ¬(absls(gs0, lsf0(tid), pcf0(tid), alsf(tid)) ∧ abspc(gs0, lsf0(tid), pcf0(tid)) = apcf(tid))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), q ≠ content(gs0.qrl, gs0.ps) ∨ ¬ absls(gs0, lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(gs0, lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:elim-mkgs, seq:⊦ ( ( ( ( ( ( ( ( ( ( (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), subst:[qrl, ps, phead, vrvHp, vretRefs, vhead, vtail, gs, owns, rvowns, orl, prvHp, pretRefs, vs] → [qrl, ps, phead, vrvHp, vretRefs, vhead, vhead0, gs0, owns, rvowns, orl, prvHp, pretRefs, vs]

Additional information

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, gs0, owns, rvowns, orl, prvHp, pretRefs, vs

Proof step 6 from proof fwsim-step-abstau (previous step) (back to tree)

gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), q ≠ content(qrl, ps) ∨ ¬ absls(gs0, lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(gs0, lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 7 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(mkgs(q), alsf, apcf)), q ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abs-def, seq:⊦ 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)), subst:[alsf, lsf, q, apcf, pcf, gs] → [alsf, lsf, q, apcf, pcf, gs], <all paths>

Additional information

Used terms: alsf, lsf, q, apcf, pcf, gs

Proof step 8 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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))

A spec-lemma

Proof step 9 from proof fwsim-step-abstau (previous step) (back to tree)

q = content(gs.qrl, gs.ps), ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), ∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid), q ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 10 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), ∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid), content(gs.qrl, gs.ps) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:elim-mkgs, seq:⊦ ( ( ( ( ( ( ( ( ( ( (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), subst:[qrl, ps, phead, vrvHp, vretRefs, vhead, vtail, gs, owns, rvowns, orl, prvHp, pretRefs, vs] → [qrl0, ps0, phead0, vrvHp0, vretRefs0, vhead1, vhead2, gs, owns0, rvowns0, orl0, prvHp0, pretRefs0, vs0]

Additional information

Used simplifier rules: ⊦ ( ( ( ( ( ( ( ( ( ((ps = gs.ps ∧ vs = gs.vs) ∧ phead = gs.phead) ∧ vhead = gs.vhead) ∧ vtail = gs.vtail) ∧ vretRefs = gs.vretRefs) ∧ pretRefs = gs.pretRefs) ∧ vrvHp = gs.vrvHp) ∧ prvHp = gs.prvHp) ∧ qrl = gs.qrl) ∧ orl = gs.orl) ∧ owns = gs.owns) ∧ rvowns = gs.rvowns ↔ gs = mkgs (ps, vs, phead, vhead, vtail, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns); (elim) Used terms: qrl0, ps0, phead0, vrvHp0, vretRefs0, vhead1, vtail, gs, owns0, rvowns0, orl0, prvHp0, pretRefs0, vs0

Proof step 11 from proof fwsim-step-abstau (previous step) (back to tree)

gs = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), ren(ca) = τ, DMSQInv(gs, lsf, pcf), DMSQstep(mkstate(gs, lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), ∀ tid. absls(gs, lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(gs, lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 12 from proof fwsim-step-abstau (previous step) (back to tree)

ren(ca) = τ, DMSQInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 4 terms: tid abort: F discard: F computed: T

Additional information

Used terms: tid

Proof step 13 from proof fwsim-step-abstau (previous step) (back to tree)

abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ren(ca) = τ, DMSQInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQInv, seq:⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid))), subst:[gs, lsf, pcf] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf

Proof step 14 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ DMSQInv(gs, lsf, pcf) ↔ DMSQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(gs, lsf(tid), pcf(tid)))

A spec-lemma

Proof step 15 from proof fwsim-step-abstau (previous step) (back to tree)

abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: tid abort: F discard: F computed: T

Additional information

Used terms: tid

Proof step 16 from proof fwsim-step-abstau (previous step) (back to tree)

lsf(tid).tid = tid, abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:elim-mkls, seq:⊦ ( ( ( ( ( ( ( ( ( ( (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), subst:[value, nxt, optval0, node, nd, ls, addr, tid, lst, first, rvref, othertid, success, optval] → [val, vhead5, optval0, vhead3, nd, lsf(tid), addr, tid0, vhead4, vhead6, rvref, tid1, obsEmpty, optval]

Additional information

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(tid), addr, tid0, lst, first, rvref, othertid, success, optval

Proof step 17 from proof fwsim-step-abstau (previous step) (back to tree)

abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, tid0 = tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 18 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), DMSQstep (mkstate(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf, pcf), ca, mkstate(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0, pcf0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQstep, seq:⊦ 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), subst:[lsf, a, gs0, pcf, gs, lsf0, pcf0] → [lsf, ca, mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), pcf, mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf0, pcf0], <all paths>

Additional information

Used terms: lsf, ca, mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), pcf, mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf0, pcf0

Proof step 19 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 20 from proof fwsim-step-abstau (previous step) (back to tree)

(∃ tid, ls, pc. lstep(gs1, lsf1(tid), pcf1(tid), ca0, gs0, ls, pc) ∧ lsf2 = lsf1(tid; ls) ∧ pcf2 = pcf1(tid; pc)) ∨ ca0 = globalFLUSHHEAD ∧ gs0 = gs1.phead:= gs1.vhead ∧ lsf2 = lsf1 ∧ pcf2 = pcf1 ∨ (∃ r. ca0 = globalFLUSHVAL(r) ∧ (r ∈ gs1.vs ∧ r ∈ gs1.ps ∧ r ≠ null) ∧ gs0 = gs1.ps:= gs1.ps[r, gs1.ps[r].val:= gs1.vs[r].val] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca0 = (r = (gs1.orl + gs1.qrl).last ∧ gs1.vs[r].next ≠ null ⊃ doEnq(gs1.owns(gs1.vs[r].next).tid);τ) ∧ (r ∈ gs1.vs ∧ r ∈ gs1.ps ∧ r ≠ null) ∧ gs0 = ( (gs1.ps:= gs1.ps[r, gs1.ps[r].next:= gs1.vs[r].next]) .qrl:= (r = (gs1.orl + gs1.qrl).last ∧ gs1.vs[r].next ≠ null ⊃ gs1.qrl + gs1.vs[r].next;gs1.qrl)) .owns:= (r = (gs1.orl + gs1.qrl).last ∧ gs1.vs[r].next ≠ null ⊃ gs1.owns(gs1.vs[r].next; None);gs1.owns) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ r. ca0 = (gs1.qrl ≠ [] ∧ r = gs1.qrl.head ∧ gs1.vs[r].deqID ≠ None ⊃ doDeq(gs1.vs[r].deqID.tid);τ) ∧ (r ∈ gs1.vs ∧ r ∈ gs1.ps ∧ r ≠ null) ∧ gs0 = ( (gs1.ps:= gs1.ps[r, gs1.ps[r].deqID:= gs1.vs[r].deqID]) .orl:= (gs1.qrl ≠ [] ∧ r = gs1.qrl.head ∧ gs1.vs[r].deqID ≠ None ⊃ gs1.orl + gs1.qrl.head;gs1.orl)) .qrl:= (gs1.qrl ≠ [] ∧ r = gs1.qrl.head ∧ gs1.vs[r].deqID ≠ None ⊃ gs1.qrl.tail;gs1.qrl) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ tid. ca0 = τ ∧ gs0 = gs1.pretRefs:= gs1.pretRefs(tid; gs1.vretRefs(tid)) ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ (∃ rvref. ca0 = τ ∧ (rvref ∈ gs1.vrvHp ∧ rvref ∈ gs1.prvHp ∧ rvref ≠ null) ∧ gs0 = gs1.prvHp:= gs1.prvHp[rvref, gs1.vrvHp[rvref]] ∧ lsf2 = lsf1 ∧ pcf2 = pcf1) ∨ ca0 = globalCRASH ∧ ⟨ps := gs1.ps, phead := gs1.phead, pretRefs := gs1.pretRefs, prvHp := gs1.prvHp, vs := gs1.vs, vhead := gs1.vhead, vtail := gs1.vtail, vretRefs := gs1.vretRefs, vrvHp := gs1.vrvHp, owns := gs1.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf1); gs1 := (((((gs1.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs1 ∧ lsf2 = lsf1 ∧ pcf2 = pcf1), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca0 = ca, gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf1 = lsf, lsf2 = lsf0, pcf1 = pcf, pcf2 = pcf0, ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (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:= vretRefs2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs2, vrvHp, vrvHp0, qrl, qrl0, owns, 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) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl:= qrl1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl1, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl:= qrl2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl2, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ x + a = x + a '; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns:= owns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns0, rvowns); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .phead:= phead2 = mkgs (ps, ps0, phead2, 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) .vhead = phead0; (s)

Proof step 21 from proof fwsim-step-abstau (previous step) (back to tree)

lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ ca = globalFLUSHHEAD ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalFLUSHVAL(vtail0) ∧ vtail0 ∈ vs0 ∧ vtail0 ∈ ps0 ∧ vtail0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ doEnq(owns0(vs0[(orl0 + qrl0).last].next).tid);τ) ∧ vtail1 ∈ vs0 ∧ vtail1 ∈ ps0 ∧ vtail1 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ qrl0 + vs0[(orl0 + qrl0).last].next ';qrl0), orl0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ owns0(vs0[(orl0 + qrl0).last].next; None);owns0), rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ doDeq(vs0[qrl0.head].deqID.tid);τ) ∧ vtail2 ∈ vs0 ∧ vtail2 ∈ ps0 ∧ vtail2 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ qrl0.tail;qrl0), (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ orl0 + qrl0.head ';orl0), owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ rvref0 ∈ vrvHp0 ∧ rvref0 ∈ prvHp0 ∧ rvref0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalCRASH ∧ ⟨ps := gs1.ps, phead := gs1.phead, pretRefs := gs1.pretRefs, prvHp := gs1.prvHp, vs := gs1.vs, vhead := gs1.vhead, vtail := gs1.vtail, vretRefs := gs1.vretRefs, vrvHp := gs1.vrvHp, owns := gs1.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs1 := (((((gs1.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs1 ∧ lsf0 = lsf ∧ pcf0 = pcf), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ca = τ

Additional information

Used formulas: ca = τ

Proof step 22 from proof fwsim-step-abstau (previous step) (back to tree)

lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ ca = globalFLUSHHEAD ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalFLUSHVAL(vtail0) ∧ vtail0 ∈ vs0 ∧ vtail0 ∈ ps0 ∧ vtail0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ doEnq(owns0(vs0[(orl0 + qrl0).last].next).tid);τ) ∧ vtail1 ∈ vs0 ∧ vtail1 ∈ ps0 ∧ vtail1 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ qrl0 + vs0[(orl0 + qrl0).last].next ';qrl0), orl0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ owns0(vs0[(orl0 + qrl0).last].next; None);owns0), rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ doDeq(vs0[qrl0.head].deqID.tid);τ) ∧ vtail2 ∈ vs0 ∧ vtail2 ∈ ps0 ∧ vtail2 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ qrl0.tail;qrl0), (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ orl0 + qrl0.head ';orl0), owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ rvref0 ∈ vrvHp0 ∧ rvref0 ∈ prvHp0 ∧ rvref0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalCRASH ∧ ⟨ps := gs1.ps, phead := gs1.phead, pretRefs := gs1.pretRefs, prvHp := gs1.prvHp, vs := gs1.vs, vhead := gs1.vhead, vtail := gs1.vtail, vretRefs := gs1.vretRefs, vrvHp := gs1.vrvHp, owns := gs1.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs1 := (((((gs1.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs1 ∧ lsf0 = lsf ∧ pcf0 = pcf), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca = τ, gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ globalCRASH ≠ τ; (s) ⊦ doDeq(tid) ≠ τ; (s) ⊦ doEnq(tid) ≠ τ; (s) ⊦ globalFLUSHVAL(node) ≠ τ; (s) ⊦ globalFLUSHHEAD ≠ τ; (s) ⊦ ren(τ) = τ; (s)

Proof step 23 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ (vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null) ∧ vtail1 ∈ vs0 ∧ vtail1 ∈ ps0 ∧ vtail1 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ (qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None) ∧ vtail2 ∈ vs0 ∧ vtail2 ∈ ps0 ∧ vtail2 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ rvref0 ∈ vrvHp0 ∧ rvref0 ∈ prvHp0 ∧ rvref0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf, content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 8

Additional information

Proof step 24 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf(tid0; ls), pcf0 = pcf(tid0; pc), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 25 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid))) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:lstep, seq:⊦ 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), subst:[a, ls0, pc0, pc, gs0, ls, gs] → [τ, ls, pc, pcf(tid0), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: τ, ls, pc, pcf(tid0), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 26 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 27 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ls = lstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), pc = pcstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid))) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 28 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) )) ≠ apcf(tid) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid0 = tid

Additional information

Used formulas: tid0 = tid

Proof step 29 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid0 = tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) )) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 30 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ)) ≠ apcf(tid) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:fwsim-tau-sametid, seq:DMSQGInv(gs), DMSQLInv(gs, ls, pc), pre(gs, ls, pc, τ), absls(gs, ls, pc, als) ⊦ content(gstepf(gs, ls, pc, τ).qrl, gstepf(gs, ls, pc, τ).ps) = content(gs.qrl, gs.ps) ∧ abspc (gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ)) = abspc(gs, ls, pc) ∧ absls (gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ), als), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)]

Additional information

Used simplifier rules: ⊦ 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 = ps; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 31 from proof fwsim-step-abstau (previous step) (back to tree)

DMSQGInv(gs), DMSQLInv(gs, ls, pc), pre(gs, ls, pc, τ), absls(gs, ls, pc, als) ⊦ content(gstepf(gs, ls, pc, τ).qrl, gstepf(gs, ls, pc, τ).ps) = content(gs.qrl, gs.ps) ∧ abspc(gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ)) = abspc(gs, ls, pc) ∧ absls(gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ), als)

Lemma fwsim-tau-sametid

Proof step 32 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), τ) ;pcf(tid) )) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 33 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 9 terms: tid0 abort: F discard: T computed: F

Additional information

Used terms: tid0

Proof step 34 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: tid0 abort: F discard: T computed: T

Additional information

Used terms: tid0

Proof step 35 from proof fwsim-step-abstau (previous step) (back to tree)

lsf(tid0).tid = tid0, abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:elim-mkls, seq:⊦ ( ( ( ( ( ( ( ( ( ( (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), subst:[value, nxt, optval0, node, nd, ls, addr, tid, lst, first, rvref, othertid, success, optval] → [val0, vhead9, optval2, vhead7, nd0, lsf(tid0), addr0, tid2, vhead8, vhead10, rvref0, tid3, obsEmpty0, optval1]

Additional information

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(tid0), addr0, tid2, lst, first, rvref0, othertid, success, optval1

Proof step 36 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf(tid0) = mkls(tid2, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), tid2 = tid0, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), τ), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 37 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)) = apcf(tid0), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid0) = mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:fwsim-tau-othertid, seq:DMSQGInv(gs), DMSQLInv(gs, ls, pc), DMSQLInv(gs, ls0, pc0), ls.tid ≠ ls0.tid, absls(gs, ls0, pc0, als), pre(gs, ls, pc, τ) ⊦ abspc(gstepf(gs, ls, pc, τ), ls0, pc0) = abspc(gs, ls0, pc0) ∧ absls(gstepf(gs, ls, pc, τ), ls0, pc0, als), subst:[ls0, pc0, pc, als, ls, gs] → [mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), pcf(tid0), alsf(tid), mkls (tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)]

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) Used terms: mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), pcf(tid0), alsf(tid), mkls (tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 38 from proof fwsim-step-abstau (previous step) (back to tree)

DMSQGInv(gs), DMSQLInv(gs, ls, pc), DMSQLInv(gs, ls0, pc0), ls.tid ≠ ls0.tid, absls(gs, ls0, pc0, als), pre(gs, ls, pc, τ) ⊦ abspc(gstepf(gs, ls, pc, τ), ls0, pc0) = abspc(gs, ls0, pc0) ∧ absls(gstepf(gs, ls, pc, τ), ls0, pc0, als)

Lemma fwsim-tau-othertid

Proof step 39 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)) = apcf(tid0), abspc (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf(tid0) = mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)), absls (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 15

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s)

Proof step 40 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)) = apcf(tid0), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid0) = mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), content(qrl0, ps0) ≠ content(qrl, ps), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)), absls (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:fwsim-tau-sametid, seq:DMSQGInv(gs), DMSQLInv(gs, ls, pc), pre(gs, ls, pc, τ), absls(gs, ls, pc, als) ⊦ content(gstepf(gs, ls, pc, τ).qrl, gstepf(gs, ls, pc, τ).ps) = content(gs.qrl, gs.ps) ∧ abspc (gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ)) = abspc(gs, ls, pc) ∧ absls (gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ), als), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)]

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ 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 = ps; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)

Proof step 41 from proof fwsim-step-abstau (previous step) (back to tree)

DMSQGInv(gs), DMSQLInv(gs, ls, pc), pre(gs, ls, pc, τ), absls(gs, ls, pc, als) ⊦ content(gstepf(gs, ls, pc, τ).qrl, gstepf(gs, ls, pc, τ).ps) = content(gs.qrl, gs.ps) ∧ abspc(gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ)) = abspc(gs, ls, pc) ∧ absls(gstepf(gs, ls, pc, τ), lstepf(gs, ls, pc, τ), pcstepf(gs, ls, pc, τ), als)

Lemma fwsim-tau-sametid

Proof step 42 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)) = apcf(tid0), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid0) = mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0)), absls (gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), alsf(tid0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val0, optval1, vhead7, nd0, obsEmpty0, vhead8, vhead9, rvref0, optval2, vhead10, tid3, addr0), pcf(tid0), τ) ⊦

User applied rule subst equation

And closed the goal!

Rule argument

pos: left 3, flags: rotate, discard

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) .success ↔ success; (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) .vtail = phead1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s)

Proof step 43 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), pcf0 = pcf, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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)

Proof step 44 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next] = ps0

Additional information

Used formulas: ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next] = ps0

Proof step 45 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next] ≠ ps0, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:Extension, seq: ⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a]), subst:[st1, st2] → [ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], ps0], <all paths>

Additional information

Used terms: ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], ps0

Proof step 46 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a])

A spec-lemma

Proof step 47 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∃ vtail. ¬((vtail ∈ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next] ↔ vtail ∈ ps0) ∧ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next][vtail] = ps0[vtail]), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ st[b, d] ↔ a = b ∨ a ∈ st; (ws)

Proof step 48 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∧ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next][vtail] = ps0[vtail]

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, ps0[vtail1].next:= vs0[vtail1].next, vtail], <all paths>

Additional information

Used simplifier rules: ⊦ a ≠ b → (a ∈ st[b, d] ↔ a ∈ st); (s) Used terms: ps0, vtail1, ps0[vtail1].next:= vs0[vtail1].next, vtail

Proof step 49 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 50 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail = vtail1, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∧ ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next][vtail] = ps0[vtail]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ a ∈ st[a, d]; (s)

Proof step 51 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail1].next:= vs0[vtail1].next ≠ ps0[vtail1], vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next]) ∨ ¬ absls (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule unfold

And obtained the following new goals

Rule argument

term: ps0[vtail1].next:= vs0[vtail1].next

Additional information

Proof step 52 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], nxt0 = vs0[vtail1].next, mk(val0, opttid, nxt0) ≠ ps0[vtail1], vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, nxt0)]) ∨ ¬ absls (mkgs(ps0[vtail1, mk(val0, opttid, nxt0)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0[vtail1, mk(val0, opttid, nxt0)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt) = mk(val0, opttid0, nxt0) ↔ val = val0 ∧ opttid = opttid0 ∧ nxt = nxt0; (ws)

Proof step 53 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: vtail1 ∈ orl0 + qrl0

Additional information

Used formulas: vtail1 ∈ orl0 + qrl0

Proof step 54 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, vtail1 ∈ orl0 + qrl0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 55 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 56 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 57 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vtail1 ∈ ps0, vtail1 ∈ vs0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 58 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix, seq:⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns)), subst:[ps, rl, owns, r, vs] → [ps0, orl0 + qrl0, owns0, vtail1, vs0]

Additional information

Used terms: ps0, orl0 + qrl0, owns0, vtail1, vs0

Proof step 59 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns))

A spec-lemma

Proof step 60 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ vtail1 ∈ orl0 + qrl0 → (∃ rl1, rl2. orl0 + qrl0 = rl1 + vtail1 ' + rl2 ∧ listp(vtail1 ' + rl2, vs0, ps0, owns0)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 61 from proof fwsim-step-abstau (previous step) (back to tree)

orl0 + qrl0 = qrl + vtail1 ' + qrl1, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), listp(vtail1 ' + qrl1, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mk(val, opttid, nxt).next = nxt; (s)

Proof step 62 from proof fwsim-step-abstau (previous step) (back to tree)

orl0 + qrl0 = qrl + vtail1 ' + qrl1, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], qrl1 = [], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vtail1 ' + qrl1, vs0, ps0, owns0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ mk(val, opttid, nxt).next = nxt; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) ⊦ x + [] = x; (s)

Proof step 63 from proof fwsim-step-abstau (previous step) (back to tree)

orl0 + qrl0 = qrl + vtail1 ', vs0[vs0[vtail1].next].deqID = None, vs0[vs0[vtail1].next].next = null, ps0[vs0[vtail1].next] = vs0[vs0[vtail1].next], abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(vs0[vtail1].val, opttid, null) = ps0[vtail1], owns0(vtail1) = None, vs0[vtail1].next ≠ null, orl0 ≠ [], vtail1 ≠ null, vtail1 ≠ (orl0 + qrl0).last, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), weak?(owns0(vs0[vtail1].next)), phead0 ∈ orl0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vs0[vtail1].next ∈ vs0, vs0[vtail1].next ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ weak?(vs0[vtail1].deqID), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), opttid = vs0[vtail1].deqID ∨ opttid = None, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(vs0[vtail1].val, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(vs0[vtail1].val, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(vs0[vtail1].val, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail1 ∈ orl0 ∨ vtail1 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:splitlasteq, seq:y ≠ [] ⊦ x + a ' = y ↔ x = y.butlast ∧ a = y.last, subst:[y, x, a] → [orl0 + qrl0, qrl, vtail1], <all paths>

Additional information

Used simplifier rules: ⊦ x + y = [] ↔ x = [] ∧ y = []; (as) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: orl0 + qrl0, qrl, vtail1

Proof step 64 from proof fwsim-step-abstau (previous step) (back to tree)

y ≠ [] ⊦ x + a ' = y ↔ x = y.butlast ∧ a = y.last

A spec-lemma

Proof step 65 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0 + qrl0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)]) ∨ ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 66 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 67 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-equal, seq:⊦ 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 ) ) ) ) ) ), subst:[ls0, pc, gs0, ls, gs] → [mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 68 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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) ) ) ) ) )

A spec-lemma

Proof step 69 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ (pcf(tid) = E4 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = E10 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = E11 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = D6 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = D20 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;(pcf(tid) = D21 ⊃ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;true ) ) ) ) ) ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)

Proof step 70 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 71 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 72 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s)

Proof step 73 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], tid = alsf(tid).tid, vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val2, val1, obsEmpty0, alsf(tid), optval1, tid0, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid0, optval1

Proof step 74 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], tid = tid0, vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail1 ∈ vs0, vtail1 ∈ ps0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val1, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval1 = vrvHp0[vretRefs0(tid)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 75 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ absls (mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)], <all paths>

Additional information

Used terms: mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)

Proof step 76 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 77 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail1 ∈ vs0, vtail1 ∈ ps0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).tid ∧ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).ival) ∧ ( (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).obsEmpty) ∧ ( pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).oval = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∧ ( pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid0) = D34 → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).oval = mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vrvHp [mkgs (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ])) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ 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)

Proof step 78 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, vtail1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail1 ∈ ps0, vtail1 ∈ vs0, ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 79 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 80 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vtail1 ∈ vs0, vtail1 ∈ ps0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 81 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead2], <all paths>

Additional information

Used terms: ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead2

Proof step 82 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 83 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vhead2 = vtail1, vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 84 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, ¬ ( 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ vs0[vtail1].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null ;(pcf(tid0) = E11 ⊃ vhead4 = vtail1 → (vs0[vtail1].next = null ↔ nxt = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 39

Additional information

Proof step 85 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(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 ∧ (obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ vs0[vtail1].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 86 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], 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, val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ vs0[vtail1].next = null ⊦ pcf(tid0) = E4 ∧ ¬ obsEmpty, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null), pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 51

Additional information

Proof step 87 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E10, vs0[vtail1].next ≠ nxt, orl0 ≠ [], 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, val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null), pcf(tid0) = E4 ∧ ¬ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ 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)

Proof step 88 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[vtail1].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, true, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E10, null ≠ nxt, orl0 ≠ [], val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E10), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E10], <all paths>

Additional information

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) .owns = owns; (s) ⊦ D1 ≠ E10; (s) ⊦ D2 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ D4 ≠ E10; (s) ⊦ D34 ≠ E10; (s) ⊦ E10 ≠ E17; (s) ⊦ E10 ≠ crashed; (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) ⊦ E10 ≠ idle; (s) ⊦ E10 ≠ ready; (s) ⊦ E1 ≠ 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) .vhead = phead0; (s) ⊦ D5 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D21 ≠ E10; (s) ⊦ D22 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D20 ≠ E10; (s) ⊦ D13 ≠ E10; (s) ⊦ D14 ≠ E10; (s) ⊦ D15 ≠ E10; (s) ⊦ D7 ≠ E10; (s) ⊦ D8 ≠ E10; (s) ⊦ D9 ≠ E10; (s) ⊦ D10 ≠ E10; (s) ⊦ D11 ≠ E10; (s) ⊦ D12 ≠ E10; (s) ⊦ D16 ≠ E10; (s) ⊦ D17 ≠ E10; (s) ⊦ D18 ≠ E10; (s) ⊦ D19 ≠ E10; (s) ⊦ D25 ≠ E10; (s) ⊦ D26 ≠ E10; (s) ⊦ D27 ≠ E10; (s) ⊦ D28 ≠ E10; (s) ⊦ D29 ≠ E10; (s) ⊦ D30 ≠ E10; (s) ⊦ D31 ≠ E10; (s) ⊦ D32 ≠ E10; (s) ⊦ D33 ≠ E10; (s) ⊦ E4 ≠ E10; (s) ⊦ E2 ≠ E10; (s) ⊦ E3 ≠ E10; (s) ⊦ E5 ≠ E10; (s) ⊦ E6 ≠ E10; (s) ⊦ E7 ≠ E10; (s) ⊦ E8 ≠ E10; (s) ⊦ E9 ≠ 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) .lst = node0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E10

Proof step 89 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 90 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[vtail1].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E11, vhead4 = vtail1, vs0[vtail1].next ≠ nxt, orl0 ≠ [], 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, val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null), pcf(tid0) = E4 ∧ ¬ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ E4 ≠ E11; (s) ⊦ E10 ≠ 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) ⊦ E1 ≠ E11; (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 ≠ E15; (s) ⊦ E11 ≠ E16; (s)

Proof step 91 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[vtail1].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E11, null ≠ nxt, orl0 ≠ [], val ≠ val1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11], <all paths>

Additional information

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) .owns = owns; (s) ⊦ D1 ≠ E11; (s) ⊦ D2 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ D4 ≠ E11; (s) ⊦ D34 ≠ E11; (s) ⊦ E11 ≠ E17; (s) ⊦ E11 ≠ crashed; (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) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E1 ≠ 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) .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) .lst = node0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11

Proof step 92 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 93 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 94 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ⊦ pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 40

Additional information

Proof step 95 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], obsEmpty, pcf(tid0) = D20, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 96 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead5].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20

Proof step 97 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 98 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead5].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = D6 → ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D20 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D12 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), D20 = D13 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D14 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D15 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D19 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), D20 = D21 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), D20 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D25 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D26 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D27 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D29 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D30 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D31 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D34 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D20 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E10 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D20 = E11 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D20 = E12 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D20 = E10 → (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D20 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D20 = E4 → (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ D3 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D19 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 99 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, ps0[vhead6].next ≠ null, vs0[vtail1].next ≠ nxt, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, vtail1 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-list-c, seq:x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y, subst:[x, a, y] → [qrl0, nxt0, orl]

Additional information

Used simplifier rules: ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) ⊦ r ∈ rl from r0 → r ∈ rl; (ss) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl0, nxt0, y

Proof step 100 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + orl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, ps0[vhead6].next ≠ null, vs0[vtail1].next ≠ nxt, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, vtail1 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(orl, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) 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) ⊦ a ∈ b ' + x ↔ a = b ∨ 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)

Proof step 101 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, vs0[vtail1].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ nxt0, vtail1 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, vtail1 ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail1 ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (nxt0 ' + orl).last ∨ vs0[(nxt0 ' + orl).last].next = null, vtail1 = (nxt0 ' + orl).last ∨ vtail1 = (orl0 + (nxt0 ' + orl).butlast).last ∧ vs0[(nxt0 ' + orl).last].deqID = None ∧ vs0[(nxt0 ' + orl).last].next = null, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:bapp, seq: ⊦ y ≠ [] → (x + y).butlast = x + y.butlast, subst:[x, y] → [nxt0 ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) Used terms: nxt0 ', orl

Proof step 102 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).butlast = x + y.butlast

A spec-lemma

Proof step 103 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, vs0[vtail1].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ nxt0, vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, vtail1 ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail1 ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vtail1 = (nxt0 ' + orl).last ∨ vtail1 = (orl0 + nxt0 ' + orl.butlast).last ∧ vs0[(nxt0 ' + orl).last].deqID = None ∧ vs0[(nxt0 ' + orl).last].next = null, vtail1 ≠ (nxt0 ' + orl).last ∨ vs0[(nxt0 ' + orl).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s)

Proof step 104 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[orl.last].deqID = None, ps0[nxt0].deqID = None, ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl.butlast).last], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl.butlast).last, mk(val0, opttid, vs0[(nxt0 ' + orl.butlast).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl.butlast).last ≠ orl.last, (nxt0 ' + orl.butlast).last ≠ nxt0, (nxt0 ' + orl.butlast).last ≠ null, vs0[(nxt0 ' + orl.butlast).last].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (nxt0 ' + orl.butlast).last ∈ ps0, (nxt0 ' + orl.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, (nxt0 ' + orl.butlast).last ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ (nxt0 ' + orl.butlast).last ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ (nxt0 ' + orl.butlast).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 105 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, vs0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl1).last], orl = orl1 + phead ', pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl1).last, mk(val0, opttid, vs0[(nxt0 ' + orl1).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl1).last ≠ phead, (nxt0 ' + orl1).last ≠ nxt0, (nxt0 ' + orl1).last ≠ null, vs0[(nxt0 ' + orl1).last].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, (nxt0 ' + orl1).last ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, (nxt0 ' + orl1).last ∈ vs0, (nxt0 ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ (nxt0 ' + orl1).last ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ (nxt0 ' + orl1).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ 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)

Proof step 106 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, vs0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl1).last], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl1).last, mk(val0, opttid, vs0[(nxt0 ' + orl1).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl1).last ≠ null, (nxt0 ' + orl1).last ≠ nxt0, (nxt0 ' + orl1).last ≠ phead, ps0[vhead6].next ≠ null, vs0[(nxt0 ' + orl1).last].next ≠ nxt, nxt0 ≠ phead, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead4 ≠ nxt0, vhead4 ≠ phead, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl1 + phead ', ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, (nxt0 ' + orl1).last ∈ orl0 + nxt0 ' + orl1 + phead ' from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, (nxt0 ' + orl1).last ∈ vs0, (nxt0 ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl1), ¬ dups(orl0), ¬ dups(orl0 + orl1), ¬ nxt0 ∈ orl1, ¬ nxt0 ∈ orl0, ¬ (nxt0 ' + orl1).last ∈ orl1, ¬ phead ∈ orl0, ¬ phead ∈ orl1, ¬ (nxt0 ' + orl1).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl1, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ orl1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: nxt0 ', orl1

Proof step 107 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 108 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 109 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead5].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21

Proof step 110 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 111 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead5].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None, vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D21 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), D21 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), D21 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), D21 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D21 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D21 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D21 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D21 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D21 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D21 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 112 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, ps0[vhead6].next ≠ null, vs0[vtail1].next ≠ nxt, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, vtail1 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-list-c, seq:x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y, subst:[x, a, y] → [qrl0, nxt0, orl]

Additional information

Used simplifier rules: ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) ⊦ r ∈ rl from r0 → r ∈ rl; (ss) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl0, nxt0, y

Proof step 113 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + orl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, ps0[vhead6].next ≠ null, vs0[vtail1].next ≠ nxt, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, vtail1 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(orl, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) 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) ⊦ a ∈ b ' + x ↔ a = b ∨ 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)

Proof step 114 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, vs0[vtail1].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ nxt0, vtail1 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, vtail1 ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail1 ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (nxt0 ' + orl).last ∨ vs0[(nxt0 ' + orl).last].next = null, vtail1 = (nxt0 ' + orl).last ∨ vtail1 = (orl0 + (nxt0 ' + orl).butlast).last ∧ vs0[(nxt0 ' + orl).last].deqID = None ∧ vs0[(nxt0 ' + orl).last].next = null, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:bapp, seq: ⊦ y ≠ [] → (x + y).butlast = x + y.butlast, subst:[x, y] → [nxt0 ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) Used terms: nxt0 ', orl

Proof step 115 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).butlast = x + y.butlast

A spec-lemma

Proof step 116 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][ps0[vhead6].next].deqID ≠ None, vs0[vtail1].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, vtail1 ≠ nxt0, vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, vtail1 ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail1 ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ vtail1 ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vtail1 = (nxt0 ' + orl).last ∨ vtail1 = (orl0 + nxt0 ' + orl.butlast).last ∧ vs0[(nxt0 ' + orl).last].deqID = None ∧ vs0[(nxt0 ' + orl).last].next = null, vtail1 ≠ (nxt0 ' + orl).last ∨ vs0[(nxt0 ' + orl).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s)

Proof step 117 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[orl.last].deqID = None, ps0[nxt0].deqID = None, ps0[ps0[vhead6].next].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl.butlast).last], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl.butlast).last, mk(val0, opttid, vs0[(nxt0 ' + orl.butlast).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl.butlast).last ≠ orl.last, (nxt0 ' + orl.butlast).last ≠ nxt0, (nxt0 ' + orl.butlast).last ≠ null, vs0[(nxt0 ' + orl.butlast).last].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (nxt0 ' + orl.butlast).last ∈ ps0, (nxt0 ' + orl.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, (nxt0 ' + orl.butlast).last ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ (nxt0 ' + orl.butlast).last ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ (nxt0 ' + orl.butlast).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 118 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, vs0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl1).last], orl = orl1 + phead ', pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl1).last, mk(val0, opttid, vs0[(nxt0 ' + orl1).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl1).last ≠ phead, (nxt0 ' + orl1).last ≠ nxt0, (nxt0 ' + orl1).last ≠ null, vs0[(nxt0 ' + orl1).last].next ≠ nxt, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, (nxt0 ' + orl1).last ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, (nxt0 ' + orl1).last ∈ vs0, (nxt0 ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ (nxt0 ' + orl1).last ∈ orl, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, ¬ (nxt0 ' + orl1).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ 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)

Proof step 119 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), ps0[ps0[vhead6].next].deqID = None, ps0[nxt0].deqID = None, vs0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[(nxt0 ' + orl1).last], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[(nxt0 ' + orl1).last, mk(val0, opttid, vs0[(nxt0 ' + orl1).last].next)][ps0[vhead6].next].deqID ≠ None, (nxt0 ' + orl1).last ≠ null, (nxt0 ' + orl1).last ≠ nxt0, (nxt0 ' + orl1).last ≠ phead, ps0[vhead6].next ≠ null, vs0[(nxt0 ' + orl1).last].next ≠ nxt, nxt0 ≠ phead, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead4 ≠ nxt0, vhead4 ≠ phead, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl1 + phead ', ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, (nxt0 ' + orl1).last ∈ orl0 + nxt0 ' + orl1 + phead ' from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, (nxt0 ' + orl1).last ∈ vs0, (nxt0 ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl1), ¬ dups(orl0), ¬ dups(orl0 + orl1), ¬ nxt0 ∈ orl1, ¬ nxt0 ∈ orl0, ¬ (nxt0 ' + orl1).last ∈ orl1, ¬ phead ∈ orl0, ¬ phead ∈ orl1, ¬ (nxt0 ' + orl1).last ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, (nxt0 ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl1, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ orl1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: nxt0 ', orl1

Proof step 120 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 121 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null ;(pcf(tid0) = E11 ⊃ vhead4 = vtail1 → (vs0[vtail1].next = null ↔ nxt = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 122 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null ;(pcf(tid0) = E11 ⊃ vhead4 = vtail1 → (vs0[vtail1].next = null ↔ nxt = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 123 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E10, vs0[vtail1].next ≠ nxt, ¬(obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null), orl0 ≠ [], pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ E10 ≠ E16; (s) ⊦ E10 ≠ E15; (s) ⊦ E10 ≠ E14; (s) ⊦ E10 ≠ E13; (s) ⊦ E10 ≠ E11; (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) ⊦ E4 ≠ E10; (s)

Proof step 124 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E10, vs0[vtail1].next ≠ nxt, ¬(obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null), orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E10), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), (obsEmpty → vhead4 = vtail1 ∧ nxt = null) → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E10], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E10

Proof step 125 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 126 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E10, vs0[vtail1].next ≠ nxt, ¬(obsEmpty → vhead4 = vtail1 ∧ vs0[vtail1].next = null ↔ obsEmpty → vhead4 = vtail1 ∧ nxt = null), orl0 ≠ [], vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, (obsEmpty → vhead4 = vtail1 ∧ nxt = null) → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E10 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E10 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E10 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, E10 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, E10 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E10 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E10 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), E10 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E10 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E10 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, E10 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E10 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E10 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E10 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E10 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), E10 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), E10 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E10 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E10 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E10 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E10 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E10 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E10 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E10 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E10 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E10 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E10 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E10 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), E10 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E10 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E10 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E10 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), E10 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), E10 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, E10 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E10 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E10 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, E10 = E4 ∨ E10 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], E10 = E3 ∨ E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), E10 = E5 ∨ E10 = E6 ∨ E10 = E7 ∨ E10 = E8 ∨ E10 = E9 ∨ E10 = E13 ∨ E10 = E14 ∨ E10 = E15 ∨ E10 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E10 = D13 ∨ E10 = D14 ∨ E10 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E10 = D27 ∨ E10 = D28 ∨ E10 = D29 ∨ E10 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E10 = D20 ∨ E10 = D21 ∨ E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E10 = D22 ∨ E10 = D23 ∨ E10 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), E10 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), E10 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), E10 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).next = nxt; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ 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) ⊦ 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 ↔ 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) ⊦ 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)

Proof step 127 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + qrl0.butlast).last], owns0(vs0[(orl0 + qrl0.butlast).last].next) = Weak(tid0), pcf(tid0) = E10, (orl0 + qrl0.butlast).last ≠ null, (orl0 + qrl0.butlast).last ≠ qrl0.last, null ≠ vs0[(orl0 + qrl0.butlast).last].next, orl0 ≠ [], qrl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + qrl0.butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (orl0 + qrl0.butlast).last ∈ vs0, (orl0 + qrl0.butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ (orl0 + qrl0.butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, vhead, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 128 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + qrl0.butlast).last], owns0(vs0[(orl0 + qrl0.butlast).last].next) = Weak(tid0), pcf(tid0) = E10, qrl0 = vhead + orl, (orl0 + qrl0.butlast).last ≠ null, (orl0 + qrl0.butlast).last ≠ qrl0.last, null ≠ vs0[(orl0 + qrl0.butlast).last].next, orl0 ≠ [], qrl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + qrl0.butlast).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, (orl0 + qrl0.butlast).last ∈ ps0, (orl0 + qrl0.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ (orl0 + qrl0.butlast).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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 ∈ 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 ≠ []; (s)

Proof step 129 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[(vhead ' + orl).last].deqID = None, ps0[vhead].deqID = None, vs0[(vhead ' + orl).last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval, vs0[(orl0 + (vhead ' + orl).butlast).last].next, nd, true, (orl0 + (vhead ' + orl).butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval, vs0[(orl0 + (vhead ' + orl).butlast).last].next, nd, true, (orl0 + (vhead ' + orl).butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + (vhead ' + orl).butlast).last], owns0(vs0[(orl0 + (vhead ' + orl).butlast).last].next) = Weak(tid0), pcf(tid0) = E10, (orl0 + (vhead ' + orl).butlast).last ≠ null, (orl0 + (vhead ' + orl).butlast).last ≠ (vhead ' + orl).last, (orl0 + (vhead ' + orl).butlast).last ≠ vhead, null ≠ vs0[(orl0 + (vhead ' + orl).butlast).last].next, orl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + (vhead ' + orl).butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (orl0 + (vhead ' + orl).butlast).last ∈ vs0, (orl0 + (vhead ' + orl).butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (orl0 + (vhead ' + orl).butlast).last ∈ orl, ¬ (orl0 + (vhead ' + orl).butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs (ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:bapp, seq: ⊦ y ≠ [] → (x + y).butlast = x + y.butlast, subst:[x, y] → [vhead ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s) Used terms: vhead ', orl

Proof step 130 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).butlast = x + y.butlast

A spec-lemma

Proof step 131 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[(vhead ' + orl).last].deqID = None, vs0[(vhead ' + orl).last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval, vs0[(orl0 + vhead ' + orl.butlast).last].next, nd, true, (orl0 + vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval, vs0[(orl0 + vhead ' + orl.butlast).last].next, nd, true, (orl0 + vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + vhead ' + orl.butlast).last], owns0(vs0[(orl0 + vhead ' + orl.butlast).last].next) = Weak(tid0), pcf(tid0) = E10, (orl0 + vhead ' + orl.butlast).last ≠ null, (orl0 + vhead ' + orl.butlast).last ≠ (vhead ' + orl).last, (orl0 + vhead ' + orl.butlast).last ≠ vhead, null ≠ vs0[(orl0 + vhead ' + orl.butlast).last].next, orl ≠ [], orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + vhead ' + orl.butlast).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (orl0 + vhead ' + orl.butlast).last ∈ ps0, (orl0 + vhead ' + orl.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (orl0 + vhead ' + orl.butlast).last ∈ orl, ¬ (orl0 + vhead ' + orl.butlast).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ x ≠ [] → (a ' + x).last = x.last; (s)

Proof step 132 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[orl.last].deqID = None, vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval, vs0[(vhead ' + orl.butlast).last].next, nd, true, (vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval, vs0[(vhead ' + orl.butlast).last].next, nd, true, (vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl.butlast).last], owns0(vs0[(vhead ' + orl.butlast).last].next) = Weak(tid0), pcf(tid0) = E10, (vhead ' + orl.butlast).last ≠ null, (vhead ' + orl.butlast).last ≠ orl.last, (vhead ' + orl.butlast).last ≠ vhead, null ≠ vs0[(vhead ' + orl.butlast).last].next, orl ≠ [], orl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl.butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (vhead ' + orl.butlast).last ∈ vs0, (vhead ' + orl.butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (vhead ' + orl.butlast).last ∈ orl, ¬ (vhead ' + orl.butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 133 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[phead].deqID = None, ps0[vhead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl1).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl1).last], orl = orl1 + phead ', owns0(vs0[(vhead ' + orl1).last].next) = Weak(tid0), pcf(tid0) = E10, (vhead ' + orl1).last ≠ null, (vhead ' + orl1).last ≠ phead, (vhead ' + orl1).last ≠ vhead, null ≠ vs0[(vhead ' + orl1).last].next, orl ≠ [], orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl1).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (vhead ' + orl1).last ∈ ps0, (vhead ' + orl1).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (vhead ' + orl1).last ∈ orl, ¬ (vhead ' + orl1).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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] ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ x + a ' ≠ []; (s)

Proof step 134 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[phead].deqID = None, ps0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), E10) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl1).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl1).last], owns0(vs0[(vhead ' + orl1).last].next) = Weak(tid0), pcf(tid0) = E10, (vhead ' + orl1).last ≠ null, (vhead ' + orl1).last ≠ phead, (vhead ' + orl1).last ≠ vhead, null ≠ vs0[(vhead ' + orl1).last].next, orl0 ≠ [], vhead ≠ phead, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl1 + phead ', vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl1).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (vhead ' + orl1).last ∈ vs0, (vhead ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl1), ¬ dups(orl0), ¬ dups(orl1), ¬ (vhead ' + orl1).last ∈ orl0, ¬ phead ∈ orl0, ¬ phead ∈ orl1, ¬ vhead ∈ orl1, ¬ vhead ∈ orl0, ¬ (vhead ' + orl1).last ∈ orl1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl1, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [vhead ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: vhead ', orl1

Proof step 135 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 136 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, 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 ∧ (obsEmpty → vhead4 = vtail1 ∧ nxt = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = E11 ⊃ vhead4 = vtail1 → (vs0[vtail1].next = null ↔ nxt = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 137 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(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) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦ (pcf(tid0) = E11 ⊃ vhead4 = vtail1 → (vs0[vtail1].next = null ↔ nxt = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) )

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 138 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E11, vhead4 = vtail1, vs0[vtail1].next ≠ nxt, ¬(vs0[vtail1].next = null ↔ nxt = null), orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, 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 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ E11 ≠ E16; (s) ⊦ E11 ≠ E15; (s) ⊦ E11 ≠ E14; (s) ⊦ E11 ≠ E13; (s) ⊦ E9 ≠ E11; (s) ⊦ E8 ≠ E11; (s) ⊦ E7 ≠ E11; (s) ⊦ E6 ≠ E11; (s) ⊦ E5 ≠ E11; (s) ⊦ E3 ≠ E11; (s) ⊦ E2 ≠ E11; (s) ⊦ E1 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ E4 ≠ E11; (s)

Proof step 139 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E11, vs0[vtail1].next ≠ nxt, ¬(vs0[vtail1].next = null ↔ nxt = null), orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), nxt = null → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11

Proof step 140 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 141 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = E11, vs0[vtail1].next ≠ nxt, ¬(vs0[vtail1].next = null ↔ nxt = null), orl0 ≠ [], vtail1 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, nxt = null → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E11 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E11 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E11 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first, E11 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst, E11 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E11 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E11 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), E11 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E11 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E11 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, E11 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E11 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E11 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E11 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E11 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), E11 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first), E11 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E11 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E11 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E11 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E11 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E11 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E11 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E11 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E11 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E11 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E11 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E11 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), E11 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E11 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E11 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E11 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node), E11 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node), E11 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, E11 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E11 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E11 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, E11 = E4 ∨ E11 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ], E11 = E3 ∨ E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), E11 = E5 ∨ E11 = E6 ∨ E11 = E7 ∨ E11 = E8 ∨ E11 = E9 ∨ E11 = E13 ∨ E11 = E14 ∨ E11 = E15 ∨ E11 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E11 = D13 ∨ E11 = D14 ∨ E11 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E11 = D27 ∨ E11 = D28 ∨ E11 = D29 ∨ E11 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E11 = D20 ∨ E11 = D21 ∨ E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E11 = D22 ∨ E11 = D23 ∨ E11 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), E11 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), E11 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), E11 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vtail1, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).next = nxt; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ 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) ⊦ 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) .lst = node0; (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) ⊦ 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) ⊦ E11 ≠ crashed; (s) ⊦ E11 ≠ E17; (s) ⊦ D2 ≠ E11; (s) ⊦ D1 ≠ E11; (s)

Proof step 142 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + qrl0.butlast).last], owns0(vs0[(orl0 + qrl0.butlast).last].next) = Weak(tid0), pcf(tid0) = E11, (orl0 + qrl0.butlast).last ≠ qrl0.last, (orl0 + qrl0.butlast).last ≠ null, vs0[(orl0 + qrl0.butlast).last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + qrl0.butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (orl0 + qrl0.butlast).last ∈ vs0, (orl0 + qrl0.butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ (orl0 + qrl0.butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, vhead, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 143 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + qrl0.butlast).last].next].val, optval, vs0[(orl0 + qrl0.butlast).last].next, nd, true, (orl0 + qrl0.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + qrl0.butlast).last], owns0(vs0[(orl0 + qrl0.butlast).last].next) = Weak(tid0), pcf(tid0) = E11, qrl0 = vhead + orl, (orl0 + qrl0.butlast).last ≠ qrl0.last, (orl0 + qrl0.butlast).last ≠ null, vs0[(orl0 + qrl0.butlast).last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + qrl0.butlast).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, (orl0 + qrl0.butlast).last ∈ ps0, (orl0 + qrl0.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ (orl0 + qrl0.butlast).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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 ∈ 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 ≠ []; (s)

Proof step 144 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[(vhead ' + orl).last].deqID = None, ps0[vhead].deqID = None, vs0[(vhead ' + orl).last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval, vs0[(orl0 + (vhead ' + orl).butlast).last].next, nd, true, (orl0 + (vhead ' + orl).butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + (vhead ' + orl).butlast).last].next].val, optval, vs0[(orl0 + (vhead ' + orl).butlast).last].next, nd, true, (orl0 + (vhead ' + orl).butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + (vhead ' + orl).butlast).last], owns0(vs0[(orl0 + (vhead ' + orl).butlast).last].next) = Weak(tid0), pcf(tid0) = E11, (orl0 + (vhead ' + orl).butlast).last ≠ (vhead ' + orl).last, (orl0 + (vhead ' + orl).butlast).last ≠ null, (orl0 + (vhead ' + orl).butlast).last ≠ vhead, vs0[(orl0 + (vhead ' + orl).butlast).last].next ≠ null, orl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + (vhead ' + orl).butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (orl0 + (vhead ' + orl).butlast).last ∈ vs0, (orl0 + (vhead ' + orl).butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (orl0 + (vhead ' + orl).butlast).last ∈ orl, ¬ (orl0 + (vhead ' + orl).butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs (ps0, vs0, phead0, vhead1, (orl0 + (vhead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:bapp, seq: ⊦ y ≠ [] → (x + y).butlast = x + y.butlast, subst:[x, y] → [vhead ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s) Used terms: vhead ', orl

Proof step 145 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).butlast = x + y.butlast

A spec-lemma

Proof step 146 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[(vhead ' + orl).last].deqID = None, vs0[(vhead ' + orl).last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval, vs0[(orl0 + vhead ' + orl.butlast).last].next, nd, true, (orl0 + vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(orl0 + vhead ' + orl.butlast).last].next].val, optval, vs0[(orl0 + vhead ' + orl.butlast).last].next, nd, true, (orl0 + vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(orl0 + vhead ' + orl.butlast).last], owns0(vs0[(orl0 + vhead ' + orl.butlast).last].next) = Weak(tid0), pcf(tid0) = E11, (orl0 + vhead ' + orl.butlast).last ≠ (vhead ' + orl).last, (orl0 + vhead ' + orl.butlast).last ≠ null, (orl0 + vhead ' + orl.butlast).last ≠ vhead, vs0[(orl0 + vhead ' + orl.butlast).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(orl0 + vhead ' + orl.butlast).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (orl0 + vhead ' + orl.butlast).last ∈ ps0, (orl0 + vhead ' + orl.butlast).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (orl0 + vhead ' + orl.butlast).last ∈ orl, ¬ (orl0 + vhead ' + orl.butlast).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ x ≠ [] → (a ' + x).last = x.last; (s)

Proof step 147 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[orl.last].deqID = None, vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval, vs0[(vhead ' + orl.butlast).last].next, nd, true, (vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl.butlast).last].next].val, optval, vs0[(vhead ' + orl.butlast).last].next, nd, true, (vhead ' + orl.butlast).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl.butlast).last], owns0(vs0[(vhead ' + orl.butlast).last].next) = Weak(tid0), pcf(tid0) = E11, (vhead ' + orl.butlast).last ≠ orl.last, (vhead ' + orl.butlast).last ≠ null, (vhead ' + orl.butlast).last ≠ vhead, vs0[(vhead ' + orl.butlast).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl.butlast).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (vhead ' + orl.butlast).last ∈ vs0, (vhead ' + orl.butlast).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (vhead ' + orl.butlast).last ∈ orl, ¬ (vhead ' + orl.butlast).last ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 148 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[phead].deqID = None, ps0[vhead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl1).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl1).last], orl = orl1 + phead ', owns0(vs0[(vhead ' + orl1).last].next) = Weak(tid0), pcf(tid0) = E11, (vhead ' + orl1).last ≠ phead, (vhead ' + orl1).last ≠ null, (vhead ' + orl1).last ≠ vhead, vs0[(vhead ' + orl1).last].next ≠ null, orl ≠ [], orl0 ≠ [], allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vhead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl, vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl, vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl1).last].next, owns0, vs0, ps0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, (vhead ' + orl1).last ∈ ps0, (vhead ' + orl1).last ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead ∈ orl, ¬ vhead ∈ orl0, ¬ (vhead ' + orl1).last ∈ orl, ¬ (vhead ' + orl1).last ∈ 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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] ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ x + a ' ≠ []; (s)

Proof step 149 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vhead].deqID = None, vs0[phead].deqID = None, ps0[phead].deqID = None, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), E11) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, vs0[vs0[(vhead ' + orl1).last].next].val, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, vs0[vs0[(vhead ' + orl1).last].next].val, optval, vs0[(vhead ' + orl1).last].next, nd, true, (vhead ' + orl1).last, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, null) = ps0[(vhead ' + orl1).last], owns0(vs0[(vhead ' + orl1).last].next) = Weak(tid0), pcf(tid0) = E11, (vhead ' + orl1).last ≠ phead, (vhead ' + orl1).last ≠ null, (vhead ' + orl1).last ≠ vhead, vs0[(vhead ' + orl1).last].next ≠ null, orl0 ≠ [], vhead ≠ phead, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vhead ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + vhead ' + orl1 + phead ', vhead1, vs0), nonullRetRefs(orl0 + vhead ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), oneweakowns(tid0, vs0[(vhead ' + orl1).last].next, owns0, vs0, ps0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), phead0 ∈ ps0, phead0 ∈ vs0, (vhead ' + orl1).last ∈ vs0, (vhead ' + orl1).last ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + orl1), ¬ dups(orl0), ¬ dups(orl1), ¬ (vhead ' + orl1).last ∈ orl0, ¬ phead ∈ orl0, ¬ phead ∈ orl1, ¬ vhead ∈ orl1, ¬ vhead ∈ orl0, ¬ (vhead ' + orl1).last ∈ orl1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (vhead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vhead ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vhead].deqID = None ∧ unmarkedp(orl1, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [vhead ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: vhead ', orl1

Proof step 150 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 151 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ orl0, 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 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 152 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D20, vs0[vtail1].next ≠ nxt, ¬(obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None), orl0 ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(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) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5

Proof step 153 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 154 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, vs0[vtail1].next ≠ nxt, ¬(ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None), orl0 ≠ [], pcf(tid0) ≠ D20, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail1 ∈ qrl0, ¬ vtail1 ∈ 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) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(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) = E11 ∧ vhead4 = vtail1 ∧ nxt = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E4; (s)

Proof step 155 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], pcf(tid0) = D21, vs0[vtail1].next ≠ nxt, ¬(ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None), orl0 ≠ [], vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), ps0[vhead5].deqID ≠ None → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail1, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail1 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail1 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5

Proof step 156 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 157 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vhead2 ≠ vtail1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 158 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], vhead2 ≠ vtail1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail1 ∈ ps0, vtail1 ∈ vs0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 40

Additional information

Proof step 159 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, optval1 ≠ optval, orl0 ≠ [], vhead2 ≠ vtail1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5

Proof step 160 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 161 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail1], vs0[vtail1].next ≠ nxt, orl0 ≠ [], pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vhead2 ≠ vtail1, vtail1 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail1 ∈ vs0, vtail1 ∈ ps0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail1 ∈ orl0, ¬ vtail1 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail1 ≠ (orl0 + qrl0).last ∨ vs0[(orl0 + qrl0).last].next = null ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail1, mk(val0, opttid, vs0[vtail1].next)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail1, mk(val0, opttid, vs0[vtail1].next), vhead5

Proof step 162 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 163 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), pcf0 = pcf, vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ content(orl, ps[r, ps[r].deqID:= opttid]) = content(orl, ps); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = 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)

Proof step 164 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID] = ps0

Additional information

Used formulas: ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID] = ps0

Proof step 165 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID] ≠ ps0, vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ ps0, vtail2 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:Extension, seq: ⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a]), subst:[st1, st2] → [ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], ps0], <all paths>

Additional information

Used terms: ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], ps0

Proof step 166 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a])

A spec-lemma

Proof step 167 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∃ vtail. ¬ ((vtail ∈ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID] ↔ vtail ∈ ps0) ∧ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID][vtail] = ps0[vtail]), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ st[b, d] ↔ a = b ∨ a ∈ st; (ws)

Proof step 168 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ ps0, vtail2 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID]) ∧ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID][vtail] = ps0[vtail]

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID, vtail], <all paths>

Additional information

Used simplifier rules: ⊦ a ≠ b → (a ∈ st[b, d] ↔ a ∈ st); (s) Used terms: ps0, vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID, vtail

Proof step 169 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 170 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail = vtail2, vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID]) ∧ ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID][vtail] = ps0[vtail]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ a ∈ st[a, d]; (s)

Proof step 171 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail2].deqID:= vs0[vtail2].deqID ≠ ps0[vtail2], vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ ps0, vtail2 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

User applied rule unfold

And obtained the following new goals

Rule argument

term: ps0[vtail2].deqID:= vs0[vtail2].deqID

Additional information

Proof step 172 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], opttid0 = vs0[vtail2].deqID, mk(val0, opttid0, nxt) ≠ ps0[vtail2], vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, opttid0, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0[vtail2, mk(val0, opttid0, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt) = mk(val0, opttid0, nxt0) ↔ val = val0 ∧ opttid = opttid0 ∧ nxt = nxt0; (ws)

Proof step 173 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, vtail2 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail2 ∈ vs0, vtail2 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 174 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 175 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vtail2 ∈ ps0, vtail2 ∈ vs0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 176 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: vtail2 ∈ orl0

Additional information

Used formulas: vtail2 ∈ orl0

Proof step 177 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, vtail2 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: marked-elem-f: ⊦ markedp(rl, vs) ∧ r ∈ rl ∧ vs[r] = mk(val, opttid, nxt) → opttid ≠ None; (forward) from specification DMSQ 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

Proof step 178 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, opttid ≠ None, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), vtail2 ∈ orl0, phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, vtail2 ∈ vs0, vtail2 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix1, seq:⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)), subst:[ps, rl, owns, r, rl0, vs] → [ps0, orl0, owns0, vtail2, qrl0, vs0]

Additional information

Used terms: ps0, orl0, owns0, vtail2, qrl0, vs0

Proof step 179 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))

A spec-lemma

Proof step 180 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, opttid ≠ None, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, vtail2 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ vtail2 ∈ orl0 → (∃ rl1, rl2. orl0 = rl1 + vtail2 ' + rl2 ∧ listp(vtail2 ' + rl2 + qrl0, vs0, ps0, owns0)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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] ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' + y ≠ []; (s) ⊦ x = y + a ' + z → a ∈ x; (s)

Proof step 181 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, opttid ≠ None, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((qrl + vtail2 ' + qrl1) + qrl0, vs0, ps0, owns0), listp(vtail2 ' + qrl1 + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl1, vs0), markedp(qrl, vs0), markedp(qrl1, ps0), nonullRetRefs((qrl + vtail2 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vtail2].deqID), some?(opttid), unmarkedp(qrl0, ps0), phead0 ∈ vs0, phead0 ∈ ps0, vtail2 ∈ vs0, vtail2 ∈ ps0, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ qrl1, ¬ vtail2 ∈ 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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head, vhead2 = (vtail2 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vtail2 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, (vtail2 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vtail2 ' + qrl1).butlast ≠ [] ∧ (qrl + (vtail2 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vtail2 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), phead0 ∈ qrl ∨ phead0 = vtail2 ∨ phead0 ∈ qrl1, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ x + a ' + y ≠ []; (s) ⊦ (a ' + b ' + x).butlast = a ' + (b ' + x).butlast; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a + x = a ' + x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ some?(opttid) → opttid ≠ None; (as)

Proof step 182 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], qrl1 = [], vs0[vtail2].deqID ≠ opttid, opttid ≠ None, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vtail2 ' + qrl1 + qrl0, vs0, ps0, owns0), listp((qrl + vtail2 ' + qrl1) + qrl0, vs0, ps0, owns0), markedp(qrl1, ps0), markedp(qrl, vs0), markedp(qrl1, vs0), markedp(qrl, ps0), nonullRetRefs((qrl + vtail2 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(opttid), some?(vs0[vtail2].deqID), unmarkedp(qrl0, ps0), vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ qrl1, ¬ vtail2 ∈ 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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ' + qrl1, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), phead0 ∈ qrl ∨ phead0 = vtail2 ∨ phead0 ∈ qrl1, (vtail2 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vtail2 ' + qrl1).butlast ≠ [] ∧ (qrl + (vtail2 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vtail2 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), vhead2 = (vtail2 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vtail2 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ x + [] = x; (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.last = a; (s) ⊦ a '.butlast = []; (s) ⊦ [] + x = x; (s) ⊦ ¬ dups([]); (s) ⊦ markedp([], vs); (s)

Proof step 183 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, opttid ≠ None, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(qrl + vtail2 ' + qrl0, vs0, ps0, owns0), listp(vtail2 ' + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl, vs0), nonullRetRefs(qrl + vtail2 ' + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vtail2].deqID), some?(opttid), unmarkedp(qrl0, ps0), phead0 ∈ vs0, phead0 ∈ ps0, vtail2 ∈ vs0, vtail2 ∈ ps0, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), lsf(tid0), pcf(tid0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), qrl0 = [] ∨ vtail2 ≠ qrl0.head, vhead2 = (vtail2 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vtail2 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail2 = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl ≠ [] ∧ qrl.last = vhead1 ∧ phead0 ≠ vtail2 ∧ unmarkedp(qrl0, vs0), phead0 ∈ qrl ∨ phead0 = vtail2, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vtail2 ', owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule constructor cut

And closed the goal!

Rule argument

var: qrl0

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ (a ' + x).head = a; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a ' + x ≠ []; (s) ⊦ (a ' + x).tail = x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ x + [] = x; (s) ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s)

Proof step 184 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: vtail2 ∈ qrl0

Additional information

Used formulas: vtail2 ∈ qrl0

Proof step 185 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vtail2 ∈ qrl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ ¬ a ∈ []; (s) list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ

Proof step 186 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], qrl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vtail2 ∈ qrl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vs0[qrl0.head].deqID = None ∨ vtail2 ≠ qrl0.head, vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, vtail, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 187 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], qrl0 = vtail + orl, vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], qrl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vtail2 ∈ qrl0, phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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 ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ' + x ≠ []; (s)

Proof step 188 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vtail2 ∈ orl0, ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, vtail2 = vtail ∨ vtail2 ∈ orl, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix, seq:⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns)), subst:[ps, rl, owns, r, vs] → [ps0, vtail ' + orl, owns0, vtail2, vs0]

Additional information

Used terms: ps0, vtail ' + orl, owns0, vtail2, vs0

Proof step 189 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns))

A spec-lemma

Proof step 190 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vtail2 ∈ orl0, ¬ vtail ∈ orl, ¬ vtail ∈ 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), listp(vtail ' + orl, vs0, ps0, owns0) ∧ vtail2 ∈ vtail ' + orl → (∃ rl1, rl2. vtail ' + orl = rl1 + vtail2 ' + rl2 ∧ listp(vtail2 ' + rl2, vs0, ps0, owns0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail2 = vtail ∨ vtail2 ∈ orl, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s)

Proof step 191 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vtail2 ∈ orl0, ¬ vtail ∈ orl, ¬ vtail ∈ 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), listp(vtail ' + orl, vs0, ps0, owns0) → vtail ' + orl = orl1 + vtail2 ' + orl2 ∧ listp(vtail2 ' + orl2, vs0, ps0, owns0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, vtail2 = vtail ∨ vtail2 ∈ orl, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 32

Additional information

Proof step 192 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ listp(vtail ' + orl, vs0, ps0, owns0), ¬ vtail2 ∈ orl0, ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail2 = vtail ∨ vtail2 ∈ orl, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-postfix, seq: ⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ []), subst:[ps, rl, owns, rl0, vs] → [ps0, orl0, owns0, vtail ' + orl, vs0], <all paths>

Additional information

Used simplifier rules: ⊦ x + y = [] ↔ x = [] ∧ y = []; (as) ⊦ a ' ≠ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: ps0, orl0, owns0, vtail ' + orl, vs0

Proof step 193 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) → (listp(rl0, vs, ps, owns) ↔ rl0 ≠ [])

A spec-lemma

Proof step 194 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + vtail2 ' + orl2, ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), listp(vtail2 ' + orl2, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vtail2 ∈ orl0, ¬ vtail ∈ orl, ¬ vtail ∈ 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), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail2 = vtail ∨ vtail2 ∈ orl, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list[reflist]

Proof step 195 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + vtail2 ' + orl2, ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), listp(vtail2 ' + orl2, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail ∈ orl0, ¬ vtail ∈ orl, ¬ vtail2 ∈ 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), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vtail2 = vtail ∨ vtail2 ∈ orl, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, vtail ∈ orl1 ∨ vtail = vtail2 ∨ vtail ∈ orl2 ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: orl2

Additional information

Used simplifier rules: reflist freely generated by [], +;;

Proof step 196 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + vtail2 ' + orl2, ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], orl2 = [], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(vtail2 ' + orl2, vs0, ps0, owns0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail ∈ orl0, ¬ vtail ∈ orl, ¬ vtail2 ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), vtail ∈ orl1 ∨ vtail = vtail2 ∨ vtail ∈ orl2, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, vtail2 = vtail ∨ vtail2 ∈ orl, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ x → a ∈ x + y; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list[reflist] inapp-10: ⊦ a ' + x = y + b ' ∧ a ≠ b → a ∈ y ∧ b ∈ x; (forward) from specification list[reflist] lapp-04: ⊦ a ' + x = y + b ' ∧ a ≠ b → x.last = b; (forward) from specification list-last[reflist] ⊦ (x + a ').last = a; (s) ⊦ (x + a ').butlast = x; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ ¬ a ∈ []; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) ⊦ x + [] = x; (s)

Proof step 197 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + orl.last ', ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(vs0[orl.last].val, None, null) = ps0[orl.last], owns0(orl.last) = None, vs0[orl.last].deqID ≠ None, orl.last ≠ null, orl.last ≠ vtail, orl ≠ [], orl0 ≠ [], DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vtail ∈ orl1, phead0 ∈ ps0, phead0 ∈ vs0, orl.last ∈ ps0, orl.last ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ weak?(vs0[orl.last].deqID), ¬ vtail ∈ orl0, ¬ vtail ∈ orl, ¬ orl.last ∈ 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), vs0[orl.last].next ≠ null → vs0[orl.last].next ∈ vs0 ∧ vs0[orl.last].next ∈ ps0 ∧ ps0[vs0[orl.last].next] = vs0[vs0[orl.last].next] ∧ ps0[vs0[orl.last].next].deqID = None ∧ ps0[vs0[orl.last].next].next = null ∧ weak?(owns0(vs0[orl.last].next)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), ¬ absls (mkgs (ps0[orl.last, mk(vs0[orl.last].val, vs0[orl.last].deqID, null)], vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[orl.last, mk(vs0[orl.last].val, vs0[orl.last].deqID, null)], vs0, phead0, vhead1, orl.last, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, vhead, orl2]

Additional information

Used simplifier rules: ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) ⊦ x + a ' ≠ []; (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, vhead, y

Proof step 198 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + vtail2 ' + orl2, ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], orl2 = vtail0 + orl3, vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(vtail2 ' + orl2, vs0, ps0, owns0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ vtail ∈ orl0, ¬ vtail ∈ orl, ¬ vtail2 ∈ 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), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), vtail ∈ orl1 ∨ vtail = vtail2 ∨ vtail ∈ orl2, vs0[vtail].deqID = None ∨ vtail2 ≠ vtail, vtail2 = vtail ∨ vtail2 ∈ orl, ¬ absls (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (vtail ' + orl).last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[(vtail ' + orl).last].deqID = None ∧ vs0[(vtail ' + orl).last].next = null, orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ ¬ a ∈ y → (y + c ' + z = a ' + z0 ↔ y = [] ∧ c = a ∧ z = z0); (ws) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list[reflist] ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ x + a ' ≠ []; (s) ⊦ ¬ a ∈ x → (a ' + x = y + a ' + z ↔ y = [] ∧ z = x); (ws) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s)

Proof step 199 from proof fwsim-step-abstau (previous step) (back to tree)

vtail ' + orl = orl1 + vtail2 ' + vs0[vtail2].next ' + orl3, ps0[vtail].deqID = None, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(vs0[vtail2].val, None, vs0[vtail2].next) = ps0[vtail2], owns0(vtail2) = None, vs0[vtail2].deqID ≠ None, orl0 ≠ [], vtail ≠ vs0[vtail2].next, vtail2 ≠ null, vtail2 ≠ vtail, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + vtail ' + orl, vs0, ps0, owns0), listp(vs0[vtail2].next ' + orl3, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + vtail ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, vtail ∈ orl1, vtail2 ∈ orl, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ weak?(vs0[vtail2].deqID), ¬ vtail ∈ orl0, ¬ vtail ∈ orl, ¬ vtail2 ∈ 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), ∀ tid0. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), alsf(tid0)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)) = apcf(tid0), ∀ tid0. lsf(tid0).tid = tid0 ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[vtail].deqID = None ∧ unmarkedp(orl, vs0), ¬ absls (mkgs (ps0[vtail2, mk(vs0[vtail2].val, vs0[vtail2].deqID, vs0[vtail2].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(vs0[vtail2].val, vs0[vtail2].deqID, vs0[vtail2].next)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, vtail ' + orl, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = orl.last ∨ vhead2 = (orl0 + (vtail ' + orl).butlast).last ∧ vs0[orl.last].deqID = None ∧ vs0[orl.last].next = null ⊦

User applied rule constructor cut

And closed the goal!

Rule argument

var: orl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ a ' + x = b ' + y ↔ a = b ∧ x = y; (ws) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ a ∈ x ∧ ¬ a ∈ y → (dups(x + a ' + y) ↔ dups(x + y)); (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ (a ' + b ' + x).butlast = a ' + (b ' + x).butlast; (s) ⊦ (a ' + x + b ' + y).last = (b ' + y).last; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ [] + x = x; (s)

Proof step 200 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 201 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ 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)

Proof step 202 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), ¬ absls (mkgs(ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 203 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 204 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vrvHp [mkgs (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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, 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, 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) .vtail = phead1; (s)

Proof step 205 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), tid ≠ alsf(tid).tid ∨ ¬ ( 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 → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val2, val1, obsEmpty0, alsf(tid), optval1, tid0, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid0, optval1

Proof step 206 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ ¬ ( 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 → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val1) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬ ( pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval1 = vrvHp0[vretRefs0(tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 207 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), tid ≠ tid0 ∨ ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬((pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬(pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)]) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid0, obsEmpty0, val1, optval1, val2, optval2)

Proof step 208 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 209 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).tid, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → mkls(tid0, obsEmpty0, val1, optval1, val2, optval2).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), tid ≠ tid0 ∨ ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬((pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬(pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)]) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 210 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, ¬ ( 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 39

Additional information

Proof step 211 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], val ≠ val1, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 212 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], 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, val ≠ val1, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ⊦ pcf(tid0) = E4 ∧ ¬ obsEmpty, pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null), pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead2], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).next = nxt; (s) Used terms: ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead2

Proof step 213 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 214 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 215 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ⊦ pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5], <all paths>

Additional information

Used terms: ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5

Proof step 216 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 217 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vhead5 = vtail2, vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID ≠ None, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 218 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D20 ∧ obsEmpty ∧ vs0[vtail2].deqID ≠ None ∨ pcf(tid0) = D21 ∧ vs0[vtail2].deqID ≠ None, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ pcf(tid0) = D21 ∧ opttid ≠ None, pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 36

Additional information

Proof step 219 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], obsEmpty, pcf(tid0) = D20, vs0[vtail2].deqID ≠ None, vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None, pcf(tid0) = D21 ∧ opttid ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ D22; (s)

Proof step 220 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ None, optval1 ≠ optval, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), qrl0 = [] ∨ vtail2 ≠ qrl0.head, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20

Proof step 221 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 222 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ None, optval1 ≠ optval, orl0 ≠ [], vtail2 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D6 → ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D12 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D20 = D13 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D14 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D15 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D19 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D20 = D21 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D20 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D25 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D26 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D27 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D29 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D30 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D31 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D34 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D20 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E10 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E11 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E12 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D20 = E10 → (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D20 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D20 = E4 → (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, true, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ vtail2 ≠ qrl0.head ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ None ≠ Some(tid); (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) ⊦ 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) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 223 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl0, nxt0, orl]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl0, nxt0, y

Proof step 224 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], orl0 = orl + nxt0 ', pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)

Proof step 225 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ nxt0, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl + nxt0 ' from vhead6, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ nxt0 ∈ orl, ¬ nxt0 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, vhead6 ∈ orl ∨ vhead6 = nxt0, phead0 ∈ orl ∨ phead0 = nxt0, vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix1, seq:⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)), subst:[ps, rl, owns, r, rl0, vs] → [ps0, orl + nxt0 ', owns0, vhead6, qrl0, vs0]

Additional information

Used terms: ps0, orl + nxt0 ', owns0, vhead6, qrl0, vs0

Proof step 226 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))

A spec-lemma

Proof step 227 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ nxt0, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, ps0), markedp(orl, vs0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vhead6 ∈ orl + nxt0 ' from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ nxt0 ∈ orl, ¬ nxt0 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0) ∧ vhead6 ∈ orl + nxt0 ' → (∃ rl1, rl2. orl + nxt0 ' = rl1 + vhead6 ' + rl2 ∧ listp(vhead6 ' + rl2 + qrl0, vs0, ps0, owns0)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 ∈ orl ∨ phead0 = nxt0, vhead6 ∈ orl ∨ vhead6 = nxt0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ a ∈ b ' ↔ a = b; (s)

Proof step 228 from proof fwsim-step-abstau (previous step) (back to tree)

orl + nxt0 ' = qrl + vhead6 ' + qrl1, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, ps0), markedp(orl, vs0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vhead6 ∈ orl + nxt0 ' from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ qrl0, ¬ nxt0 ∈ qrl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 ∈ orl ∨ phead0 = nxt0, vhead6 ∈ orl ∨ vhead6 = nxt0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, nxt0 ∈ qrl ∨ nxt0 = vhead6 ∨ nxt0 ∈ qrl1 ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ ¬ c ∈ y ∧ c ≠ b → y + b ' ≠ y0 + c ' + z; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist]

Proof step 229 from proof fwsim-step-abstau (previous step) (back to tree)

orl + nxt0 ' = qrl + vhead6 ' + qrl1, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), qrl1 = [], rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl + nxt0 ' from vhead6, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ qrl0, ¬ nxt0 ∈ qrl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), nxt0 ∈ qrl ∨ nxt0 = vhead6 ∨ nxt0 ∈ qrl1, vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, vhead6 ∈ orl ∨ vhead6 = nxt0, phead0 ∈ orl ∨ phead0 = nxt0, vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ ¬ a ∈ []; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ [] + x = x; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws) ⊦ x + [] = x; (s)

Proof step 230 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ qrl0.head, optval1 ≠ Val(vs0[ps0[vhead6].next].val), qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(vhead6 ' + qrl0, vs0, ps0, owns0), listp((orl + vhead6 ') + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + vhead6 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + vhead6 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vhead6].deqID), some?(ps0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead2 ∈ (orl + vhead6 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vhead4 ∈ qrl0, vhead4 ∈ vs0, vhead4 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead6 ∈ orl, ¬ vhead6 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), phead0 ∈ orl ∨ phead0 = vhead6, vhead2 = qrl0.last ∨ vhead2 = (vhead6 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, unmarkedp(qrl0.tail, vs0) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ orl.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, orl0]

Additional information

Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl0

Proof step 231 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ None, vs0[vtail2].deqID ≠ opttid, optval1 ≠ optval, orl0 ≠ [], pcf(tid0) ≠ D22, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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 ∧ ¬ obsEmpty ∨ pcf(tid0) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None, pcf(tid0) = D21 ∧ opttid ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s)

Proof step 232 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ None, optval1 ≠ optval, orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), qrl0 = [] ∨ vtail2 ≠ qrl0.head, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21

Proof step 233 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 234 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ None, optval1 ≠ optval, orl0 ≠ [], vtail2 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D21 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D21 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D21 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D21 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D21 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D21 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D21 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ vtail2 ≠ qrl0.head ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ None ≠ Some(tid); (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 235 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl0, nxt0, orl]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl0, nxt0, y

Proof step 236 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], orl0 = orl + nxt0 ', pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), orl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)

Proof step 237 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ nxt0, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ nxt0 ∈ orl, ¬ nxt0 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, vhead6 ∈ orl ∨ vhead6 = nxt0, phead0 ∈ orl ∨ phead0 = nxt0, vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix1, seq:⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)), subst:[ps, rl, owns, r, rl0, vs] → [ps0, orl + nxt0 ', owns0, vhead6, qrl0, vs0]

Additional information

Used terms: ps0, orl + nxt0 ', owns0, vhead6, qrl0, vs0

Proof step 238 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))

A spec-lemma

Proof step 239 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ nxt0, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, ps0), markedp(orl, vs0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ nxt0 ∈ orl, ¬ nxt0 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0) ∧ vhead6 ∈ orl + nxt0 ' → (∃ rl1, rl2. orl + nxt0 ' = rl1 + vhead6 ' + rl2 ∧ listp(vhead6 ' + rl2 + qrl0, vs0, ps0, owns0)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 ∈ orl ∨ phead0 = nxt0, vhead6 ∈ orl ∨ vhead6 = nxt0, vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ a ∈ b ' ↔ a = b; (s)

Proof step 240 from proof fwsim-step-abstau (previous step) (back to tree)

orl + nxt0 ' = qrl + vhead6 ' + qrl1, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), markedp(orl, ps0), markedp(orl, vs0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ qrl0, ¬ nxt0 ∈ qrl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 ∈ orl ∨ phead0 = nxt0, vhead6 ∈ orl ∨ vhead6 = nxt0, vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), nxt0 ∈ qrl ∨ nxt0 = vhead6 ∨ nxt0 ∈ qrl1 ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist] ⊦ ¬ c ∈ y ∧ c ≠ b → y + b ' ≠ y0 + c ' + z; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist]

Proof step 241 from proof fwsim-step-abstau (previous step) (back to tree)

orl + nxt0 ' = qrl + vhead6 ' + qrl1, vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), qrl1 = [], rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ null, optval1 ≠ Val(vs0[ps0[vhead6].next].val), vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((orl + nxt0 ') + qrl0, vs0, ps0, owns0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + nxt0 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + nxt0 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead2 ∈ (orl + nxt0 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl), ¬ dups(orl + qrl0), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ qrl0, ¬ nxt0 ∈ qrl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + nxt0 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), nxt0 ∈ qrl ∨ nxt0 = vhead6 ∨ nxt0 ∈ qrl1, nxt0 = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ nxt0 ∧ unmarkedp(qrl0, vs0), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head, vhead4 ∈ orl + nxt0 ' from vhead6 ∨ vhead4 ∈ qrl0, vhead6 ∈ orl ∨ vhead6 = nxt0, phead0 ∈ orl ∨ phead0 = nxt0, vhead2 = (nxt0 ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (nxt0 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) ⊦ [] + x = x; (s) ⊦ x + a ' = y + b ' ↔ x = y ∧ a = b; (ws)

Proof step 242 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ qrl0.head, optval1 ≠ Val(vs0[ps0[vhead6].next].val), qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(vhead6 ' + qrl0, vs0, ps0, owns0), listp((orl + vhead6 ') + qrl0, vs0, ps0, owns0), markedp(orl, vs0), markedp(orl, ps0), noid(tid0, (orl + vhead6 ') + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((orl + vhead6 ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vhead6].deqID), some?(ps0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead2 ∈ (orl + vhead6 ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vhead4 ∈ qrl0, vhead4 ∈ vs0, vhead4 ∈ ps0, ¬ dups(orl + qrl0), ¬ dups(orl), ¬ dups(qrl0), ¬ vhead6 ∈ orl, ¬ vhead6 ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), phead0 ∈ orl ∨ phead0 = vhead6, vhead2 = qrl0.last ∨ vhead2 = (vhead6 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, unmarkedp(qrl0.tail, vs0) ∨ orl ≠ [] ∧ orl.last = vhead6 ∧ phead0 ≠ orl.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, orl0]

Additional information

Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl0

Proof step 243 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 244 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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) = E5 ∨ pcf(tid0) = E6 ∨ pcf(tid0) = E7 ∨ pcf(tid0) = E8 ∨ pcf(tid0) = E9 ∨ pcf(tid0) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead2], <all paths>

Additional information

Used terms: ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead2

Proof step 245 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 246 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vhead2 = vtail2, vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 247 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5], <all paths>

Additional information

Used terms: ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5

Proof step 248 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 249 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vhead5 = vtail2, vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, 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 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 250 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, 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 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = 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) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None;pcf(tid0) = D21 → (vs0[vtail2].deqID = None ↔ opttid = None))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 251 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E4; (s)

Proof step 252 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), obsEmpty ∧ opttid ≠ None → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20

Proof step 253 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 254 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], vtail2 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, obsEmpty ∧ opttid ≠ None → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D20 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D20 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D20 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D20 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D20 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D20 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D20 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ r ∈ rl from r0 → r ∈ rl; (ss) ⊦ ¬ a ∈ []; (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) 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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .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) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 255 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[qrl0.last].deqID = None, ps0[vhead6].next = (orl0 + qrl0.butlast).last, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ qrl0.last, ps0[vhead6].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vs0[qrl0.head].deqID = None ∨ ps0[vhead6].next ≠ qrl0.head, orl0.last = vhead6 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 256 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[qrl0.last].next = null, ps0[vhead6].next = (orl0 + qrl0.butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + orl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ qrl0.last, ps0[vhead6].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vs0[nxt0].deqID = None ∨ ps0[vhead6].next ≠ nxt0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) 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 ∈ b ' + x ↔ a = b ∨ 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 ≠ []; (s)

Proof step 257 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, vs0[(nxt0 ' + orl).last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[(nxt0 ' + orl).last].next = null, ps0[vhead6].next = (orl0 + (nxt0 ' + orl).butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ (nxt0 ' + orl).last, ps0[vhead6].next ≠ null, orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ a '.butlast = []; (s) ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) Used terms: nxt0 ', orl

Proof step 258 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 259 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (orl0 + (nxt0 ' + orl).butlast).last, vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ orl.last, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s)

Proof step 260 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, vs0[orl.last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].next = null, ps0[vhead6].next = (nxt0 ' + orl.butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ orl.last, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 261 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[phead].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (nxt0 ' + orl1).last, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], orl = orl1 + phead ', pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ phead, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ 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)

Proof step 262 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[phead].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (nxt0 ' + orl1).last, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ phead, ps0[vhead6].next ≠ nxt0, nxt0 ≠ phead, orl0 ≠ [], vhead4 ≠ nxt0, vhead4 ≠ phead, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl1 + phead ', ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl1 + phead ' from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl1), ¬ dups(orl0), ¬ dups(orl0 + orl1), ¬ nxt0 ∈ orl1, ¬ nxt0 ∈ orl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ orl1, ¬ phead ∈ orl0, ¬ phead ∈ orl1, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead6 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl1, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ orl1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: nxt0 ', orl1

Proof step 263 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 264 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], pcf(tid0) ≠ D20, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E4; (s)

Proof step 265 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ 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), opttid ≠ None → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21

Proof step 266 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 267 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], vtail2 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, opttid ≠ None → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D9 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D10 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D11 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D21 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D21 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D21 = D22 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D23 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E3 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E5 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E6 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D21 = E7 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E8 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E9 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E14 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D21 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D21 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D21 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vtail2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vtail2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vtail2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ r ∈ rl from r0 → r ∈ rl; (ss) ⊦ ¬ a ∈ []; (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 268 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[qrl0.last].deqID = None, ps0[vhead6].next = (orl0 + qrl0.butlast).last, vs0[qrl0.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ qrl0.last, ps0[vhead6].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vs0[qrl0.head].deqID = None ∨ ps0[vhead6].next ≠ qrl0.head, orl0.last = vhead6 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 269 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[qrl0.last].next = null, ps0[vhead6].next = (orl0 + qrl0.butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + orl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ qrl0.last, ps0[vhead6].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vs0[nxt0].deqID = None ∨ ps0[vhead6].next ≠ nxt0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (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 ≠ []; (s)

Proof step 270 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, vs0[(nxt0 ' + orl).last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[(nxt0 ' + orl).last].next = null, ps0[vhead6].next = (orl0 + (nxt0 ' + orl).butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ (nxt0 ' + orl).last, ps0[vhead6].next ≠ null, orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ a '.butlast = []; (s) ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) Used terms: nxt0 ', orl

Proof step 271 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 272 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (orl0 + (nxt0 ' + orl).butlast).last, vs0[orl.last].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ orl.last, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s)

Proof step 273 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[nxt0].deqID = None, vs0[orl.last].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[orl.last].next = null, ps0[vhead6].next = (nxt0 ' + orl.butlast).last, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ orl.last, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vretRefs0(tid0) ∈ vrvHp0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, phead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, phead, y

Proof step 274 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[phead].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (nxt0 ' + orl1).last, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], orl = orl1 + phead ', pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ nxt0, ps0[vhead6].next ≠ phead, ps0[vhead6].next ≠ null, orl ≠ [], orl0 ≠ [], vhead4 ≠ nxt0, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl), ¬ dups(orl0), ¬ dups(orl0 + orl), ¬ ps0[vhead6].next ∈ orl, ¬ ps0[vhead6].next ∈ orl0, ¬ nxt0 ∈ orl0, ¬ nxt0 ∈ orl, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl ∨ vhead4 ∈ orl0 from vhead6, orl0.last = vhead6 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ r ' from r0 = (r = r0 ⊃ r ';[]); (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ 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)

Proof step 275 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[ps0[vhead6].next].deqID = Some(tid0), vs0[phead].deqID = None, ps0[nxt0].deqID = None, ps0[vhead6].next = (nxt0 ' + orl1).last, vs0[phead].next = null, abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ phead, ps0[vhead6].next ≠ nxt0, nxt0 ≠ phead, orl0 ≠ [], vhead4 ≠ nxt0, vhead4 ≠ phead, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + orl1 + phead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + orl1 + phead ', ps0[vhead6].next, vs0), nonullRetRefs(orl0 + nxt0 ' + orl1 + phead ', vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, ps0[vhead6].next ∈ orl0 + nxt0 ' + orl1 + phead ' from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, ¬ dups(orl1), ¬ dups(orl0), ¬ dups(orl0 + orl1), ¬ nxt0 ∈ orl1, ¬ nxt0 ∈ orl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ orl1, ¬ phead ∈ orl0, ¬ phead ∈ orl1, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead6, ps0[vhead6].next, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + orl1 + phead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead6 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ vs0[nxt0].deqID = None ∧ unmarkedp(orl1, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ orl1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', orl1], <all paths>

Additional information

Used simplifier rules: ⊦ x.last = a ∧ x ≠ [] → a ∈ x; (s) ⊦ [] + x = x; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a '.last = a; (s) Used terms: nxt0 ', orl1

Proof step 276 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 277 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 278 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5], <all paths>

Additional information

Used terms: ps0, vtail2, mk(val0, vs0[vtail2].deqID, nxt), vhead5

Proof step 279 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 280 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vhead5 = vtail2, vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E4, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, 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 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = 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) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail2, mk(val0, vs0[vtail2].deqID, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt).deqID = opttid; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 281 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], vs0[vtail2].deqID ≠ opttid, orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, 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 → val = val1, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = 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) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None;pcf(tid0) = D21 → (vs0[vtail2].deqID = None ↔ opttid = None))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 282 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E11; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E4; (s)

Proof step 283 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), obsEmpty ∧ opttid ≠ None → optval1 = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20

Proof step 284 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 285 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D20, vs0[vtail2].deqID ≠ opttid, ¬(obsEmpty → vs0[vtail2].deqID = None ↔ obsEmpty → opttid = None), orl0 ≠ [], vhead2 ≠ vtail2, vtail2 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, obsEmpty ∧ opttid ≠ None → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D20 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D20 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D20 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D20 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D20 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D20 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D20 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D20 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D20 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .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) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 286 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 48

Additional information

Proof step 287 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), orl0.last = vhead6, abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ∈ b ' ↔ a = b; (s) rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s)

Proof step 288 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0.tail, vs0), vhead4 ∈ ps0, vhead4 ∈ vs0, vhead4 ∈ qrl0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.last].next ∈ ps0, ps0[orl0.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, orl0.last ∈ vs0, orl0.last ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl0, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ps0[orl0.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, qrl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, qrl

Proof step 289 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + qrl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, vs0), unmarkedp(qrl0, ps0), orl0.last ∈ ps0, orl0.last ∈ vs0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[orl0.last].next ∈ vs0, ps0[orl0.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vhead4 ∈ qrl0, vhead4 ∈ vs0, vhead4 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl0, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ps0[orl0.last].next ≠ nxt0 ∨ vs0[nxt0].deqID = None, vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ 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) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ' + x ≠ []; (s)

Proof step 290 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), ps0[nxt0].deqID = None, abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, ps0[orl0.last].next ≠ nxt0, orl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + qrl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + qrl, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + nxt0 ' + qrl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps0), unmarkedp(qrl, vs0), vhead4 ∈ ps0, vhead4 ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.last].next ∈ ps0, ps0[orl0.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + nxt0 ' + qrl from vhead4, orl0.last ∈ vs0, orl0.last ∈ ps0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ orl0, ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 = nxt0 ∨ vhead4 ∈ qrl, vhead2 = (nxt0 ' + qrl).last ∨ vhead2 = (orl0 + (nxt0 ' + qrl).butlast).last ∧ vs0[(nxt0 ' + qrl).last].deqID = None ∧ vs0[(nxt0 ' + qrl).last].next = null ⊦

User applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl0, vhead, qrl0]

Additional information

Used simplifier rules: ⊦ x + a ' ≠ []; (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl0, vhead, y

Proof step 291 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), orl0.butlast.last = vhead6, abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), orl0.butlast ≠ [], ps0[vhead6].next ≠ null, orl0 ≠ [], phead0 ≠ orl0.last, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ orl0 from vhead6, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ x ≠ [] → (x.butlast = [] ↔ x = x.head '); (ss)

Proof step 292 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.butlast.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.butlast.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.butlast.last].next].val), orl0.butlast.last ≠ vhead4, ps0[orl0.butlast.last].next ≠ null, orl0 ≠ [], orl0 ≠ orl0.head ', phead0 ≠ orl0.last, vhead2 ≠ ps0[orl0.butlast.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[orl0.butlast.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), orl0.butlast.last ∈ orl0 from orl0.butlast.last, orl0.butlast.last ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[orl0.butlast.last].next ∈ vs0, ps0[orl0.butlast.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, orl0.butlast.last ∈ vs0, orl0.butlast.last ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[orl0.butlast.last].next ∈ qrl0, ¬ ps0[orl0.butlast.last].next ∈ orl0, vs0[orl0.butlast.last].next ≠ null ∧ vs0[vs0[orl0.butlast.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.butlast.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.butlast.last].next].deqID.tid, vs0[vs0[orl0.butlast.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ orl0 from orl0.butlast.last ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[orl0.butlast.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [orl0, nxt0, qrl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: orl0, head, qrl

Proof step 293 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.butlast.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.butlast.last].next], orl0 = nxt0 + qrl, pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.butlast.last].next].val), orl0.butlast.last ≠ vhead4, ps0[orl0.butlast.last].next ≠ null, orl0 ≠ [], orl0 ≠ nxt0 ', phead0 ≠ orl0.last, vhead2 ≠ ps0[orl0.butlast.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[orl0.butlast.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), orl0.butlast.last ∈ ps0, orl0.butlast.last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.butlast.last].next ∈ ps0, ps0[orl0.butlast.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, orl0.butlast.last ∈ orl0, orl0.butlast.last ∈ orl0 from orl0.butlast.last, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[orl0.butlast.last].next ∈ qrl0, ¬ ps0[orl0.butlast.last].next ∈ orl0, vs0[orl0.butlast.last].next ≠ null ∧ vs0[vs0[orl0.butlast.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.butlast.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.butlast.last].next].deqID.tid, vs0[vs0[orl0.butlast.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[orl0.butlast.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ orl0 from orl0.butlast.last ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s) ⊦ a + x = a ' + x; (s) ⊦ y ≠ [] → (x + y + z).last = (y + z).last; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ a ' = b ' + x ↔ a = b ∧ x = []; (ws) ⊦ a ' + x ≠ []; (s)

Proof step 294 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl.butlast).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl.butlast).last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl.butlast).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl.butlast).last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), (nxt0 ' + qrl.butlast).last ≠ vhead4, ps0[(nxt0 ' + qrl.butlast).last].next ≠ null, ps0[(nxt0 ' + qrl.butlast).last].next ≠ nxt0, phead0 ≠ qrl.last, qrl ≠ [], vhead2 ≠ ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl) + qrl0, vs0, ps0, owns0), markedp(qrl, vs0), markedp(qrl, ps0), noid(tid0, (nxt0 ' + qrl) + qrl0, ps0[(nxt0 ' + qrl.butlast).last].next, vs0), nonullRetRefs((nxt0 ' + qrl) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), (nxt0 ' + qrl.butlast).last ∈ nxt0 ' + qrl from (nxt0 ' + qrl.butlast).last, vhead2 ∈ (nxt0 ' + qrl) + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[(nxt0 ' + qrl.butlast).last].next ∈ vs0, ps0[(nxt0 ' + qrl.butlast).last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, (nxt0 ' + qrl.butlast).last ∈ vs0, (nxt0 ' + qrl.butlast).last ∈ ps0, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl.butlast).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl.butlast).last].next ∈ qrl, vs0[(nxt0 ' + qrl.butlast).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl.butlast).last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), (nxt0 ' + qrl.butlast).last = nxt0 ∨ (nxt0 ' + qrl.butlast).last ∈ qrl, phead0 = nxt0 ∨ phead0 ∈ qrl, vhead4 ∈ nxt0 ' + qrl from (nxt0 ' + qrl.butlast).last ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[(nxt0 ' + qrl.butlast).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (qrl + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (qrl + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [qrl, vhead, qrl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl, vhead, y

Proof step 295 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl1).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl1).last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), qrl = qrl1 + vhead ', rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl1).last].next].val), (nxt0 ' + qrl1).last ≠ vhead4, ps0[(nxt0 ' + qrl1).last].next ≠ null, ps0[(nxt0 ' + qrl1).last].next ≠ nxt0, phead0 ≠ vhead, qrl ≠ [], vhead2 ≠ ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((nxt0 ' + qrl) + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl, vs0), noid(tid0, (nxt0 ' + qrl) + qrl0, ps0[(nxt0 ' + qrl1).last].next, vs0), nonullRetRefs((nxt0 ' + qrl) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), (nxt0 ' + qrl1).last ∈ ps0, (nxt0 ' + qrl1).last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[(nxt0 ' + qrl1).last].next ∈ ps0, ps0[(nxt0 ' + qrl1).last].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (nxt0 ' + qrl) + qrl0 from vhead4, (nxt0 ' + qrl1).last ∈ nxt0 ' + qrl from (nxt0 ' + qrl1).last, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl, vs0[(nxt0 ' + qrl1).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl1).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl1).last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (qrl + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (qrl + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[(nxt0 ' + qrl1).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ nxt0 ' + qrl from (nxt0 ' + qrl1).last ∨ vhead4 ∈ qrl0, phead0 = nxt0 ∨ phead0 ∈ qrl, (nxt0 ' + qrl1).last = nxt0 ∨ (nxt0 ' + qrl1).last ∈ qrl ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)

Proof step 296 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl1).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl1).last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl1).last].next].val), (nxt0 ' + qrl1).last ≠ vhead4, ps0[(nxt0 ' + qrl1).last].next ≠ null, ps0[(nxt0 ' + qrl1).last].next ≠ nxt0, ps0[(nxt0 ' + qrl1).last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, vhead2 ≠ ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl1, ps0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[(nxt0 ' + qrl1).last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), some?(vs0[vhead].deqID), some?(ps0[vhead].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), (nxt0 ' + qrl1).last ∈ nxt0 ' + qrl1 + vhead ' from (nxt0 ' + qrl1).last, vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[(nxt0 ' + qrl1).last].next ∈ vs0, ps0[(nxt0 ' + qrl1).last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, (nxt0 ' + qrl1).last ∈ vs0, (nxt0 ' + qrl1).last ∈ ps0, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl1, vs0[(nxt0 ' + qrl1).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl1).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl1).last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ nxt0 ' + qrl1 + vhead ' from (nxt0 ' + qrl1).last ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[(nxt0 ' + qrl1).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, (nxt0 ' + qrl1).last = nxt0 ∨ (nxt0 ' + qrl1).last ∈ qrl1 ∨ (nxt0 ' + qrl1).last = vhead, phead0 = nxt0 ∨ phead0 ∈ qrl1, vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', qrl1], <all paths>

Additional information

Used simplifier rules: ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) ⊦ x + [] = x; (s) ⊦ a '.last = a; (s) ⊦ markedp([], vs); (s) ⊦ [] + x = x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: nxt0 ', qrl1

Proof step 297 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 298 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[qrl1.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[qrl1.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[qrl1.last].next].val), qrl1.last ≠ vhead4, ps0[qrl1.last].next ≠ null, ps0[qrl1.last].next ≠ nxt0, ps0[qrl1.last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, qrl1 ≠ [], vhead2 ≠ ps0[qrl1.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, ps0), markedp(qrl1, vs0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[qrl1.last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[vhead].deqID), some?(vs0[vhead].deqID), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), qrl1.last ∈ ps0, qrl1.last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[qrl1.last].next ∈ ps0, ps0[qrl1.last].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, qrl1.last ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl1, vs0[qrl1.last].next ≠ null ∧ vs0[vs0[qrl1.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[qrl1.last].next].deqID.tid)) = Claimed(vs0[vs0[qrl1.last].next].deqID.tid, vs0[vs0[qrl1.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 = nxt0 ∨ phead0 ∈ qrl1, qrl1.last = nxt0 ∨ qrl1.last ∈ qrl1 ∨ qrl1.last = vhead, qrl0 = [] ∨ ps0[qrl1.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s)

Proof step 299 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[qrl1.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), D20) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[qrl1.last].next], pcf(tid0) = D20, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[qrl1.last].next].val), qrl1.last ≠ vhead4, ps0[qrl1.last].next ≠ null, ps0[qrl1.last].next ≠ nxt0, ps0[qrl1.last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, qrl1 ≠ [], vhead2 ≠ ps0[qrl1.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl1, ps0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[qrl1.last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), some?(vs0[vhead].deqID), some?(ps0[vhead].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), qrl1.last ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last, vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[qrl1.last].next ∈ vs0, ps0[qrl1.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, qrl1.last ∈ vs0, qrl1.last ∈ ps0, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl1, vs0[qrl1.last].next ≠ null ∧ vs0[vs0[qrl1.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[qrl1.last].next].deqID.tid)) = Claimed(vs0[vs0[qrl1.last].next].deqID.tid, vs0[vs0[qrl1.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead4 ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[qrl1.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, phead0 = nxt0 ∨ phead0 ∈ qrl1, vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [qrl1, nxt1, qrl]

Additional information

Used simplifier rules: ⊦ x + a ' ≠ []; (s) ⊦ r ∈ rl1 + r ' + rl2 from r; (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl1, nxt1, y

Proof step 300 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], pcf(tid0) ≠ D20, pcf(tid0) ≠ E10, pcf(tid0) ≠ E11, pcf(tid0) ≠ D6, pcf(tid0) ≠ E4, vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vtail2 ∈ qrl0, ¬ vtail2 ∈ orl0, pcf(tid0) = D20 ∧ obsEmpty ∧ opttid ≠ None ∨ pcf(tid0) = D21 ∧ opttid ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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) = D34 → optval1 = vrvHp0[vretRefs0(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 → val = val1, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E4; (s)

Proof step 301 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], vhead2 ≠ vtail2, vtail2 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail2 ∈ ps0, vtail2 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), opttid ≠ None → optval1 = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21

Proof step 302 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 303 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr), mk(val0, opttid, nxt) = ps0[vtail2], pcf(tid0) = D21, vs0[vtail2].deqID ≠ opttid, ¬(vs0[vtail2].deqID = None ↔ opttid = None), orl0 ≠ [], vhead2 ≠ vtail2, vtail2 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail2 ∈ vs0, vtail2 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vtail2 ∈ orl0, ¬ vtail2 ∈ qrl0, opttid ≠ None → optval1 = optval, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next), D21 = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ), D21 = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first), D21 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D21 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst), D21 = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node), D21 = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D21 = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D21 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D21 = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vtail2, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ vtail2 ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 304 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, vhead6 ∈ vs0, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[vhead6].next ∈ vs0, ps0[vhead6].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead6 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead6 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 46

Additional information

Proof step 305 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), orl0.last = vhead6, abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ y ≠ [] → (x + y).last = y.last; (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ x + [] = x; (s) ⊦ unmarkedp([], vs); (s) list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ a ∈ b ' ↔ a = b; (s) rl ≠ [] ⊦ ¬ dups(rl) → rl from rl.last = rl.last '; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s)

Proof step 306 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0.tail, vs0), vhead4 ∈ ps0, vhead4 ∈ vs0, vhead4 ∈ qrl0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.last].next ∈ ps0, ps0[orl0.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, orl0.last ∈ vs0, orl0.last ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl0, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vs0[qrl0.head].deqID = None ∨ ps0[orl0.last].next ≠ qrl0.head, vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, nxt0, qrl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, qrl

Proof step 307 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), qrl0 = nxt0 + qrl, rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, orl0 ≠ [], qrl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl, vs0), unmarkedp(qrl0, ps0), orl0.last ∈ ps0, orl0.last ∈ vs0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[orl0.last].next ∈ vs0, ps0[orl0.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, vhead4 ∈ qrl0, vhead4 ∈ vs0, vhead4 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl0, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 = qrl0.last ∨ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vs0[nxt0].deqID = None ∨ ps0[orl0.last].next ≠ nxt0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ 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) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ' + x ≠ []; (s)

Proof step 308 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.last].next].deqID = Some(tid0), ps0[nxt0].deqID = None, abspc (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[orl0.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.last].next, vretRefs0(tid0), optval0, orl0.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.last].next].val), orl0.last ≠ vhead4, ps0[orl0.last].next ≠ null, ps0[orl0.last].next ≠ nxt0, orl0 ≠ [], vhead2 ≠ ps0[orl0.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + nxt0 ' + qrl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + nxt0 ' + qrl, ps0[orl0.last].next, vs0), nonullRetRefs(orl0 + nxt0 ' + qrl, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl, ps0), unmarkedp(qrl, vs0), vhead4 ∈ ps0, vhead4 ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.last].next ∈ ps0, ps0[orl0.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + nxt0 ' + qrl from vhead4, orl0.last ∈ vs0, orl0.last ∈ ps0, ¬ dups(orl0 + qrl), ¬ dups(orl0), ¬ dups(qrl), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ orl0, ¬ ps0[orl0.last].next ∈ orl0, ¬ ps0[orl0.last].next ∈ qrl, vs0[orl0.last].next ≠ null ∧ vs0[vs0[orl0.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.last].next].deqID.tid, vs0[vs0[orl0.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, nxt0 ' + qrl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 = nxt0 ∨ vhead4 ∈ qrl, vhead2 = (nxt0 ' + qrl).last ∨ vhead2 = (orl0 + (nxt0 ' + qrl).butlast).last ∧ vs0[(nxt0 ' + qrl).last].deqID = None ∧ vs0[(nxt0 ' + qrl).last].next = null ⊦

User applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl0, vhead, qrl0]

Additional information

Used simplifier rules: ⊦ x + a ' ≠ []; (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl0, vhead, y

Proof step 309 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid0), orl0.butlast.last = vhead6, abspc (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid0), optval0, vhead6, tid1, addr), mk(val0, None, nxt) = ps0[ps0[vhead6].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val), orl0.butlast ≠ [], ps0[vhead6].next ≠ null, orl0 ≠ [], phead0 ≠ orl0.last, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), phead0 ∈ ps0, phead0 ∈ vs0, ps0[vhead6].next ∈ ps0, ps0[vhead6].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead6 ∈ vs0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[vhead6].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app11: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app12: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ orl → node ∈ ps; (forward) from specification DMSQ ⊦ x ≠ [] → (x.butlast = [] ↔ x = x.head '); (ss)

Proof step 310 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.butlast.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.butlast.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.butlast.last].next].val), orl0.butlast.last ≠ vhead4, ps0[orl0.butlast.last].next ≠ null, orl0 ≠ [], orl0 ≠ orl0.head ', phead0 ≠ orl0.last, vhead2 ≠ ps0[orl0.butlast.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid0, orl0 + qrl0, ps0[orl0.butlast.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), orl0.butlast.last ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, phead0 ∈ orl0, ps0[orl0.butlast.last].next ∈ vs0, ps0[orl0.butlast.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, orl0.butlast.last ∈ vs0, orl0.butlast.last ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[orl0.butlast.last].next ∈ qrl0, ¬ ps0[orl0.butlast.last].next ∈ orl0, vs0[orl0.butlast.last].next ≠ null ∧ vs0[vs0[orl0.butlast.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.butlast.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.butlast.last].next].deqID.tid, vs0[vs0[orl0.butlast.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ ps0[orl0.butlast.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead4 ∈ orl0 from orl0.butlast.last ∨ vhead4 ∈ qrl0 ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [orl0, nxt0, qrl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: orl0, head, qrl

Proof step 311 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[orl0.butlast.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[orl0.butlast.last].next].val), vhead3, nd, true, vhead4, ps0[orl0.butlast.last].next, vretRefs0(tid0), optval0, orl0.butlast.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[orl0.butlast.last].next], orl0 = nxt0 + qrl, pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[orl0.butlast.last].next].val), orl0.butlast.last ≠ vhead4, ps0[orl0.butlast.last].next ≠ null, orl0 ≠ [], orl0 ≠ nxt0 ', phead0 ≠ orl0.last, vhead2 ≠ ps0[orl0.butlast.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid0, orl0 + qrl0, ps0[orl0.butlast.last].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), orl0.butlast.last ∈ ps0, orl0.butlast.last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[orl0.butlast.last].next ∈ ps0, ps0[orl0.butlast.last].next ∈ vs0, phead0 ∈ orl0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, orl0.butlast.last ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[orl0.butlast.last].next ∈ qrl0, ¬ ps0[orl0.butlast.last].next ∈ orl0, vs0[orl0.butlast.last].next ≠ null ∧ vs0[vs0[orl0.butlast.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[orl0.butlast.last].next].deqID.tid)) = Claimed(vs0[vs0[orl0.butlast.last].next].deqID.tid, vs0[vs0[orl0.butlast.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, orl0.butlast.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from orl0.butlast.last ∨ vhead4 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[orl0.butlast.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s) ⊦ a + x = a ' + x; (s) ⊦ y ≠ [] → (x + y + z).last = (y + z).last; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ x ≠ [] → (a ' + x).last = x.last; (s) ⊦ a ' = b ' + x ↔ a = b ∧ x = []; (ws) ⊦ a ' + x ≠ []; (s)

Proof step 312 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl.butlast).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl.butlast).last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl.butlast).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl.butlast).last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl.butlast).last].next].val), (nxt0 ' + qrl.butlast).last ≠ vhead4, ps0[(nxt0 ' + qrl.butlast).last].next ≠ null, ps0[(nxt0 ' + qrl.butlast).last].next ≠ nxt0, phead0 ≠ qrl.last, qrl ≠ [], vhead2 ≠ ps0[(nxt0 ' + qrl.butlast).last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl) + qrl0, vs0, ps0, owns0), markedp(qrl, vs0), markedp(qrl, ps0), noid(tid0, (nxt0 ' + qrl) + qrl0, ps0[(nxt0 ' + qrl.butlast).last].next, vs0), nonullRetRefs((nxt0 ' + qrl) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), vhead2 ∈ (nxt0 ' + qrl) + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[(nxt0 ' + qrl.butlast).last].next ∈ vs0, ps0[(nxt0 ' + qrl.butlast).last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, (nxt0 ' + qrl.butlast).last ∈ vs0, (nxt0 ' + qrl.butlast).last ∈ ps0, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl.butlast).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl.butlast).last].next ∈ qrl, vs0[(nxt0 ' + qrl.butlast).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl.butlast).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl.butlast).last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl.butlast).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), (nxt0 ' + qrl.butlast).last = nxt0 ∨ (nxt0 ' + qrl.butlast).last ∈ qrl, phead0 = nxt0 ∨ phead0 ∈ qrl, qrl0 = [] ∨ ps0[(nxt0 ' + qrl.butlast).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead2 = (qrl + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (qrl + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead4 ∈ nxt0 ' + qrl from (nxt0 ' + qrl.butlast).last ∨ vhead4 ∈ qrl0 ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [qrl, vhead, qrl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl, vhead, y

Proof step 313 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl1).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl1).last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), qrl = qrl1 + vhead ', rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl1).last].next].val), (nxt0 ' + qrl1).last ≠ vhead4, ps0[(nxt0 ' + qrl1).last].next ≠ null, ps0[(nxt0 ' + qrl1).last].next ≠ nxt0, phead0 ≠ vhead, qrl ≠ [], vhead2 ≠ ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((nxt0 ' + qrl) + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl, vs0), noid(tid0, (nxt0 ' + qrl) + qrl0, ps0[(nxt0 ' + qrl1).last].next, vs0), nonullRetRefs((nxt0 ' + qrl) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), (nxt0 ' + qrl1).last ∈ ps0, (nxt0 ' + qrl1).last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[(nxt0 ' + qrl1).last].next ∈ ps0, ps0[(nxt0 ' + qrl1).last].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (nxt0 ' + qrl) + qrl0 from vhead4, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ nxt0 ∈ qrl, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl, vs0[(nxt0 ' + qrl1).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl1).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl1).last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ nxt0 ' + qrl from (nxt0 ' + qrl1).last ∨ vhead4 ∈ qrl0, vhead2 = (qrl + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (qrl + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, qrl0 = [] ∨ ps0[(nxt0 ' + qrl1).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, phead0 = nxt0 ∨ phead0 ∈ qrl, (nxt0 ' + qrl1).last = nxt0 ∨ (nxt0 ' + qrl1).last ∈ qrl ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' ≠ []; (s)

Proof step 314 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[(nxt0 ' + qrl1).last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls (tid0, val, Val(vs0[ps0[(nxt0 ' + qrl1).last].next].val), vhead3, nd, true, vhead4, ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0), optval0, (nxt0 ' + qrl1).last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[(nxt0 ' + qrl1).last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[(nxt0 ' + qrl1).last].next].val), (nxt0 ' + qrl1).last ≠ vhead4, ps0[(nxt0 ' + qrl1).last].next ≠ null, ps0[(nxt0 ' + qrl1).last].next ≠ nxt0, ps0[(nxt0 ' + qrl1).last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, vhead2 ≠ ps0[(nxt0 ' + qrl1).last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl1, ps0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[(nxt0 ' + qrl1).last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), some?(vs0[vhead].deqID), some?(ps0[vhead].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[(nxt0 ' + qrl1).last].next ∈ vs0, ps0[(nxt0 ' + qrl1).last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, (nxt0 ' + qrl1).last ∈ vs0, (nxt0 ' + qrl1).last ∈ ps0, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl0, ¬ ps0[(nxt0 ' + qrl1).last].next ∈ qrl1, vs0[(nxt0 ' + qrl1).last].next ≠ null ∧ vs0[vs0[(nxt0 ' + qrl1).last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid)) = Claimed(vs0[vs0[(nxt0 ' + qrl1).last].next].deqID.tid, vs0[vs0[(nxt0 ' + qrl1).last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, (nxt0 ' + qrl1).last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ ps0[(nxt0 ' + qrl1).last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ nxt0 ' + qrl1 + vhead ' from (nxt0 ' + qrl1).last ∨ vhead4 ∈ qrl0, (nxt0 ' + qrl1).last = nxt0 ∨ (nxt0 ' + qrl1).last ∈ qrl1 ∨ (nxt0 ' + qrl1).last = vhead, phead0 = nxt0 ∨ phead0 ∈ qrl1, vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [nxt0 ', qrl1], <all paths>

Additional information

Used simplifier rules: ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) ⊦ x + [] = x; (s) ⊦ a '.last = a; (s) ⊦ markedp([], vs); (s) ⊦ [] + x = x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: nxt0 ', qrl1

Proof step 315 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 316 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[qrl1.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[qrl1.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[qrl1.last].next].val), qrl1.last ≠ vhead4, ps0[qrl1.last].next ≠ null, ps0[qrl1.last].next ≠ nxt0, ps0[qrl1.last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, qrl1 ≠ [], vhead2 ≠ ps0[qrl1.last].next, vretRefs0(tid0) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, ps0), markedp(qrl1, vs0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[qrl1.last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[vhead].deqID), some?(vs0[vhead].deqID), some?(ps0[nxt0].deqID), some?(vs0[nxt0].deqID), unmarkedp(qrl0, ps0), unmarkedp(qrl0, vs0), qrl1.last ∈ ps0, qrl1.last ∈ vs0, phead0 ∈ ps0, phead0 ∈ vs0, ps0[qrl1.last].next ∈ ps0, ps0[qrl1.last].next ∈ vs0, vretRefs0(tid0) ∈ vrvHp0, vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl1, vs0[qrl1.last].next ≠ null ∧ vs0[vs0[qrl1.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[qrl1.last].next].deqID.tid)) = Claimed(vs0[vs0[qrl1.last].next].deqID.tid, vs0[vs0[qrl1.last].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, phead0 = nxt0 ∨ phead0 ∈ qrl1, qrl1.last = nxt0 ∨ qrl1.last ∈ qrl1 ∨ qrl1.last = vhead, vhead4 ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last ∨ vhead4 ∈ qrl0, qrl0 = [] ∨ ps0[qrl1.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s)

Proof step 317 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[qrl1.last].next].deqID = Some(tid0), abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), D21) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val1, optval1, val2, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, Val(vs0[ps0[qrl1.last].next].val), vhead3, nd, true, vhead4, ps0[qrl1.last].next, vretRefs0(tid0), optval0, qrl1.last, tid1, addr), mk(val0, None, nxt) = ps0[ps0[qrl1.last].next], pcf(tid0) = D21, pretRefs0(tid0) = vretRefs0(tid0), rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[qrl1.last].next].val), qrl1.last ≠ vhead4, ps0[qrl1.last].next ≠ null, ps0[qrl1.last].next ≠ nxt0, ps0[qrl1.last].next ≠ vhead, nxt0 ≠ vhead, phead0 ≠ vhead, qrl1 ≠ [], vhead2 ≠ ps0[qrl1.last].next, vretRefs0(tid0) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl1, ps0), noid(tid0, (nxt0 ' + qrl1 + vhead ') + qrl0, ps0[qrl1.last].next, vs0), nonullRetRefs((nxt0 ' + qrl1 + vhead ') + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[nxt0].deqID), some?(ps0[nxt0].deqID), some?(vs0[vhead].deqID), some?(ps0[vhead].deqID), unmarkedp(qrl0, vs0), unmarkedp(qrl0, ps0), vhead2 ∈ (nxt0 ' + qrl1 + vhead ') + qrl0 from vhead4, vretRefs0(tid0) ∈ vrvHp0, ps0[qrl1.last].next ∈ vs0, ps0[qrl1.last].next ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, qrl1.last ∈ vs0, qrl1.last ∈ ps0, ¬ dups(qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead ∈ qrl1, ¬ vhead ∈ qrl0, ¬ nxt0 ∈ qrl1, ¬ nxt0 ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl0, ¬ ps0[qrl1.last].next ∈ qrl1, vs0[qrl1.last].next ≠ null ∧ vs0[vs0[qrl1.last].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[qrl1.last].next].deqID.tid)) = Claimed(vs0[vs0[qrl1.last].next].deqID.tid, vs0[vs0[qrl1.last].next].val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, qrl1.last, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, nxt0 ' + qrl1 + vhead ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), qrl0 = [] ∨ ps0[qrl1.last].next ≠ qrl0.head ∨ vs0[qrl0.head].deqID = None, vhead4 ∈ nxt0 ' + qrl1 + vhead ' from qrl1.last ∨ vhead4 ∈ qrl0, phead0 = nxt0 ∨ phead0 ∈ qrl1, vhead2 = (vhead ' + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null ⊦

User applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [qrl1, nxt1, qrl]

Additional information

Used simplifier rules: ⊦ x + a ' ≠ []; (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ r0 ≠ r → r0 ' + rl from r = rl from r; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' ↔ a = b; (s) listp-twoin: ⊦ listp(rl + r ' + r0 ' + rl0, vs, ps, owns) → ps[r].next = r0; (forward) from specification DMSQ a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: qrl1, nxt1, y

Proof step 318 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), pcf0 = pcf, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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)

Proof step 319 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 8

Additional information

Proof step 320 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

Heuristic use patterns applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 321 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 322 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s)

Proof step 323 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = alsf(tid).tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

Heuristic use patterns applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) .ps = ps; (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, 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) .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) .vretRefs = vretRefs; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 324 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 325 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

User applied rule subst equation

And closed the goal!

Rule argument

pos: left 1, flags: rotate, discard

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s)

Proof step 326 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), pcf0 = pcf, rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), rvref0 ∈ vrvHp0, rvref0 ∈ prvHp0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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)

Proof step 327 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), rvref0 ∈ vrvHp0, rvref0 ∈ prvHp0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 11

Additional information

Proof step 328 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), rvref0 ∈ prvHp0, rvref0 ∈ vrvHp0, ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

Heuristic use patterns applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 329 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 330 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), rvref0 ∈ vrvHp0, rvref0 ∈ prvHp0, ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s)

Proof step 331 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = alsf(tid).tid, rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), rvref0 ∈ prvHp0, rvref0 ∈ vrvHp0, ¬ absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

Heuristic use patterns applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) .ps = ps; (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, 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) .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) .vretRefs = vretRefs; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 332 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 333 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid), rvref0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), rvref0 ∈ prvHp0, rvref0 ∈ vrvHp0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

User applied rule subst equation

And closed the goal!

Rule argument

pos: left 1, flags: rotate, discard

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s)

Proof step 334 from proof fwsim-step-abstau (previous step) (back to tree)

lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc) ∧ lsf0 = lsf(tid0; ls) ∧ pcf0 = pcf(tid0; pc) ∨ ca = globalFLUSHHEAD ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalFLUSHVAL(vtail0) ∧ vtail0 ∈ vs0 ∧ vtail0 ∈ ps0 ∧ vtail0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ doEnq(owns0(vs0[(orl0 + qrl0).last].next).tid);τ) ∧ vtail1 ∈ vs0 ∧ vtail1 ∈ ps0 ∧ vtail1 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail1, ps0[vtail1].next:= vs0[vtail1].next], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ qrl0 + vs0[(orl0 + qrl0).last].next ';qrl0), orl0, (vtail1 = (orl0 + qrl0).last ∧ vs0[(orl0 + qrl0).last].next ≠ null ⊃ owns0(vs0[(orl0 + qrl0).last].next; None);owns0), rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ doDeq(vs0[qrl0.head].deqID.tid);τ) ∧ vtail2 ∈ vs0 ∧ vtail2 ∈ ps0 ∧ vtail2 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs (ps0[vtail2, ps0[vtail2].deqID:= vs0[vtail2].deqID], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ qrl0.tail;qrl0), (qrl0 ≠ [] ∧ vtail2 = qrl0.head ∧ vs0[qrl0.head].deqID ≠ None ⊃ orl0 + qrl0.head ';orl0), owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0(tid2; vretRefs0(tid2)), vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = τ ∧ rvref0 ∈ vrvHp0 ∧ rvref0 ∈ prvHp0 ∧ rvref0 ≠ null ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0[rvref0, vrvHp0[rvref0]], qrl0, orl0, owns0, rvowns0) ∧ lsf0 = lsf ∧ pcf0 = pcf ∨ ca = globalCRASH ∧ ⟨ps := gs1.ps, phead := gs1.phead, pretRefs := gs1.pretRefs, prvHp := gs1.prvHp, vs := gs1.vs, vhead := gs1.vhead, vtail := gs1.vtail, vretRefs := gs1.vretRefs, vrvHp := gs1.vrvHp, owns := gs1.owns; CRASH(ps, phead, pretRefs, prvHp; vs, vhead, vtail, vretRefs, vrvHp, owns, pcf); gs1 := (((((gs1.vs:= vs).vhead:= vhead).vtail:= vtail).vretRefs:= vretRefs).vrvHp:= vrvHp).owns:= owns⟩ (gs0 = gs1 ∧ lsf0 = lsf ∧ pcf0 = pcf), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Used simplifier rules: ⊦ ren(globalCRASH) = globalCrash; (s) ⊦ globalCrash ≠ τ; (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) ⊦ doDeq(tid) ≠ τ; (s) ⊦ ren(doDeq(tid)) = DoDeq(tid); (s) ⊦ DoDeq(tid) ≠ τ; (s) ⊦ doEnq(tid) ≠ τ; (s) ⊦ ren(doEnq(tid)) = DoEnq(tid); (s) ⊦ DoEnq(tid) ≠ τ; (s)

Proof step 335 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf(tid0; ls), pcf0 = pcf(tid0; pc), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 336 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), lstep (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), ls, pc), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid))) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:lstep, seq:⊦ 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), subst:[a, ls0, pc0, pc, gs0, ls, gs] → [ca, ls, pc, pcf(tid0), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: ca, ls, pc, pcf(tid0), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf(tid0), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 337 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 338 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ls = lstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), pc = pcstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ ls;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr)), (tid0 = tid ⊃ pc;pcf(tid))) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 339 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) )) ≠ apcf(tid) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid0 = tid

Additional information

Used formulas: tid0 = tid

Proof step 340 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, tid0 = tid, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) )) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 341 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca)) ≠ apcf(tid) ⊦

User applied rule weakening

And obtained the following new goals

Rule argument

poslist: left 10, left 11

Additional information

Proof step 342 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca)) ≠ apcf(tid) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: ca

Additional information

Used simplifier rules: not-pre-FLUSHHEAD: ⊦ ¬ pre(gs, ls, pc, globalFLUSHHEAD); not-pre-FLUSHVAL: ⊦ ¬ pre(gs, ls, pc, globalFLUSHVAL(r)); DMSQAction freely generated by globalCRASH, globalFLUSHHEAD, τ, callRUN, checkEmp, chooseD2, chooseE1, doDeq, doDeqEmpty, doEnq, globalFLUSHVAL, invDEQ, invENQ, retDEQ, retENQ ;; ⊦ ren(retENQ(tid)) = RetEnq(tid); (s) ⊦ RetEnq(tid) ≠ τ; (s) ⊦ ren(retDEQ(tid, optval)) = RetDeq(tid, optval); (s) ⊦ RetDeq(tid, optval) ≠ τ; (s) ⊦ ren(invENQ(tid, val)) = InvEnq(tid, val); (s) ⊦ InvEnq(tid, val) ≠ τ; (s) ⊦ ren(invDEQ(tid)) = InvDeq(tid); (s) ⊦ InvDeq(tid) ≠ τ; (s) ⊦ ren(globalFLUSHVAL(r)) = τ; (s) ⊦ globalFLUSHVAL(node) ≠ τ; (s) ⊦ ren(doEnq(tid)) = DoEnq(tid); (s) ⊦ DoEnq(tid) ≠ τ; (s) ⊦ ren(doDeqEmpty(tid)) = DoDeqEmpty(tid); (s) ⊦ DoDeqEmpty(tid) ≠ τ; (s) ⊦ ren(doDeq(tid)) = DoDeq(tid); (s) ⊦ DoDeq(tid) ≠ τ; (s) ⊦ ren(checkEmp(tid)) = CheckEmp(tid); (s) ⊦ CheckEmp(tid) ≠ τ; (s) ⊦ ren(callRUN(tid)) = callRun(tid); (s) ⊦ callRun(tid) ≠ τ; (s) ⊦ ren(globalFLUSHHEAD) = τ; (s) ⊦ globalFLUSHHEAD ≠ τ; (s) ⊦ ren(globalCRASH) = globalCrash; (s) ⊦ globalCrash ≠ τ; (s)

Proof step 343 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca = chooseD2(rvref0, optval1), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseD2(rvref, optval) ≠ τ; (s) ⊦ ren(chooseD2(rvref, optval0)) = τ; (s)

Proof step 344 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1))) ≠ apcf(tid) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: pcf(tid)

Additional information

Used simplifier rules: DMSQPC freely generated by D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, E1, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11, E12, E13, E14, E15, E16, E17, crashed, idle, ready ;; ⊦ gstepf(gs, ls, ready, a) = gs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ pre(gs, ls, ready, a) ↔ (∃ value0. a = invENQ(ls.tid, value0)) ∨ a = invDEQ(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ invENQ(tid, invENQvalue); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ chooseD2(rvref, optval) ≠ invDEQ(tid); (s) ⊦ pre(gs, ls, idle, a) ↔ a = callRUN(ls.tid); (s) ⊦ callRUN(tid) ≠ chooseD2(rvref, optval); (s) ⊦ pre(gs, ls, crashed, a) ↔ false; (s) ⊦ pre(gs, ls, E17, a) ↔ a = retENQ(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ retENQ(tid); (s) ⊦ pre(gs, ls, E16, a) ↔ a = τ; (s) ⊦ chooseD2(rvref, optval) ≠ τ; (s) ⊦ gstepf(gs, ls, E15, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (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) ⊦ 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) .vtail:= phead4 = mkgs (ps, ps0, phead, phead0, phead4, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E15, a) ↔ a = τ; (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) ⊦ 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) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ x + a = x + a '; (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) .vs = ps0; (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) ⊦ pre(gs, ls, E14, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ chooseD2(rvref, optval0) = (success ⊃ a;τ) ↔ success ∧ a = chooseD2(rvref, optval0); (s) ⊦ chooseD2(rvref, optval) ≠ doEnq(tid); (s) ⊦ pre(gs, ls, E13, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E12, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.node;gs); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ pre(gs, ls, E12, a) ↔ a = τ; (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) ⊦ pre(gs, ls, E11, a) ↔ a = (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ doEnq(ls.tid);τ); (s) ⊦ pre(gs, ls, E10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E9, a) = ((gs.ps ⊕ gs.vs)[ls.lst].next = ls.nxt ⊃ (gs.vs:= gs.vs[ls.lst, gs.vs[ls.lst].next:= ls.node]) .owns:= gs.owns(ls.node; Weak(ls.tid)) ;gs ); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E9, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E2, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E1, a) ↔ (∃ node0, nd0, success0. ( ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)) ∧ a = chooseE1(node0, nd0, success0)) ∨ a = τ ∧ ¬ (∃ node0, nd0, success0. ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)); (s) ⊦ chooseD2(rvref, optval) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D34, a) ↔ a = retDEQ(ls.tid, ls.optval); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ chooseD2(rvref, optval) ≠ retDEQ(tid, optval0); (s) ⊦ pre(gs, ls, D33, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D32, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D31, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead:= phead3 = mkgs (ps, ps0, phead, phead3, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D31, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D30, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D29, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D28, a) = ( ( gs .ps:= gs.ps[ls.nxt, gs.ps[ls.nxt].deqID:= Some(ls.othertid)]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ 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) ⊦ pre(gs, ls, D28, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.othertid);τ); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ chooseD2(rvref, optval) ≠ doDeq(tid); (s) ⊦ pre(gs, ls, D27, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D26, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D25, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D24, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D24, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D23, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D22, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D21, a) = ( ( gs .ps:= gs.ps [ls.nxt, gs.ps[ls.nxt].deqID:= gs.vs[ls.nxt].deqID ]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ pre(gs, ls, D21, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.tid);τ); (s) ⊦ pre(gs, ls, D20, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D19, a) = ((gs.ps ⊕ gs.vs)[ls.nxt].deqID = None ⊃ (gs.vs:= gs.vs[ls.nxt, gs.vs[ls.nxt].deqID:= Some(ls.tid)]) .rvowns:= gs.rvowns(gs.vretRefs(ls.tid); Claimed(ls.tid, ls.optval.val)) ;gs ); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ pre(gs, ls, D19, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D18, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D17, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D17, a) ↔ a = τ; (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) ⊦ pre(gs, ls, D16, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).tid);τ); (s) ⊦ pre(gs, ls, D15, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D14, a) = gs.prvHp:= gs.prvHp[ls.rvref, gs.vrvHp[ls.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) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D14, a) ↔ a = doDeqEmpty(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ doDeqEmpty(tid); (s) ⊦ pre(gs, ls, D13, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D12, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D11, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D9, a) = gs; (s) ⊦ pre(gs, ls, D9, a) ↔ a = (gs.qrl = [] ⊃ checkEmp(ls.tid);τ); (s) ⊦ checkEmp(tid) ≠ chooseD2(rvref, optval); (s) ⊦ pre(gs, ls, D8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D1, a) ↔ a = τ; (s)

Proof step 345 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseD2(rvref0, optval1))) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ pcstepf(gs, ls, D2, a) = (∃ rvref0, optval00. a = chooseD2(rvref0, optval00) ⊃ D3;D2); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval0:= optval2 = mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval2, node2, tid0, rvref0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref:= rvref1 = mkls (tid, value, optval, node, nd, success, node0, node1, rvref1, optval0, node2, tid0, rvref0); (s) ⊦ lstepf(gs, ls, D2, chooseD2(rvref0, optval00)) = (ls.rvref:= rvref0).optval0:= optval00; (s) ⊦ chooseD2(rvref, optval) = chooseD2(rvref0, optval0) ↔ rvref = rvref0 ∧ optval = optval0; (ws) ⊦ chooseD2(rvref, optval) ≠ τ; (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) ⊦ pre(gs, ls, D2, a) ↔ (∃ rvref0, optval00. (¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null) ∧ a = chooseD2(rvref0, optval00)) ∨ a = τ ∧ ¬ (∃ rvref0, optval00. ¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (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) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval0 = optval0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp:= vrvHp1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp1, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ gstepf(gs, ls, D2, chooseD2(rvref0, optval00)) = ( ( gs .vrvHp:= gs.vrvHp [((ls.rvref:= rvref0).optval0:= optval00 ).rvref, ((ls.rvref:= rvref0).optval0:= optval00 ).optval0 ]) .prvHp:= gs.prvHp [((ls.rvref:= rvref0).optval0:= optval00).rvref, ((ls.rvref:= rvref0).optval0:= optval00).optval0 ]) .rvowns:= gs.rvowns (((ls.rvref:= rvref0).optval0:= optval00).rvref ; Pending(((ls.rvref:= rvref0).optval0:= optval00).tid) ); (s)

Proof step 346 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, ¬ absls (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2), alsf(tid)) ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-def, seq:⊦ 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 ) ) ) ) ) ), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2

Proof step 347 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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 ) ) ) ) ) )

A spec-lemma

Proof step 348 from proof fwsim-step-abstau (previous step) (back to tree)

(D2 = idle ⊃ idle ;(D2 = ready ⊃ ready ;(D2 = crashed ⊃ crashed ;( D2 = E1 ∨ D2 = E2 ∨ D2 = E3 ∨ D2 = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ D2 = E5 ∨ D2 = E6 ∨ D2 = E7 ∨ D2 = E8 ∨ D2 = E9 ∨ D2 = E10 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ D2 = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ D2 = E13 ∨ D2 = E14 ∨ D2 = E15 ∨ D2 = E16 ⊃ invEnq ;(D2 = E10 ∨ D2 = E11 ∨ D2 = E12 ∨ D2 = E4 ∨ D2 = E13 ∨ D2 = E17 ⊃ resEnq ;( D2 = D1 ∨ D2 = D2 ∨ D2 = D3 ∨ D2 = D4 ∨ D2 = D5 ∨ D2 = D6 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ D2 = D7 ∨ D2 = D8 ∨ D2 = D9 ∨ D2 = D10 ∨ D2 = D11 ∨ D2 = D12 ∨ D2 = D13 ∨ D2 = D14 ∨ D2 = D16 ∨ D2 = D17 ∨ D2 = D18 ∨ D2 = D19 ∨ D2 = D20 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None) ∨ D2 = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ∨ D2 = D25 ∨ D2 = D26 ∨ D2 = D27 ∨ D2 = D28 ∨ D2 = D29 ∨ D2 = D30 ∨ D2 = D31 ∨ D2 = D32 ∨ D2 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), D2 = pcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, ¬ absls (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2), alsf(tid)) ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D1 ≠ D2; (s) ⊦ D2 ≠ E17; (s) ⊦ D2 ≠ E13; (s) ⊦ D2 ≠ E4; (s) ⊦ D2 ≠ E12; (s) ⊦ D2 ≠ E11; (s) ⊦ D2 ≠ E10; (s) ⊦ D2 ≠ E16; (s) ⊦ D2 ≠ E15; (s) ⊦ D2 ≠ E14; (s) ⊦ D2 ≠ E9; (s) ⊦ D2 ≠ E8; (s) ⊦ D2 ≠ E7; (s) ⊦ D2 ≠ E6; (s) ⊦ D2 ≠ E5; (s) ⊦ D2 ≠ E3; (s) ⊦ D2 ≠ E2; (s) ⊦ D2 ≠ E1; (s) ⊦ D2 ≠ crashed; (s) ⊦ D2 ≠ ready; (s) ⊦ D2 ≠ idle; (s)

Proof step 349 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, ¬ absls (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2), alsf(tid)) ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ invDeq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3 ;D2 ), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3 ;D2 ), alsf(tid)

Proof step 350 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 351 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, ¬ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).tid = alsf(tid).tid ∧ ( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E1 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E2 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E3 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E5 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E6 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E7 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E8 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E9 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E10 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst = mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .vtail ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst ] .next = null) ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst = mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .vtail ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst ] .next = null ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E13 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E14 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E15 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).value = alsf(tid).ival) ∧ ( ( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D10 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D11 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D12 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D13 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty) ∧ ( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D21 ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).optval) ∧ ( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D15 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D23 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D24 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D34 → alsf(tid).oval = mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .vrvHp [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))) .vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).tid) ])) ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ invDeq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D2 ≠ D34; (s) ⊦ D3 ≠ D34; (s) ⊦ D2 ≠ D6; (s) ⊦ D3 ≠ D6; (s) ⊦ D2 ≠ D24; (s) ⊦ D3 ≠ D24; (s) ⊦ D2 ≠ D23; (s) ⊦ D3 ≠ D23; (s) ⊦ D2 ≠ D15; (s) ⊦ D3 ≠ D15; (s) ⊦ D2 ≠ D22; (s) ⊦ D3 ≠ D22; (s) ⊦ D2 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D2 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ D2 ≠ D14; (s) ⊦ D3 ≠ D14; (s) ⊦ D2 ≠ D13; (s) ⊦ D3 ≠ D13; (s) ⊦ D2 ≠ D12; (s) ⊦ D3 ≠ D12; (s) ⊦ D2 ≠ D11; (s) ⊦ D3 ≠ D11; (s) ⊦ D2 ≠ D10; (s) ⊦ D3 ≠ D10; (s) ⊦ D2 ≠ E16; (s) ⊦ D3 ≠ E16; (s) ⊦ D2 ≠ E15; (s) ⊦ D3 ≠ E15; (s) ⊦ D2 ≠ E14; (s) ⊦ D3 ≠ E14; (s) ⊦ D2 ≠ E13; (s) ⊦ D3 ≠ E13; (s) ⊦ D2 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ D2 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ D2 ≠ E9; (s) ⊦ D3 ≠ E9; (s) ⊦ D2 ≠ E8; (s) ⊦ D3 ≠ E8; (s) ⊦ D2 ≠ E7; (s) ⊦ D3 ≠ E7; (s) ⊦ D2 ≠ E6; (s) ⊦ D3 ≠ E6; (s) ⊦ D2 ≠ E5; (s) ⊦ D3 ≠ E5; (s) ⊦ D2 ≠ E4; (s) ⊦ D3 ≠ E4; (s) ⊦ D2 ≠ E3; (s) ⊦ D3 ≠ E3; (s) ⊦ D2 ≠ E2; (s) ⊦ D3 ≠ E2; (s) ⊦ D2 ≠ E1; (s) ⊦ D3 ≠ E1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)

Proof step 352 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, tid ≠ alsf(tid).tid ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ invDeq ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val1, val0, obsEmpty0, alsf(tid), optval2, tid0, optval3]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid0, optval2

Proof step 353 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val0, optval2, val1, optval3), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, alsf(tid)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, tid ≠ tid0 ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid))), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ invDeq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 354 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val0, optval2, val1, optval3), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, mkls(tid0, obsEmpty0, val0, optval2, val1, optval3)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, tid ≠ tid0 ∨ abspc (mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2)) ≠ invDeq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-def, seq:⊦ 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 ) ) ) ) ) ), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3 ;D2 )], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr), (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3 ;D2 )

Proof step 355 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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 ) ) ) ) ) )

A spec-lemma

Proof step 356 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val0, optval2, val1, optval3), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, mkls(tid0, obsEmpty0, val0, optval2, val1, optval3)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0, tid ≠ tid0 ∨ ((∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = idle ⊃ idle ;((∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = ready ⊃ ready ;((∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = crashed ⊃ crashed ;( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E1 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E2 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E3 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E4 ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E5 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E6 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E7 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E8 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E9 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E10 ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst = mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .vtail ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst ] .next = null) ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E11 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst = mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .vtail ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).lst ] .next = null ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E13 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E14 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E15 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E16 ⊃ invEnq ;( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E10 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E11 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E12 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E4 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E13 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = E17 ⊃ resEnq ;( (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D1 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D2 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D3 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D4 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D5 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D6 ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D7 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D8 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D9 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D10 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D11 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D12 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D13 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D14 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D16 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D17 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D18 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D19 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D20 ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).success → mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).nxt ] .deqID = None) ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D21 ∧ mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0[rvref1, optval1], prvHp0[rvref1, optval1], qrl0, orl0, owns0, rvowns0(rvref1; Pending(tid0))) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref1, optval1, vhead6, tid1, addr).nxt ] .deqID = None ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D25 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D26 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D27 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D28 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D29 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D30 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D31 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D32 ∨ (∃ rvref, optval00. chooseD2(rvref1, optval1) = chooseD2(rvref, optval00) ⊃ D3;D2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) ≠ invDeq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D2 ≠ D3; (s) ⊦ D1 ≠ D2; (s) ⊦ D1 ≠ D3; (s) ⊦ D2 ≠ E17; (s) ⊦ D3 ≠ E17; (s) ⊦ D2 ≠ E13; (s) ⊦ D3 ≠ E13; (s) ⊦ D2 ≠ E4; (s) ⊦ D3 ≠ E4; (s) ⊦ D2 ≠ E12; (s) ⊦ D3 ≠ E12; (s) ⊦ D2 ≠ E11; (s) ⊦ D3 ≠ E11; (s) ⊦ D2 ≠ E10; (s) ⊦ D3 ≠ E10; (s) ⊦ D2 ≠ E16; (s) ⊦ D3 ≠ E16; (s) ⊦ D2 ≠ E15; (s) ⊦ D3 ≠ E15; (s) ⊦ D2 ≠ E14; (s) ⊦ D3 ≠ E14; (s) ⊦ D2 ≠ E9; (s) ⊦ D3 ≠ E9; (s) ⊦ D2 ≠ E8; (s) ⊦ D3 ≠ E8; (s) ⊦ D2 ≠ E7; (s) ⊦ D3 ≠ E7; (s) ⊦ D2 ≠ E6; (s) ⊦ D3 ≠ E6; (s) ⊦ D2 ≠ E5; (s) ⊦ D3 ≠ E5; (s) ⊦ D2 ≠ E3; (s) ⊦ D3 ≠ E3; (s) ⊦ D2 ≠ E2; (s) ⊦ D3 ≠ E2; (s) ⊦ D2 ≠ E1; (s) ⊦ D3 ≠ E1; (s) ⊦ D2 ≠ crashed; (s) ⊦ D3 ≠ crashed; (s) ⊦ D2 ≠ ready; (s) ⊦ D3 ≠ ready; (s) ⊦ D2 ≠ idle; (s) ⊦ D3 ≠ idle; (s)

Proof step 357 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val0, optval2, val1, optval3), invDeq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), rvref1 ≠ null, tid ≠ tid0, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, mkls(tid0, obsEmpty0, val0, optval2, val1, optval3)), ¬ rvref1 ∈ vrvHp0, ¬ rvref1 ∈ prvHp0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, mkls(tid0, obsEmpty0, val0, optval2, val1, optval3)], <all paths>

Additional information

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) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D2, mkls(tid0, obsEmpty0, val0, optval2, val1, optval3)

Proof step 358 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 359 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca = chooseE1(phead1, nd0, obsEmpty0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseE1(node, nd, success) ≠ τ; (s) ⊦ ren(chooseE1(r, nd, success)) = τ; (s)

Proof step 360 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0))) ≠ apcf(tid) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: pcf(tid)

Additional information

Used simplifier rules: DMSQPC freely generated by D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, E1, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11, E12, E13, E14, E15, E16, E17, crashed, idle, ready ;; ⊦ gstepf(gs, ls, ready, a) = gs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ pre(gs, ls, ready, a) ↔ (∃ value0. a = invENQ(ls.tid, value0)) ∨ a = invDEQ(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ invENQ(tid, invENQvalue); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ chooseE1(node, nd, success) ≠ invDEQ(tid); (s) ⊦ pre(gs, ls, idle, a) ↔ a = callRUN(ls.tid); (s) ⊦ callRUN(tid) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, crashed, a) ↔ false; (s) ⊦ pre(gs, ls, E17, a) ↔ a = retENQ(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ retENQ(tid); (s) ⊦ pre(gs, ls, E16, a) ↔ a = τ; (s) ⊦ chooseE1(node, nd, success) ≠ τ; (s) ⊦ gstepf(gs, ls, E15, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (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) ⊦ 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) .vtail:= phead4 = mkgs (ps, ps0, phead, phead0, phead4, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E15, a) ↔ a = τ; (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) ⊦ 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) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ x + a = x + a '; (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) .vs = ps0; (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) ⊦ pre(gs, ls, E14, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ chooseE1(node, nd, success) = (success0 ⊃ a;τ) ↔ success0 ∧ a = chooseE1(node, nd, success); (s) ⊦ chooseE1(node, nd, success) ≠ doEnq(tid); (s) ⊦ pre(gs, ls, E13, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E12, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.node;gs); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ pre(gs, ls, E12, a) ↔ a = τ; (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) ⊦ pre(gs, ls, E11, a) ↔ a = (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ doEnq(ls.tid);τ); (s) ⊦ pre(gs, ls, E10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E9, a) = ((gs.ps ⊕ gs.vs)[ls.lst].next = ls.nxt ⊃ (gs.vs:= gs.vs[ls.lst, gs.vs[ls.lst].next:= ls.node]) .owns:= gs.owns(ls.node; Weak(ls.tid)) ;gs ); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E9, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E2, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D34, a) ↔ a = retDEQ(ls.tid, ls.optval); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ chooseE1(node, nd, success) ≠ retDEQ(tid, optval); (s) ⊦ pre(gs, ls, D33, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D32, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D31, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead:= phead3 = mkgs (ps, ps0, phead, phead3, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D31, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D30, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D29, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D28, a) = ( ( gs .ps:= gs.ps[ls.nxt, gs.ps[ls.nxt].deqID:= Some(ls.othertid)]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ 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) ⊦ pre(gs, ls, D28, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.othertid);τ); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .othertid = tid0; (s) ⊦ chooseE1(node, nd, success) ≠ doDeq(tid); (s) ⊦ pre(gs, ls, D27, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D26, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D25, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D24, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D24, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D23, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D22, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D21, a) = ( ( gs .ps:= gs.ps [ls.nxt, gs.ps[ls.nxt].deqID:= gs.vs[ls.nxt].deqID ]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ pre(gs, ls, D21, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.tid);τ); (s) ⊦ pre(gs, ls, D20, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D19, a) = ((gs.ps ⊕ gs.vs)[ls.nxt].deqID = None ⊃ (gs.vs:= gs.vs[ls.nxt, gs.vs[ls.nxt].deqID:= Some(ls.tid)]) .rvowns:= gs.rvowns(gs.vretRefs(ls.tid); Claimed(ls.tid, ls.optval.val)) ;gs ); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ pre(gs, ls, D19, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D18, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D17, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D17, a) ↔ a = τ; (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) ⊦ pre(gs, ls, D16, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).tid);τ); (s) ⊦ pre(gs, ls, D15, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D14, a) = gs.prvHp:= gs.prvHp[ls.rvref, gs.vrvHp[ls.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) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D14, a) ↔ a = doDeqEmpty(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ doDeqEmpty(tid); (s) ⊦ pre(gs, ls, D13, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D12, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D11, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D9, a) = gs; (s) ⊦ pre(gs, ls, D9, a) ↔ a = (gs.qrl = [] ⊃ checkEmp(ls.tid);τ); (s) ⊦ checkEmp(tid) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D2, a) ↔ (∃ rvref0, optval00. (¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null) ∧ a = chooseD2(rvref0, optval00)) ∨ a = τ ∧ ¬ (∃ rvref0, optval00. ¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null); (s) ⊦ chooseD2(rvref, optval) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D1, a) ↔ a = τ; (s)

Proof step 361 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0)), pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), chooseE1(phead1, nd0, obsEmpty0))) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ pcstepf(gs, ls, E1, a) = (∃ node0, nd0, success0. a = chooseE1(node0, nd0, success0) ⊃ E2;E1); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success:= success0 = mkls (tid, value, optval, node, nd, success0, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nd:= nd0 = mkls (tid, value, optval, node, nd0, success, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node:= node3 = mkls (tid, value, optval, node3, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0); (s) ⊦ lstepf(gs, ls, E1, chooseE1(node0, nd0, success0)) = ((ls.node:= node0).nd:= nd0).success:= success0; (s) ⊦ chooseE1(node, nd, success) = chooseE1(node0, nd0, success0) ↔ node = node0 ∧ nd = nd0 ∧ (success ↔ success0); (ws) ⊦ chooseE1(node, nd, success) ≠ τ; (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) .vs = ps0; (s) ⊦ pre(gs, ls, E1, a) ↔ (∃ node0, nd0, success0. ( ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)) ∧ a = chooseE1(node0, nd0, success0)) ∨ a = τ ∧ ¬ (∃ node0, nd0, success0. ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)); (s) ⊦ 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) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .node = node; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nd = nd; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ gstepf(gs, ls, E1, chooseE1(node0, nd0, success0)) = ( ( gs .ps:= gs.ps [(((ls.node:= node0).nd:= nd0).success:= success0 ).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .vs:= gs.vs [(((ls.node:= node0).nd:= nd0).success:= success0).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .owns:= gs.owns ((((ls.node:= node0).nd:= nd0).success:= success0).node ; Some((((ls.node:= node0).nd:= nd0).success:= success0).tid) ); (s)

Proof step 362 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ apcf(tid) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-def, seq:⊦ 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 ) ) ) ) ) ), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1

Proof step 363 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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 ) ) ) ) ) )

A spec-lemma

Proof step 364 from proof fwsim-step-abstau (previous step) (back to tree)

(E1 = idle ⊃ idle ;(E1 = ready ⊃ ready ;(E1 = crashed ⊃ crashed ;( E1 = E1 ∨ E1 = E2 ∨ E1 = E3 ∨ E1 = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E10 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ E1 = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 ⊃ invEnq ;(E1 = E10 ∨ E1 = E11 ∨ E1 = E12 ∨ E1 = E4 ∨ E1 = E13 ∨ E1 = E17 ⊃ resEnq ;( E1 = D1 ∨ E1 = D2 ∨ E1 = D3 ∨ E1 = D4 ∨ E1 = D5 ∨ E1 = D6 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ E1 = D7 ∨ E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D20 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None) ∨ E1 = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid), E1 = pcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ E1 ≠ crashed; (s) ⊦ E1 ≠ ready; (s) ⊦ E1 ≠ idle; (s)

Proof step 365 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), invEnq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1

Proof step 366 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 367 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), invEnq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, E1 = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E1 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E1 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = D6 → ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E1 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, E1 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, E1 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E1 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), E1 = D12 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), E1 = D13 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E1 = D14 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, E1 = D15 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, E1 = D16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E1 = D17 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E1 = D18 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E1 = D19 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E1 = D20 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), E1 = D21 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), E1 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E1 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E1 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], E1 = D25 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E1 = D26 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E1 = D27 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), E1 = D28 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E1 = D29 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E1 = D30 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), E1 = D31 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, E1 = D34 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), E1 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), E1 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E1 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E1 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), E1 = E10 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), E1 = E11 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), E1 = E12 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, E1 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E1 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, E1 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E2 ∨ E1 = E3 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, E1 = E4 ∨ E1 = E10 → ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], E1 = E3 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], E1 = D7 ∨ E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 → ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = D13 ∨ E1 = D14 ∨ E1 = D15 → ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), E1 = E2 ∨ E1 = E3 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D15 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D20 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, E1 = D18 ∨ E1 = D19 ∨ E1 = D20 ∨ E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D20 ∨ E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, E1 = D5 ∨ E1 = D6 ∨ E1 = D7 ∨ E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D15 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D20 ∨ E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), E1 = idle ∨ E1 = ready ∨ E1 = E1 ∨ E1 = E2 ∨ E1 = E3 ∨ E1 = E4 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E10 ∨ E1 = E11 ∨ E1 = E12 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 ∨ E1 = E17 ∨ E1 = D1 ∨ E1 = D2 ∨ E1 = D3 ∨ E1 = D4 ∨ E1 = D5 ∨ E1 = D6 ∨ E1 = D7 ∨ E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D15 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 ∨ E1 = D34 → nextnottid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E1 = D20 ∨ E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E1 = crashed ∨ E1 = idle ∨ E1 = ready ∨ E1 = E1 ∨ E1 = E2 ∨ E1 = E3 ∨ E1 = E4 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E10 ∨ E1 = E11 ∨ E1 = E12 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 ∨ E1 = E17 ∨ E1 = D1 ∨ E1 = D2 ∨ E1 = D3 ∨ E1 = D4 ∨ E1 = D5 ∨ E1 = D6 ∨ E1 = D7 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 ∨ E1 = D34 → noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D15 ∨ E1 = D18 ∨ E1 = D19 → noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E1 = D22 ∨ E1 = D23 ∨ E1 = D24 → noid (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), E1 = crashed ∨ E1 = idle ∨ E1 = ready ∨ E1 = D1 ∨ E1 = D2 ∨ E1 = D3 ∨ E1 = D4 ∨ E1 = D5 ∨ E1 = D6 ∨ E1 = D7 ∨ E1 = D8 ∨ E1 = D9 ∨ E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14 ∨ E1 = D15 ∨ E1 = D16 ∨ E1 = D17 ∨ E1 = D18 ∨ E1 = D19 ∨ E1 = D20 ∨ E1 = D21 ∨ E1 = D22 ∨ E1 = D23 ∨ E1 = D24 ∨ E1 = D25 ∨ E1 = D26 ∨ E1 = D27 ∨ E1 = D28 ∨ E1 = D29 ∨ E1 = D30 ∨ E1 = D31 ∨ E1 = D32 ∨ E1 = D33 ∨ E1 = D34 ∨ E1 = E1 ∨ E1 = E12 ∨ E1 = E17 → noowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), E1 = E2 ∨ E1 = E3 ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → oneowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), E1 = E10 → (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), E1 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), E1 = E4 → (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D3 ≠ E1; (s) ⊦ D4 ≠ E1; (s) ⊦ D5 ≠ E1; (s) ⊦ D6 ≠ E1; (s) ⊦ D8 ≠ E1; (s) ⊦ D9 ≠ E1; (s) ⊦ D10 ≠ E1; (s) ⊦ D11 ≠ E1; (s) ⊦ D12 ≠ E1; (s) ⊦ D13 ≠ E1; (s) ⊦ D14 ≠ E1; (s) ⊦ D15 ≠ E1; (s) ⊦ D16 ≠ E1; (s) ⊦ D17 ≠ E1; (s) ⊦ D18 ≠ E1; (s) ⊦ D19 ≠ E1; (s) ⊦ D20 ≠ E1; (s) ⊦ D21 ≠ E1; (s) ⊦ D22 ≠ E1; (s) ⊦ D23 ≠ E1; (s) ⊦ D24 ≠ E1; (s) ⊦ D25 ≠ E1; (s) ⊦ D26 ≠ E1; (s) ⊦ D27 ≠ E1; (s) ⊦ D28 ≠ E1; (s) ⊦ D29 ≠ E1; (s) ⊦ D30 ≠ E1; (s) ⊦ D31 ≠ E1; (s) ⊦ D34 ≠ E1; (s) ⊦ E1 ≠ E2; (s) ⊦ E1 ≠ E3; (s) ⊦ E1 ≠ E5; (s) ⊦ E1 ≠ E6; (s) ⊦ E1 ≠ E7; (s) ⊦ E1 ≠ E8; (s) ⊦ E1 ≠ E9; (s) ⊦ E1 ≠ E10; (s) ⊦ E1 ≠ E11; (s) ⊦ E1 ≠ E12; (s) ⊦ E1 ≠ E13; (s) ⊦ E1 ≠ E14; (s) ⊦ E1 ≠ E15; (s) ⊦ E1 ≠ E16; (s) ⊦ E1 ≠ E4; (s) ⊦ D33 ≠ E1; (s) ⊦ D32 ≠ E1; (s) ⊦ D7 ≠ E1; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ E1 ≠ ready; (s) ⊦ E1 ≠ 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) ⊦ E1 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D2 ≠ E1; (s) ⊦ D1 ≠ E1; (s)

Proof step 368 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), invEnq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)), nextnottid(tid, vhead1, vs0), noid(tid, orl0 + qrl0, vhead1, vs0), noowns(tid, owns0), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), E1, alsf(tid)

Proof step 369 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 370 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid, E1 = pcf(tid), invEnq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid, vhead1, vs0), noid(tid, orl0 + qrl0, vhead1, vs0), noowns(tid, owns0), ¬ vhead7 ∈ vs0, ¬ vhead7 ∈ ps0, E1 = E1 ∨ E1 = E2 ∨ E1 = E3 ∨ E1 = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ E1 = E5 ∨ E1 = E6 ∨ E1 = E7 ∨ E1 = E8 ∨ E1 = E9 ∨ E1 = E10 ∧ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ E1 = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ E1 = E13 ∨ E1 = E14 ∨ E1 = E15 ∨ E1 = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival, (E1 = D10 ∨ E1 = D11 ∨ E1 = D12 ∨ E1 = D13 ∨ E1 = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty, E1 = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ E1 = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ E1 = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, E1 = D15 ∨ E1 = D23 ∨ E1 = D24 ∨ E1 = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ E1 = D34 → alsf(tid).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ D14 ≠ E1; (s) ⊦ D13 ≠ E1; (s) ⊦ D12 ≠ E1; (s) ⊦ D11 ≠ E1; (s) ⊦ D10 ≠ E1; (s) ⊦ D22 ≠ E1; (s) ⊦ D21 ≠ E1; (s) ⊦ D20 ≠ E1; (s) ⊦ D34 ≠ E1; (s) ⊦ D6 ≠ E1; (s) ⊦ D24 ≠ E1; (s) ⊦ D23 ≠ E1; (s) ⊦ D15 ≠ E1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s)

Proof step 371 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), invEnq = apcf(tid), lsf(tid) = mkls(tid, alsf(tid).ival, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = alsf(tid).tid, vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid, vhead1, vs0), noid(tid, orl0 + qrl0, vhead1, vs0), noowns(tid, owns0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, alsf(tid).ival, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, alsf(tid).ival, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val0, val, obsEmpty0, alsf(tid), optval1, tid0, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid0, optval1

Proof step 372 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), invEnq = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = tid0, vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid, vhead1, vs0), noid(tid, orl0 + qrl0, vhead1, vs0), noowns(tid, owns0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), alsf(tid)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid)), rvowns0), mkls(tid, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 373 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), noowns(tid0, owns0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ absls (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1), mkls(tid0, obsEmpty0, val, optval1, val0, optval2)) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls (tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2 ;E1 ), mkls(tid0, obsEmpty0, val, optval1, val0, optval2)], <all paths>

Additional information

Used terms: mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls (tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2 ;E1 ), mkls(tid0, obsEmpty0, val, optval1, val0, optval2)

Proof step 374 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 375 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), noowns(tid0, owns0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ ¬ ( mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = mkls(tid0, obsEmpty0, val, optval1, val0, optval2).tid ∧ ( (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E1 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E2 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E3 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E4 ∧ ¬ mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E5 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E6 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E7 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E8 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E9 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E10 ∧ ( mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .vtail ∧ mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .ps [mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E11 ∧ mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .vtail ∧ mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .ps [mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E13 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E14 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E15 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = E16 → mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = mkls(tid0, obsEmpty0, val, optval1, val0, optval2).ival) ∧ ( ( (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D10 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D11 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D12 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D13 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D14) ∧ mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val, optval1, val0, optval2).obsEmpty) ∧ ( (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D20 ∧ mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .ps [mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D21 ∧ mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .ps [mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D22 → mkls(tid0, obsEmpty0, val, optval1, val0, optval2).oval = mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∧ ( (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D15 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D23 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D24 ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D6 ∧ mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1) = D34 → mkls(tid0, obsEmpty0, val, optval1, val0, optval2).oval = mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .vrvHp [mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0) .vretRefs (mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ])) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D34 ≠ E1; (s) ⊦ D34 ≠ E2; (s) ⊦ D6 ≠ E1; (s) ⊦ D6 ≠ E2; (s) ⊦ D24 ≠ E1; (s) ⊦ D24 ≠ E2; (s) ⊦ D23 ≠ E1; (s) ⊦ D23 ≠ E2; (s) ⊦ D15 ≠ E1; (s) ⊦ D15 ≠ E2; (s) ⊦ D22 ≠ E1; (s) ⊦ D22 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E2; (s) ⊦ D14 ≠ E1; (s) ⊦ D14 ≠ E2; (s) ⊦ D13 ≠ E1; (s) ⊦ D13 ≠ E2; (s) ⊦ D12 ≠ E1; (s) ⊦ D12 ≠ E2; (s) ⊦ D11 ≠ E1; (s) ⊦ D11 ≠ E2; (s) ⊦ D10 ≠ E1; (s) ⊦ D10 ≠ E2; (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) ⊦ E1 ≠ E2; (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)

Proof step 376 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead7 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), noowns(tid0, owns0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 377 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 378 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], vhead7 ≠ null, allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), noowns(tid0, owns0), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ vs0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 379 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], vhead7 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ 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), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead7, nd0]) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:content-modnotin, seq: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps), subst:[orl, ps, r, nd] → [qrl0, ps0, vhead7, nd0], <all paths>

Additional information

Used simplifier rules: list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: qrl0, ps0, vhead7, nd0

Proof step 380 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps)

A spec-lemma

Proof step 381 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], vhead7 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead7 ∈ qrl0, ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ 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), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, content(qrl0, ps0) ≠ content(qrl0, ps0) ∨ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) ≠ invEnq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 382 from proof fwsim-step-abstau (previous step) (back to tree)

E1 = pcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val, optval1, val0, optval2), dom vrvHp0 = dom prvHp0, invEnq = apcf(tid0), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], vhead7 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nextnottid(tid0, vhead1, vs0), noid(tid0, orl0 + qrl0, vhead1, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid0, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ vhead7 ∈ qrl0, ¬ vhead7 ∈ ps0, ¬ vhead7 ∈ 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), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦ abspc (mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls(tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2;E1)) = invEnq

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-def, seq:⊦ 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 ) ) ) ) ) ), subst:[gs, ls, pc] → [mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls (tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2 ;E1 )], <all paths>

Additional information

Used simplifier rules: ⊦ E2 ≠ idle; (s) ⊦ E1 ≠ idle; (s) ⊦ E2 ≠ ready; (s) ⊦ E1 ≠ ready; (s) ⊦ E2 ≠ crashed; (s) ⊦ E1 ≠ crashed; (s) ⊦ E1 ≠ E2; (s) Used terms: mkgs (ps0[vhead7, nd0], vs0[vhead7, nd0], phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0(vhead7; Some(tid0)), rvowns0), mkls (tid0, val, optval, vhead7, nd0, false, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (∃ node0, nd, success0. chooseE1(vhead7, nd0, false) = chooseE1(node0, nd, success0) ⊃ E2 ;E1 )

Proof step 383 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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 ) ) ) ) ) )

A spec-lemma

Proof step 384 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) ), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), (tid0 = tid ⊃ lstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr) ), (tid0 = tid ⊃ pcstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), ca) ;pcf(tid) )) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 385 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 386 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-equal, seq:⊦ 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 ) ) ) ) ) ), subst:[ls0, pc, gs0, ls, gs] → [mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)], <all paths>

Additional information

Used terms: mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns)

Proof step 387 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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) ) ) ) ) )

A spec-lemma

Proof step 388 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ (pcf(tid) = E4 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = E10 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, 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(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = E11 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, 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(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = D6 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = D20 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;(pcf(tid) = D21 ⊃ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;true ) ) ) ) ) ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)

Proof step 389 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls (mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 390 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 391 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid ∧ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, 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(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, 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(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival) ∧ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty) ∧ ( pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∧ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = 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(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ])) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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, 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, 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) .vtail = phead1; (s)

Proof step 392 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ alsf(tid).tid ∨ ¬ ( 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 → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty) ∨ ¬(pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp[vretRefs(tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val1, val0, obsEmpty0, alsf(tid), optval1, tid2, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid2, optval1

Proof step 393 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ tid2 ∨ ¬ ( 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 → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val0) ∨ ¬((pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬(pcf(tid) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval) ∨ ¬(pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval1 = vrvHp[vretRefs(tid)]) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 394 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid2, obsEmpty0, val0, optval1, val1, optval2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ tid2 ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬((pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-def, seq:⊦ 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 ) ) ) ) ) ), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)

Proof step 395 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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 ) ) ) ) ) )

A spec-lemma

Proof step 396 from proof fwsim-step-abstau (previous step) (back to tree)

(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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None) ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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 ) ) ) ) ) ) = apcf(tid), alsf(tid) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid2, obsEmpty0, val0, optval1, val1, optval2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ tid2 ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬((pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)

Proof step 397 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid) = idle ⊃ idle ;(pcf(tid) = ready ⊃ ready ;(pcf(tid) = crashed ⊃ 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].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) = E17 ⊃ resEnq ;( pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid) = D21 ∧ ps0[vhead5].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 ) ) ) ) ) ) = apcf(tid), alsf(tid) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid2, obsEmpty0, val0, optval1, val1, optval2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ tid2 ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬((pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid2, obsEmpty0, val0, optval1, val1, optval2)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkls(tid2, obsEmpty0, val0, optval1, val1, optval2)

Proof step 398 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 399 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2).tid, (pcf(tid) = idle ⊃ idle ;(pcf(tid) = ready ⊃ ready ;(pcf(tid) = crashed ⊃ 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].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) = E17 ⊃ resEnq ;( pcf(tid) = D1 ∨ pcf(tid) = D2 ∨ pcf(tid) = D3 ∨ pcf(tid) = D4 ∨ pcf(tid) = D5 ∨ pcf(tid) = D6 ∧ ¬ obsEmpty ∨ pcf(tid) = D7 ∨ pcf(tid) = D8 ∨ pcf(tid) = D9 ∨ pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14 ∨ pcf(tid) = D16 ∨ pcf(tid) = D17 ∨ pcf(tid) = D18 ∨ pcf(tid) = D19 ∨ pcf(tid) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid) = D21 ∧ ps0[vhead5].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 ) ) ) ) ) ) = apcf(tid), alsf(tid) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → mkls(tid2, obsEmpty0, val0, optval1, val1, optval2).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → mkls(tid2, obsEmpty0, val0, optval1, val1, optval2).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → mkls(tid2, obsEmpty0, val0, optval1, val1, optval2).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ tid ≠ tid2 ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬((pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 400 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: ca

Additional information

Used simplifier rules: not-pre-FLUSHHEAD: ⊦ ¬ pre(gs, ls, pc, globalFLUSHHEAD); not-pre-FLUSHVAL: ⊦ ¬ pre(gs, ls, pc, globalFLUSHVAL(r)); DMSQAction freely generated by globalCRASH, globalFLUSHHEAD, τ, callRUN, checkEmp, chooseD2, chooseE1, doDeq, doDeqEmpty, doEnq, globalFLUSHVAL, invDEQ, invENQ, retDEQ, retENQ ;; ⊦ ren(retENQ(tid)) = RetEnq(tid); (s) ⊦ RetEnq(tid) ≠ τ; (s) ⊦ ren(retDEQ(tid, optval)) = RetDeq(tid, optval); (s) ⊦ RetDeq(tid, optval) ≠ τ; (s) ⊦ ren(invENQ(tid, val)) = InvEnq(tid, val); (s) ⊦ InvEnq(tid, val) ≠ τ; (s) ⊦ ren(invDEQ(tid)) = InvDeq(tid); (s) ⊦ InvDeq(tid) ≠ τ; (s) ⊦ ren(globalFLUSHVAL(r)) = τ; (s) ⊦ globalFLUSHVAL(node) ≠ τ; (s) ⊦ ren(doEnq(tid)) = DoEnq(tid); (s) ⊦ DoEnq(tid) ≠ τ; (s) ⊦ ren(doDeqEmpty(tid)) = DoDeqEmpty(tid); (s) ⊦ DoDeqEmpty(tid) ≠ τ; (s) ⊦ ren(doDeq(tid)) = DoDeq(tid); (s) ⊦ DoDeq(tid) ≠ τ; (s) ⊦ ren(checkEmp(tid)) = CheckEmp(tid); (s) ⊦ CheckEmp(tid) ≠ τ; (s) ⊦ ren(callRUN(tid)) = callRun(tid); (s) ⊦ callRun(tid) ≠ τ; (s) ⊦ ren(globalFLUSHHEAD) = τ; (s) ⊦ globalFLUSHHEAD ≠ τ; (s) ⊦ ren(globalCRASH) = globalCrash; (s) ⊦ globalCrash ≠ τ; (s)

Proof step 401 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), ca = chooseD2(rvref0, optval3), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseD2(rvref, optval) ≠ τ; (s) ⊦ ren(chooseD2(rvref, optval0)) = τ; (s)

Proof step 402 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseD2(rvref0, optval3)), tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseD2(rvref0, optval3)), pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: pcf(tid0)

Additional information

Used simplifier rules: DMSQPC freely generated by D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, E1, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11, E12, E13, E14, E15, E16, E17, crashed, idle, ready ;; ⊦ gstepf(gs, ls, ready, a) = gs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ pre(gs, ls, ready, a) ↔ (∃ value0. a = invENQ(ls.tid, value0)) ∨ a = invDEQ(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ invENQ(tid, invENQvalue); (s) ⊦ chooseD2(rvref, optval) ≠ invDEQ(tid); (s) ⊦ pre(gs, ls, idle, a) ↔ a = callRUN(ls.tid); (s) ⊦ callRUN(tid) ≠ chooseD2(rvref, optval); (s) ⊦ pre(gs, ls, crashed, a) ↔ false; (s) ⊦ pre(gs, ls, E17, a) ↔ a = retENQ(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ retENQ(tid); (s) ⊦ pre(gs, ls, E16, a) ↔ a = τ; (s) ⊦ chooseD2(rvref, optval) ≠ τ; (s) ⊦ gstepf(gs, ls, E15, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (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) .vtail:= phead4 = mkgs (ps, ps0, phead, phead0, phead4, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E15, a) ↔ a = τ; (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) ⊦ 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) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ x + a = x + a '; (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) .vs = ps0; (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) ⊦ pre(gs, ls, E14, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ chooseD2(rvref, optval0) = (success ⊃ a;τ) ↔ success ∧ a = chooseD2(rvref, optval0); (s) ⊦ chooseD2(rvref, optval) ≠ doEnq(tid); (s) ⊦ pre(gs, ls, E13, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E12, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.node;gs); (s) ⊦ pre(gs, ls, E12, a) ↔ a = τ; (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) ⊦ pre(gs, ls, E11, a) ↔ a = (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ doEnq(ls.tid);τ); (s) ⊦ pre(gs, ls, E10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E9, a) = ((gs.ps ⊕ gs.vs)[ls.lst].next = ls.nxt ⊃ (gs.vs:= gs.vs[ls.lst, gs.vs[ls.lst].next:= ls.node]) .owns:= gs.owns(ls.node; Weak(ls.tid)) ;gs ); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E9, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E2, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E1, a) ↔ (∃ node0, nd0, success0. ( ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)) ∧ a = chooseE1(node0, nd0, success0)) ∨ a = τ ∧ ¬ (∃ node0, nd0, success0. ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)); (s) ⊦ chooseD2(rvref, optval) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D34, a) ↔ a = retDEQ(ls.tid, ls.optval); (s) ⊦ chooseD2(rvref, optval) ≠ retDEQ(tid, optval0); (s) ⊦ pre(gs, ls, D33, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D32, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D31, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (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) .vhead:= phead3 = mkgs (ps, ps0, phead, phead3, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D31, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D30, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D29, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D28, a) = ( ( gs .ps:= gs.ps[ls.nxt, gs.ps[ls.nxt].deqID:= Some(ls.othertid)]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ 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) ⊦ pre(gs, ls, D28, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.othertid);τ); (s) ⊦ chooseD2(rvref, optval) ≠ doDeq(tid); (s) ⊦ pre(gs, ls, D27, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D26, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D25, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D24, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D24, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D23, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D22, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D21, a) = ( ( gs .ps:= gs.ps [ls.nxt, gs.ps[ls.nxt].deqID:= gs.vs[ls.nxt].deqID ]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ pre(gs, ls, D21, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.tid);τ); (s) ⊦ pre(gs, ls, D20, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D19, a) = ((gs.ps ⊕ gs.vs)[ls.nxt].deqID = None ⊃ (gs.vs:= gs.vs[ls.nxt, gs.vs[ls.nxt].deqID:= Some(ls.tid)]) .rvowns:= gs.rvowns(gs.vretRefs(ls.tid); Claimed(ls.tid, ls.optval.val)) ;gs ); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ pre(gs, ls, D19, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D18, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D17, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D17, a) ↔ a = τ; (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) ⊦ pre(gs, ls, D16, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).tid);τ); (s) ⊦ pre(gs, ls, D15, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D14, a) = gs.prvHp:= gs.prvHp[ls.rvref, gs.vrvHp[ls.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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D14, a) ↔ a = doDeqEmpty(ls.tid); (s) ⊦ chooseD2(rvref, optval) ≠ doDeqEmpty(tid); (s) ⊦ pre(gs, ls, D13, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D12, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D11, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D9, a) = gs; (s) ⊦ pre(gs, ls, D9, a) ↔ a = (gs.qrl = [] ⊃ checkEmp(ls.tid);τ); (s) ⊦ checkEmp(tid) ≠ chooseD2(rvref, optval); (s) ⊦ pre(gs, ls, D8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D1, a) ↔ a = τ; (s)

Proof step 403 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseD2(rvref0, optval3)), tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseD2(rvref0, optval3)), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseD2(rvref, optval) = chooseD2(rvref0, optval0) ↔ rvref = rvref0 ∧ optval = optval0; (ws) ⊦ chooseD2(rvref, optval) ≠ τ; (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) ⊦ pre(gs, ls, D2, a) ↔ (∃ rvref0, optval00. (¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null) ∧ a = chooseD2(rvref0, optval00)) ∨ a = τ ∧ ¬ (∃ rvref0, optval00. ¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ (ls.rvref:= rvref).tid = ls.tid; (s) ⊦ (ls.optval0:= optval0).tid = ls.tid; (s) ⊦ (ls.rvref:= rvref).rvref = rvref; (s) ⊦ (ls.optval0:= optval0).rvref = ls.rvref; (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) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ (ls.optval0:= optval0).optval0 = optval0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp:= vrvHp1 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp1, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ gstepf(gs, ls, D2, chooseD2(rvref0, optval00)) = ( ( gs .vrvHp:= gs.vrvHp [((ls.rvref:= rvref0).optval0:= optval00 ).rvref, ((ls.rvref:= rvref0).optval0:= optval00 ).optval0 ]) .prvHp:= gs.prvHp [((ls.rvref:= rvref0).optval0:= optval00).rvref, ((ls.rvref:= rvref0).optval0:= optval00).optval0 ]) .rvowns:= gs.rvowns (((ls.rvref:= rvref0).optval0:= optval00).rvref ; Pending(((ls.rvref:= rvref0).optval0:= optval00).tid) ); (s)

Proof step 404 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Used simplifier rules: ⊦ E1 ≠ idle; (s) ⊦ E2 ≠ idle; (s) ⊦ E3 ≠ idle; (s) ⊦ E4 ≠ idle; (s) ⊦ E5 ≠ idle; (s) ⊦ E6 ≠ idle; (s) ⊦ E7 ≠ idle; (s) ⊦ E8 ≠ idle; (s) ⊦ E9 ≠ idle; (s) ⊦ E10 ≠ idle; (s) ⊦ E11 ≠ idle; (s) ⊦ E13 ≠ idle; (s) ⊦ E14 ≠ idle; (s) ⊦ E15 ≠ idle; (s) ⊦ E16 ≠ idle; (s) ⊦ D10 ≠ idle; (s) ⊦ D11 ≠ idle; (s) ⊦ D12 ≠ idle; (s) ⊦ D13 ≠ idle; (s) ⊦ D14 ≠ idle; (s) ⊦ D20 ≠ idle; (s) ⊦ D21 ≠ idle; (s) ⊦ D22 ≠ idle; (s) ⊦ D15 ≠ idle; (s) ⊦ D23 ≠ idle; (s) ⊦ D24 ≠ idle; (s) ⊦ D6 ≠ idle; (s) ⊦ D34 ≠ idle; (s)

Proof step 405 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Used simplifier rules: ⊦ idle ≠ ready; (s) ⊦ D20 ≠ ready; (s) ⊦ D21 ≠ ready; (s) ⊦ D22 ≠ ready; (s) ⊦ D10 ≠ ready; (s) ⊦ D11 ≠ ready; (s) ⊦ D12 ≠ ready; (s) ⊦ D13 ≠ ready; (s) ⊦ D14 ≠ ready; (s) ⊦ E1 ≠ ready; (s) ⊦ E2 ≠ ready; (s) ⊦ E3 ≠ ready; (s) ⊦ E4 ≠ ready; (s) ⊦ E5 ≠ ready; (s) ⊦ E6 ≠ ready; (s) ⊦ E7 ≠ ready; (s) ⊦ E8 ≠ ready; (s) ⊦ E9 ≠ ready; (s) ⊦ E10 ≠ ready; (s) ⊦ E11 ≠ ready; (s) ⊦ E13 ≠ ready; (s) ⊦ E14 ≠ ready; (s) ⊦ E15 ≠ ready; (s) ⊦ E16 ≠ ready; (s) ⊦ D15 ≠ ready; (s) ⊦ D23 ≠ ready; (s) ⊦ D24 ≠ ready; (s) ⊦ D6 ≠ ready; (s) ⊦ D34 ≠ ready; (s)

Proof step 406 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Used simplifier rules: ⊦ crashed ≠ idle; (s) ⊦ crashed ≠ ready; (s) ⊦ E1 ≠ crashed; (s) ⊦ E2 ≠ crashed; (s) ⊦ E3 ≠ crashed; (s) ⊦ E4 ≠ crashed; (s) ⊦ E5 ≠ crashed; (s) ⊦ E6 ≠ crashed; (s) ⊦ E7 ≠ crashed; (s) ⊦ E8 ≠ crashed; (s) ⊦ E9 ≠ crashed; (s) ⊦ E10 ≠ crashed; (s) ⊦ E11 ≠ crashed; (s) ⊦ E13 ≠ crashed; (s) ⊦ E14 ≠ crashed; (s) ⊦ E15 ≠ crashed; (s) ⊦ E16 ≠ crashed; (s) ⊦ D10 ≠ crashed; (s) ⊦ D11 ≠ crashed; (s) ⊦ D12 ≠ crashed; (s) ⊦ D13 ≠ crashed; (s) ⊦ D14 ≠ crashed; (s) ⊦ D20 ≠ crashed; (s) ⊦ D21 ≠ crashed; (s) ⊦ D22 ≠ crashed; (s) ⊦ D15 ≠ crashed; (s) ⊦ D23 ≠ crashed; (s) ⊦ D24 ≠ crashed; (s) ⊦ D6 ≠ crashed; (s) ⊦ D34 ≠ crashed; (s)

Proof step 407 from proof fwsim-step-abstau (previous step) (back to tree)

( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 408 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), invEnq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 20

Additional information

Used simplifier rules: ⊦ D34 ≠ idle; (s) ⊦ D34 ≠ ready; (s) ⊦ D34 ≠ crashed; (s) ⊦ D10 ≠ D34; (s) ⊦ D11 ≠ D34; (s) ⊦ D12 ≠ D34; (s) ⊦ D13 ≠ D34; (s) ⊦ D14 ≠ D34; (s) ⊦ D20 ≠ D34; (s) ⊦ D21 ≠ D34; (s) ⊦ D22 ≠ D34; (s) ⊦ D34 ≠ E1; (s) ⊦ D34 ≠ E2; (s) ⊦ D34 ≠ E3; (s) ⊦ D34 ≠ E4; (s) ⊦ D34 ≠ E5; (s) ⊦ D34 ≠ E6; (s) ⊦ D34 ≠ E7; (s) ⊦ D34 ≠ E8; (s) ⊦ D34 ≠ E9; (s) ⊦ D34 ≠ E10; (s) ⊦ D34 ≠ E11; (s) ⊦ D34 ≠ E13; (s) ⊦ D34 ≠ E14; (s) ⊦ D34 ≠ E15; (s) ⊦ D34 ≠ E16; (s) ⊦ D6 ≠ idle; (s) ⊦ D6 ≠ ready; (s) ⊦ D6 ≠ crashed; (s) ⊦ D6 ≠ D20; (s) ⊦ D6 ≠ D21; (s) ⊦ D6 ≠ D22; (s) ⊦ D6 ≠ E1; (s) ⊦ D6 ≠ E2; (s) ⊦ D6 ≠ E3; (s) ⊦ D6 ≠ E5; (s) ⊦ D6 ≠ E6; (s) ⊦ D6 ≠ E7; (s) ⊦ D6 ≠ E8; (s) ⊦ D6 ≠ E9; (s) ⊦ D6 ≠ E10; (s) ⊦ D6 ≠ E11; (s) ⊦ D6 ≠ E13; (s) ⊦ D6 ≠ E14; (s) ⊦ D6 ≠ E15; (s) ⊦ D6 ≠ E16; (s) ⊦ D24 ≠ idle; (s) ⊦ D24 ≠ ready; (s) ⊦ D24 ≠ crashed; (s) ⊦ D10 ≠ D24; (s) ⊦ D11 ≠ D24; (s) ⊦ D12 ≠ D24; (s) ⊦ D13 ≠ D24; (s) ⊦ D14 ≠ D24; (s) ⊦ D20 ≠ D24; (s) ⊦ D21 ≠ D24; (s) ⊦ D22 ≠ D24; (s) ⊦ D24 ≠ E1; (s) ⊦ D24 ≠ E2; (s) ⊦ D24 ≠ E3; (s) ⊦ D24 ≠ E4; (s) ⊦ D24 ≠ E5; (s) ⊦ D24 ≠ E6; (s) ⊦ D24 ≠ E7; (s) ⊦ D24 ≠ E8; (s) ⊦ D24 ≠ E9; (s) ⊦ D24 ≠ E10; (s) ⊦ D24 ≠ E11; (s) ⊦ D24 ≠ E13; (s) ⊦ D24 ≠ E14; (s) ⊦ D24 ≠ E15; (s) ⊦ D24 ≠ E16; (s) ⊦ D23 ≠ idle; (s) ⊦ D23 ≠ ready; (s) ⊦ D23 ≠ crashed; (s) ⊦ D10 ≠ D23; (s) ⊦ D11 ≠ D23; (s) ⊦ D12 ≠ D23; (s) ⊦ D13 ≠ D23; (s) ⊦ D14 ≠ D23; (s) ⊦ D20 ≠ D23; (s) ⊦ D21 ≠ D23; (s) ⊦ D22 ≠ D23; (s) ⊦ D23 ≠ E1; (s) ⊦ D23 ≠ E2; (s) ⊦ D23 ≠ E3; (s) ⊦ D23 ≠ E4; (s) ⊦ D23 ≠ E5; (s) ⊦ D23 ≠ E6; (s) ⊦ D23 ≠ E7; (s) ⊦ D23 ≠ E8; (s) ⊦ D23 ≠ E9; (s) ⊦ D23 ≠ E10; (s) ⊦ D23 ≠ E11; (s) ⊦ D23 ≠ E13; (s) ⊦ D23 ≠ E14; (s) ⊦ D23 ≠ E15; (s) ⊦ D23 ≠ E16; (s) ⊦ D15 ≠ idle; (s) ⊦ D15 ≠ ready; (s) ⊦ D15 ≠ crashed; (s) ⊦ D10 ≠ D15; (s) ⊦ D11 ≠ D15; (s) ⊦ D12 ≠ D15; (s) ⊦ D13 ≠ D15; (s) ⊦ D14 ≠ D15; (s) ⊦ D15 ≠ D20; (s) ⊦ D15 ≠ D21; (s) ⊦ D15 ≠ D22; (s) ⊦ D15 ≠ E1; (s) ⊦ D15 ≠ E2; (s) ⊦ D15 ≠ E3; (s) ⊦ D15 ≠ E4; (s) ⊦ D15 ≠ E5; (s) ⊦ D15 ≠ E6; (s) ⊦ D15 ≠ E7; (s) ⊦ D15 ≠ E8; (s) ⊦ D15 ≠ E9; (s) ⊦ D15 ≠ E10; (s) ⊦ D15 ≠ E11; (s) ⊦ D15 ≠ E13; (s) ⊦ D15 ≠ E14; (s) ⊦ D15 ≠ E15; (s) ⊦ D15 ≠ E16; (s)

Proof step 409 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) ≠ E4 ∨ obsEmpty, pcf(tid2) ≠ E10 ∨ ¬(obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null), pcf(tid2) ≠ E11 ∨ vhead4 ≠ vhead2 ∨ ps0[vhead2].next ≠ null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 410 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null → val = val0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) ≠ E11 ∨ vhead4 ≠ vhead2 ∨ ps0[vhead2].next ≠ null, pcf(tid2) ≠ E10 ∨ ¬(obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null), pcf(tid2) ≠ E4 ∨ obsEmpty, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 411 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), resEnq = apcf(tid2), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null → val = val0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) ≠ E4 ∨ obsEmpty, pcf(tid2) ≠ E10 ∨ ¬(obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null), pcf(tid2) ≠ E11 ∨ vhead4 ≠ vhead2 ∨ ps0[vhead2].next ≠ null, pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 36

Additional information

Used simplifier rules: ⊦ E17 ≠ idle; (s) ⊦ E17 ≠ ready; (s) ⊦ E17 ≠ crashed; (s) ⊦ E1 ≠ E17; (s) ⊦ E2 ≠ E17; (s) ⊦ E3 ≠ E17; (s) ⊦ E5 ≠ E17; (s) ⊦ E6 ≠ E17; (s) ⊦ E7 ≠ E17; (s) ⊦ E8 ≠ E17; (s) ⊦ E9 ≠ E17; (s) ⊦ E13 ≠ E17; (s) ⊦ E14 ≠ E17; (s) ⊦ E15 ≠ E17; (s) ⊦ E16 ≠ E17; (s) ⊦ D10 ≠ E17; (s) ⊦ D11 ≠ E17; (s) ⊦ D12 ≠ E17; (s) ⊦ D13 ≠ E17; (s) ⊦ D14 ≠ E17; (s) ⊦ D20 ≠ E17; (s) ⊦ D21 ≠ E17; (s) ⊦ D22 ≠ E17; (s) ⊦ E11 ≠ E17; (s) ⊦ E10 ≠ E17; (s) ⊦ E4 ≠ E17; (s) ⊦ D15 ≠ E17; (s) ⊦ D23 ≠ E17; (s) ⊦ D24 ≠ E17; (s) ⊦ D6 ≠ E17; (s) ⊦ D34 ≠ E17; (s) ⊦ E4 ≠ idle; (s) ⊦ E4 ≠ ready; (s) ⊦ E4 ≠ crashed; (s) ⊦ E1 ≠ E4; (s) ⊦ E2 ≠ E4; (s) ⊦ E3 ≠ E4; (s) ⊦ E4 ≠ E5; (s) ⊦ E4 ≠ E6; (s) ⊦ E4 ≠ E7; (s) ⊦ E4 ≠ E8; (s) ⊦ E4 ≠ E9; (s) ⊦ E4 ≠ E13; (s) ⊦ E4 ≠ E14; (s) ⊦ E4 ≠ E15; (s) ⊦ E4 ≠ E16; (s) ⊦ E4 ≠ E10; (s) ⊦ E4 ≠ E11; (s) ⊦ D15 ≠ E4; (s) ⊦ D23 ≠ E4; (s) ⊦ D24 ≠ E4; (s) ⊦ D6 ≠ E4; (s) ⊦ D34 ≠ E4; (s) ⊦ E12 ≠ idle; (s) ⊦ E12 ≠ ready; (s) ⊦ E12 ≠ crashed; (s) ⊦ E1 ≠ E12; (s) ⊦ E2 ≠ E12; (s) ⊦ E3 ≠ E12; (s) ⊦ E5 ≠ E12; (s) ⊦ E6 ≠ E12; (s) ⊦ E7 ≠ E12; (s) ⊦ E8 ≠ E12; (s) ⊦ E9 ≠ 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) ⊦ E11 ≠ E12; (s) ⊦ E10 ≠ E12; (s) ⊦ E4 ≠ E12; (s) ⊦ D15 ≠ E12; (s) ⊦ D23 ≠ E12; (s) ⊦ D24 ≠ E12; (s) ⊦ D6 ≠ E12; (s) ⊦ D34 ≠ E12; (s) ⊦ E11 ≠ idle; (s) ⊦ E11 ≠ ready; (s) ⊦ E11 ≠ crashed; (s) ⊦ E1 ≠ E11; (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 ≠ E15; (s) ⊦ E11 ≠ E16; (s) ⊦ D10 ≠ E11; (s) ⊦ D11 ≠ E11; (s) ⊦ D12 ≠ E11; (s) ⊦ D13 ≠ E11; (s) ⊦ D14 ≠ E11; (s) ⊦ D20 ≠ E11; (s) ⊦ D21 ≠ E11; (s) ⊦ D22 ≠ E11; (s) ⊦ E10 ≠ E11; (s) ⊦ D15 ≠ E11; (s) ⊦ D23 ≠ E11; (s) ⊦ D24 ≠ E11; (s) ⊦ D6 ≠ E11; (s) ⊦ D34 ≠ E11; (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) ⊦ D15 ≠ E10; (s) ⊦ D23 ≠ E10; (s) ⊦ D24 ≠ E10; (s) ⊦ D6 ≠ E10; (s) ⊦ D34 ≠ E10; (s)

Proof step 412 from proof fwsim-step-abstau (previous step) (back to tree)

( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null → val = val0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) ≠ E4 ∨ obsEmpty, pcf(tid2) ≠ E10 ∨ ¬(obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null), pcf(tid2) ≠ E11 ∨ vhead4 ≠ vhead2 ∨ ps0[vhead2].next ≠ null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 413 from proof fwsim-step-abstau (previous step) (back to tree)

( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) = apcf(tid2), D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 414 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)

Proof step 415 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 416 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, pcf(tid2) = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = D6 → ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid2) = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, pcf(tid2) = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid2) = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid2) = D12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), pcf(tid2) = D13 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid2) = D14 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid2) = D15 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, pcf(tid2) = D16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = D17 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = D18 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D19 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), pcf(tid2) = D21 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), pcf(tid2) = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid2) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid2) = D25 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D26 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D27 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D29 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D31 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D34 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid2) = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), pcf(tid2) = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E10 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid2) = E11 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid2) = E12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, pcf(tid2) = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, pcf(tid2) = E4 ∨ pcf(tid2) = E10 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ∨ pcf(tid2) = E17 ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = crashed ∨ pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ∨ pcf(tid2) = E17 ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = crashed ∨ pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E17 → noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), pcf(tid2) = E10 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), pcf(tid2) = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), pcf(tid2) = E4 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 417 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → noowns(tid2, owns0), pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → noid(tid2, orl0 + qrl0, vhead5, vs0), pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 → noid(tid2, orl0 + qrl0, vhead6, vs0), pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → noid(tid2, orl0 + qrl0, vhead1, vs0), pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → nextnottid(tid2, vhead1, vs0), pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → obsEmpty ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null ∧ rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → vretRefs0(tid2) = rvref ∧ pretRefs0(tid2) = vretRefs0(tid2) ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null, pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → vhead4 ∈ orl0 + qrl0 from vhead6, pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2), pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2), pcf(tid2) = D34 → optval = vrvHp0[vretRefs0(tid2)] ∧ vrvHp0[vretRefs0(tid2)] = prvHp0[pretRefs0(tid2)] ∧ vretRefs0(tid2) = pretRefs0(tid2) ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null ∧ rvowns0(vretRefs0(tid2)) = (vrvHp0[vretRefs0(tid2)] = Empty ⊃ Pending(tid2);Claimed(tid2, vrvHp0[vretRefs0(tid2)].val)), pcf(tid2) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid2) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid2) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid2) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid2) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid2) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid2) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid2) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid2) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid2) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid2) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid2) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6), pcf(tid2) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid2) ∧ rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid2, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2) ), pcf(tid2) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid2) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid2) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid2) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid2) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid2) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid2) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid2) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid2) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid2) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid2) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid2) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid2) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid2)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid2);Claimed(tid2, optval.val)), pcf(tid2) = D5 → rvowns0(vretRefs0(tid2)) = Pending(tid2), pcf(tid2) = D4 → vretRefs0(tid2) = rvref ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2) ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ∈ prvHp0 ∧ vretRefs0(tid2) ≠ null, pcf(tid2) = D3 → rvowns0(rvref) = Pending(tid2) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 78

Additional information

Used simplifier rules: ⊦ b ∈ st ∧ ¬ a ∈ st → st[a, d][b] = st[b]; (s)

Proof step 418 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), resDeq = apcf(tid2), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ D33, pcf(tid2) ≠ D32, pcf(tid2) ≠ D31, pcf(tid2) ≠ D30, pcf(tid2) ≠ D29, pcf(tid2) ≠ D28, pcf(tid2) ≠ D27, pcf(tid2) ≠ D26, pcf(tid2) ≠ D25, pcf(tid2) ≠ D19, pcf(tid2) ≠ D18, pcf(tid2) ≠ D17, pcf(tid2) ≠ D16, pcf(tid2) ≠ D14, pcf(tid2) ≠ D13, pcf(tid2) ≠ D12, pcf(tid2) ≠ D11, pcf(tid2) ≠ D10, pcf(tid2) ≠ D9, pcf(tid2) ≠ D8, pcf(tid2) ≠ D7, pcf(tid2) ≠ D5, pcf(tid2) ≠ D4, pcf(tid2) ≠ D3, pcf(tid2) ≠ D2, pcf(tid2) ≠ D1, pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) ≠ D6 ∨ obsEmpty, pcf(tid2) ≠ D20 ∨ ¬(obsEmpty → ps0[vhead5].deqID = None), pcf(tid2) ≠ D21 ∨ ps0[vhead5].deqID ≠ None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 419 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), resDeq = apcf(tid2), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ D33, pcf(tid2) ≠ D32, pcf(tid2) ≠ D31, pcf(tid2) ≠ D30, pcf(tid2) ≠ D29, pcf(tid2) ≠ D28, pcf(tid2) ≠ D27, pcf(tid2) ≠ D26, pcf(tid2) ≠ D25, pcf(tid2) ≠ D19, pcf(tid2) ≠ D18, pcf(tid2) ≠ D17, pcf(tid2) ≠ D16, pcf(tid2) ≠ D14, pcf(tid2) ≠ D13, pcf(tid2) ≠ D12, pcf(tid2) ≠ D11, pcf(tid2) ≠ D10, pcf(tid2) ≠ D9, pcf(tid2) ≠ D8, pcf(tid2) ≠ D7, pcf(tid2) ≠ D5, pcf(tid2) ≠ D4, pcf(tid2) ≠ D3, pcf(tid2) ≠ D2, pcf(tid2) ≠ D1, pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) ≠ D21 ∨ ps0[vhead5].deqID ≠ None, pcf(tid2) ≠ D20 ∨ ¬(obsEmpty → ps0[vhead5].deqID = None), pcf(tid2) ≠ D6 ∨ obsEmpty, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)

Proof step 420 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 421 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), resDeq = apcf(tid2), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ D33, pcf(tid2) ≠ D32, pcf(tid2) ≠ D31, pcf(tid2) ≠ D30, pcf(tid2) ≠ D29, pcf(tid2) ≠ D28, pcf(tid2) ≠ D27, pcf(tid2) ≠ D26, pcf(tid2) ≠ D25, pcf(tid2) ≠ D19, pcf(tid2) ≠ D18, pcf(tid2) ≠ D17, pcf(tid2) ≠ D16, pcf(tid2) ≠ D14, pcf(tid2) ≠ D13, pcf(tid2) ≠ D12, pcf(tid2) ≠ D11, pcf(tid2) ≠ D10, pcf(tid2) ≠ D9, pcf(tid2) ≠ D8, pcf(tid2) ≠ D7, pcf(tid2) ≠ D5, pcf(tid2) ≠ D4, pcf(tid2) ≠ D3, pcf(tid2) ≠ D2, pcf(tid2) ≠ D1, pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, pcf(tid2) = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = D6 → ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid2) = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, pcf(tid2) = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid2) = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid2) = D12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), pcf(tid2) = D13 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid2) = D14 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid2) = D15 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, pcf(tid2) = D16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = D17 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = D18 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D19 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), pcf(tid2) = D21 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), pcf(tid2) = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid2) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid2) = D25 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D26 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D27 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D29 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid2) = D31 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid2) = D34 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid2) = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), pcf(tid2) = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid2) = E10 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid2) = E11 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid2) = E12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, pcf(tid2) = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, pcf(tid2) = E4 ∨ pcf(tid2) = E10 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ∨ pcf(tid2) = E17 ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = crashed ∨ pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ∨ pcf(tid2) = E17 ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid2) = crashed ∨ pcf(tid2) = idle ∨ pcf(tid2) = ready ∨ pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ∨ pcf(tid2) = D34 ∨ pcf(tid2) = E1 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E17 → noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), pcf(tid2) = E10 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), pcf(tid2) = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), pcf(tid2) = E4 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34, pcf(tid2) ≠ D6 ∨ obsEmpty, pcf(tid2) ≠ D20 ∨ ¬(obsEmpty → ps0[vhead5].deqID = None), pcf(tid2) ≠ D21 ∨ ps0[vhead5].deqID ≠ None ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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) .tid = tid; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ 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) .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) 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) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ 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) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ 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) .vtail = phead1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 422 from proof fwsim-step-abstau (previous step) (back to tree)

D2 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, vrvHp0[vretRefs0(tid2)], val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), resDeq = apcf(tid2), vrvHp0[vretRefs0(tid2)] ≠ vrvHp0[rvref1, optval3][vretRefs0(tid2)], pcf(tid2) ≠ D33, pcf(tid2) ≠ D32, pcf(tid2) ≠ D31, pcf(tid2) ≠ D30, pcf(tid2) ≠ D29, pcf(tid2) ≠ D28, pcf(tid2) ≠ D27, pcf(tid2) ≠ D26, pcf(tid2) ≠ D25, pcf(tid2) ≠ D19, pcf(tid2) ≠ D18, pcf(tid2) ≠ D17, pcf(tid2) ≠ D16, pcf(tid2) ≠ D14, pcf(tid2) ≠ D13, pcf(tid2) ≠ D12, pcf(tid2) ≠ D11, pcf(tid2) ≠ D10, pcf(tid2) ≠ D9, pcf(tid2) ≠ D8, pcf(tid2) ≠ D7, pcf(tid2) ≠ D5, pcf(tid2) ≠ D4, pcf(tid2) ≠ D3, pcf(tid2) ≠ D2, pcf(tid2) ≠ D1, pcf(tid2) ≠ E17, pcf(tid2) ≠ E4, pcf(tid2) ≠ E12, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E16, pcf(tid2) ≠ E15, pcf(tid2) ≠ E14, pcf(tid2) ≠ E13, pcf(tid2) ≠ E9, pcf(tid2) ≠ E8, pcf(tid2) ≠ E7, pcf(tid2) ≠ E6, pcf(tid2) ≠ E5, pcf(tid2) ≠ E3, pcf(tid2) ≠ E2, pcf(tid2) ≠ E1, pcf(tid2) ≠ crashed, pcf(tid2) ≠ ready, pcf(tid2) ≠ idle, rvref1 ≠ null, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ rvref1 ∈ prvHp0, ¬ rvref1 ∈ vrvHp0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → vrvHp0[vretRefs0(tid2)] = optval, pcf(tid2) = D6 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → noowns(tid2, owns0), pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → noid(tid2, orl0 + qrl0, vhead5, vs0), pcf(tid2) = D15 → noid(tid2, orl0 + qrl0, vhead6, vs0), pcf(tid2) = D6 ∨ pcf(tid2) = D34 → noid(tid2, orl0 + qrl0, vhead1, vs0), pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), pcf(tid2) = D6 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D34 → nextnottid(tid2, vhead1, vs0), pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → obsEmpty ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null ∧ rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid2) = D6 ∨ pcf(tid2) = D15 ∨ pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → vretRefs0(tid2) = rvref ∧ pretRefs0(tid2) = vretRefs0(tid2) ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null, pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → vhead4 ∈ orl0 + qrl0 from vhead6, pcf(tid2) = D20 ∨ pcf(tid2) = D21 ∨ pcf(tid2) = D22 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid2) = D15 ∨ pcf(tid2) = D20 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, pcf(tid2) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2), pcf(tid2) = D34 → optval = vrvHp0[vretRefs0(tid2)] ∧ vrvHp0[vretRefs0(tid2)] = prvHp0[pretRefs0(tid2)] ∧ vretRefs0(tid2) = pretRefs0(tid2) ∧ vretRefs0(tid2) ∈ vrvHp0 ∧ vretRefs0(tid2) ≠ null ∧ rvowns0(vretRefs0(tid2)) = (vrvHp0[vretRefs0(tid2)] = Empty ⊃ Pending(tid2);Claimed(tid2, vrvHp0[vretRefs0(tid2)].val)), pcf(tid2) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid2) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid2) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid2) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid2) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6), pcf(tid2) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid2) ∧ rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid2, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid2)) = Pending(tid2) ), pcf(tid2) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid2) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid2)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid2);Claimed(tid2, optval.val)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid2) ≠ D21 ∨ ps0[vhead5].deqID ≠ None, pcf(tid2) ≠ D20 ∨ ¬(obsEmpty → ps0[vhead5].deqID = None), pcf(tid2) ≠ D6 ∨ obsEmpty, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 83

Additional information

Used simplifier rules: ⊦ b ∈ st ∧ ¬ a ∈ st → st[a, d][b] = st[b]; (s)

Proof step 423 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), ca = chooseE1(vhead7, nd0, obsEmpty1), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), ren(ca) = τ, ca ≠ τ, tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), ca), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseE1(node, nd, success) ≠ τ; (s) ⊦ ren(chooseE1(r, nd, success)) = τ; (s)

Proof step 424 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseE1(vhead7, nd0, obsEmpty1)), tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseE1(vhead7, nd0, obsEmpty1)), pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: pcf(tid0)

Additional information

Used simplifier rules: DMSQPC freely generated by D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, E1, E2, E3, E4, E5, E6, E7, E8, E9, E10, E11, E12, E13, E14, E15, E16, E17, crashed, idle, ready ;; ⊦ gstepf(gs, ls, ready, a) = gs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) = mkgs (ps1, ps2, phead2, phead3, phead4, vretRefs1, vretRefs2, vrvHp1, vrvHp2, qrl1, qrl2, owns0, rvowns0) ↔ ps = ps1 ∧ ps0 = ps2 ∧ phead = phead2 ∧ phead0 = phead3 ∧ phead1 = phead4 ∧ vretRefs = vretRefs1 ∧ vretRefs0 = vretRefs2 ∧ vrvHp = vrvHp1 ∧ vrvHp0 = vrvHp2 ∧ qrl = qrl1 ∧ qrl0 = qrl2 ∧ owns = owns0 ∧ rvowns = rvowns0; (ws) ⊦ pre(gs, ls, ready, a) ↔ (∃ value0. a = invENQ(ls.tid, value0)) ∨ a = invDEQ(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ invENQ(tid, invENQvalue); (s) ⊦ chooseE1(node, nd, success) ≠ invDEQ(tid); (s) ⊦ pre(gs, ls, idle, a) ↔ a = callRUN(ls.tid); (s) ⊦ callRUN(tid) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, crashed, a) ↔ false; (s) ⊦ pre(gs, ls, E17, a) ↔ a = retENQ(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ retENQ(tid); (s) ⊦ pre(gs, ls, E16, a) ↔ a = τ; (s) ⊦ chooseE1(node, nd, success) ≠ τ; (s) ⊦ gstepf(gs, ls, E15, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (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) .vtail:= phead4 = mkgs (ps, ps0, phead, phead0, phead4, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E15, a) ↔ a = τ; (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) ⊦ 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) .ps:= ps1 = mkgs (ps1, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ x + a = x + a '; (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) .vs = ps0; (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) ⊦ pre(gs, ls, E14, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ chooseE1(node, nd, success) = (success0 ⊃ a;τ) ↔ success0 ∧ a = chooseE1(node, nd, success); (s) ⊦ chooseE1(node, nd, success) ≠ doEnq(tid); (s) ⊦ pre(gs, ls, E13, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E12, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.node;gs); (s) ⊦ pre(gs, ls, E12, a) ↔ a = τ; (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) ⊦ pre(gs, ls, E11, a) ↔ a = (gs.ps[ls.lst].next ≠ gs.vs[ls.lst].next ⊃ doEnq(ls.tid);τ); (s) ⊦ pre(gs, ls, E10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, E9, a) = ((gs.ps ⊕ gs.vs)[ls.lst].next = ls.nxt ⊃ (gs.vs:= gs.vs[ls.lst, gs.vs[ls.lst].next:= ls.node]) .owns:= gs.owns(ls.node; Weak(ls.tid)) ;gs ); (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, E9, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, E2, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D34, a) ↔ a = retDEQ(ls.tid, ls.optval); (s) ⊦ chooseE1(node, nd, success) ≠ retDEQ(tid, optval); (s) ⊦ pre(gs, ls, D33, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D32, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D31, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (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) .vhead:= phead3 = mkgs (ps, ps0, phead, phead3, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D31, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D30, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D29, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D28, a) = ( ( gs .ps:= gs.ps[ls.nxt, gs.ps[ls.nxt].deqID:= Some(ls.othertid)]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ 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) ⊦ pre(gs, ls, D28, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.othertid);τ); (s) ⊦ chooseE1(node, nd, success) ≠ doDeq(tid); (s) ⊦ pre(gs, ls, D27, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D26, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D25, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D24, a) = (gs.vhead = ls.first ⊃ gs.vhead:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D24, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D23, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D22, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D21, a) = ( ( gs .ps:= gs.ps [ls.nxt, gs.ps[ls.nxt].deqID:= gs.vs[ls.nxt].deqID ]) .orl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.orl + gs.qrl.head;gs.orl)) .qrl:= (gs.ps[ls.nxt].deqID = None ⊃ gs.qrl.tail;gs.qrl); (s) ⊦ pre(gs, ls, D21, a) ↔ a = (gs.ps[ls.nxt].deqID = None ⊃ doDeq(ls.tid);τ); (s) ⊦ pre(gs, ls, D20, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D19, a) = ((gs.ps ⊕ gs.vs)[ls.nxt].deqID = None ⊃ (gs.vs:= gs.vs[ls.nxt, gs.vs[ls.nxt].deqID:= Some(ls.tid)]) .rvowns:= gs.rvowns(gs.vretRefs(ls.tid); Claimed(ls.tid, ls.optval.val)) ;gs ); (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) .rvowns:= rvowns0 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns0); (s) ⊦ pre(gs, ls, D19, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D18, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D17, a) = (gs.vtail = ls.lst ⊃ gs.vtail:= ls.nxt;gs); (s) ⊦ pre(gs, ls, D17, a) ↔ a = τ; (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) ⊦ pre(gs, ls, D16, a) ↔ a = (ls.lst = (gs.orl + gs.qrl).last ⊃ doEnq(gs.owns(ls.nxt).tid);τ); (s) ⊦ pre(gs, ls, D15, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D14, a) = gs.prvHp:= gs.prvHp[ls.rvref, gs.vrvHp[ls.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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .prvHp:= vrvHp2 = mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp2, qrl, qrl0, owns, rvowns); (s) ⊦ pre(gs, ls, D14, a) ↔ a = doDeqEmpty(ls.tid); (s) ⊦ chooseE1(node, nd, success) ≠ doDeqEmpty(tid); (s) ⊦ pre(gs, ls, D13, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D12, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D11, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D10, a) ↔ a = τ; (s) ⊦ gstepf(gs, ls, D9, a) = gs; (s) ⊦ pre(gs, ls, D9, a) ↔ a = (gs.qrl = [] ⊃ checkEmp(ls.tid);τ); (s) ⊦ checkEmp(tid) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D8, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D7, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D6, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D5, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D4, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D3, a) ↔ a = τ; (s) ⊦ pre(gs, ls, D2, a) ↔ (∃ rvref0, optval00. (¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null) ∧ a = chooseD2(rvref0, optval00)) ∨ a = τ ∧ ¬ (∃ rvref0, optval00. ¬ rvref0 ∈ gs.vrvHp ∧ ¬ rvref0 ∈ gs.prvHp ∧ rvref0 ≠ null); (s) ⊦ chooseD2(rvref, optval) ≠ chooseE1(node, nd, success); (s) ⊦ pre(gs, ls, D1, a) ↔ a = τ; (s)

Proof step 425 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = gstepf (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseE1(vhead7, nd0, obsEmpty1)), tid0 ≠ tid2, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), pre (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid0), pcf(tid0), chooseE1(vhead7, nd0, obsEmpty1)), pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead0 ∧ ps[vhead0].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬(pcf(tid2) = D20 ∧ obsEmpty ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬(pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp[vretRefs(tid2)]) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead0 ∧ ps[vhead0].next = null ↔ vhead4 = vhead2 ∧ ps0[vhead2].next = null ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps[vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps[vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ chooseE1(node, nd, success) = chooseE1(node0, nd0, success0) ↔ node = node0 ∧ nd = nd0 ∧ (success ↔ success0); (ws) ⊦ chooseE1(node, nd, success) ≠ τ; (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) .vs = ps0; (s) ⊦ pre(gs, ls, E1, a) ↔ (∃ node0, nd0, success0. ( ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)) ∧ a = chooseE1(node0, nd0, success0)) ∨ a = τ ∧ ¬ (∃ node0, nd0, success0. ¬ node0 ∈ gs.vs ∧ ¬ node0 ∈ gs.ps ∧ node0 ≠ null ∧ (success0 ↔ false)); (s) ⊦ 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) ⊦ (ls.node:= node).tid = ls.tid; (s) ⊦ (ls.nd:= nd).tid = ls.tid; (s) ⊦ (ls.success:= success).tid = ls.tid; (s) ⊦ (ls.node:= node).node = node; (s) ⊦ (ls.nd:= nd).node = ls.node; (s) ⊦ (ls.success:= success).node = ls.node; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs:= ps2 = mkgs (ps, ps2, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns); (s) ⊦ (ls.nd:= nd).nd = nd; (s) ⊦ (ls.success:= success).nd = ls.nd; (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, E1, chooseE1(node0, nd0, success0)) = ( ( gs .ps:= gs.ps [(((ls.node:= node0).nd:= nd0).success:= success0 ).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .vs:= gs.vs [(((ls.node:= node0).nd:= nd0).success:= success0).node, (((ls.node:= node0).nd:= nd0).success:= success0).nd ]) .owns:= gs.owns ((((ls.node:= node0).nd:= nd0).success:= success0).node ; Some((((ls.node:= node0).nd:= nd0).success:= success0).tid) ); (s)

Proof step 426 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead8, nd0]) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: vhead2 ∈ orl0 + qrl0 ∧ ¬ vhead8 ∈ orl0 + qrl0

Additional information

Used formulas: vhead2 ∈ orl0 + qrl0 ∧ ¬ vhead8 ∈ orl0 + qrl0

Proof step 427 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), vhead2 ∈ orl0 + qrl0, ¬ vhead8 ∈ orl0 + qrl0, ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead8, nd0]) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 428 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vhead8, nd0, vhead2], <all paths>

Additional information

Used simplifier rules: ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) Used terms: ps0, vhead8, nd0, vhead2

Proof step 429 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 430 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 431 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → pcf(tid2) ≠ E10 → pcf(tid2) ≠ E11 → pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 21

Additional information

Proof step 432 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), optval1 ≠ optval, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 433 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), optval1 ≠ optval, pcf(tid2) ≠ D22, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ⊦ pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None, pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vhead8, nd0, vhead5], <all paths>

Additional information

Used terms: ps0, vhead8, nd0, vhead5

Proof step 434 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 435 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead5 = vhead8, optval1 ≠ optval, pcf(tid2) ≠ D22, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 436 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ∅[vhead8].deqID = None) ∨ pcf(tid2) = D21 ∧ ∅[vhead8].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), optval1 ≠ optval, pcf(tid2) ≠ D22, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, pcf(tid2) = D20 ∧ obsEmpty ∧ nd0.deqID ≠ None ∨ pcf(tid2) = D21 ∧ nd0.deqID ≠ None ⊦ pcf(tid2) = D20 ∧ obsEmpty ∧ ∅[vhead8].deqID ≠ None, pcf(tid2) = D21 ∧ ∅[vhead8].deqID ≠ None

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 21

Additional information

Proof step 437 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ∅[vhead8].deqID = None) ∨ pcf(tid2) = D21 ∧ ∅[vhead8].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), obsEmpty, pcf(tid2) = D20, nd0.deqID ≠ None, optval1 ≠ optval, pcf(tid2) ≠ D22, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦ pcf(tid2) = D21 ∧ ∅[vhead8].deqID ≠ None, pcf(tid2) = D20 ∧ obsEmpty ∧ ∅[vhead8].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D20 ≠ D34; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ 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) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s)

Proof step 438 from proof fwsim-step-abstau (previous step) (back to tree)

∅[vhead8].deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, true, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D20, nd0.deqID ≠ None, optval1 ≠ optval, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, true, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D20), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, true, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ E17; (s) ⊦ D1 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ D7 ≠ D20; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D15 ≠ D20; (s) ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D6 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ None ≠ Some(tid); (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, true, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D20

Proof step 439 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 440 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ∅[vhead8].deqID = None) ∨ pcf(tid2) = D21 ∧ ∅[vhead8].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D21, nd0.deqID ≠ None, optval1 ≠ optval, pcf(tid2) ≠ D22, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦ pcf(tid2) = D21 ∧ ∅[vhead8].deqID ≠ None, pcf(tid2) = D20 ∧ obsEmpty ∧ ∅[vhead8].deqID ≠ None

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s)

Proof step 441 from proof fwsim-step-abstau (previous step) (back to tree)

∅[vhead8].deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), invDeq = apcf(tid2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D21, nd0.deqID ≠ None, optval1 ≠ optval, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D21), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used simplifier rules: ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ E17; (s) ⊦ D1 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ Val(val).val = val; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ D7 ≠ D21; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D22; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ 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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ D20 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ None ≠ Some(tid); (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead8, rvref, optval0, vhead6, tid1, addr), D21

Proof step 442 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 443 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) ≠ D6, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E4, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦ (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 444 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E12 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) ≠ D6, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E4, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦ (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 445 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E12 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D20, ¬(obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None), pcf(tid2) ≠ D6, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E4, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D14 ≠ D20; (s) ⊦ D13 ≠ D20; (s) ⊦ D12 ≠ D20; (s) ⊦ D11 ≠ D20; (s) ⊦ D10 ≠ D20; (s) ⊦ D20 ≠ E16; (s) ⊦ D20 ≠ E15; (s) ⊦ D20 ≠ E14; (s) ⊦ D20 ≠ E13; (s) ⊦ D20 ≠ E9; (s) ⊦ D20 ≠ E8; (s) ⊦ D20 ≠ E7; (s) ⊦ D20 ≠ E6; (s) ⊦ D20 ≠ E5; (s) ⊦ D20 ≠ E3; (s) ⊦ D20 ≠ E2; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ D34; (s) ⊦ D20 ≠ D24; (s) ⊦ D20 ≠ D23; (s) ⊦ D15 ≠ D20; (s) ⊦ D20 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D20; (s) ⊦ D20 ≠ E11; (s) ⊦ D20 ≠ E10; (s) ⊦ D20 ≠ E4; (s) ⊦ D20 ≠ D33; (s) ⊦ D20 ≠ D32; (s) ⊦ D20 ≠ D31; (s) ⊦ D20 ≠ D30; (s) ⊦ D20 ≠ D29; (s) ⊦ D20 ≠ D28; (s) ⊦ D20 ≠ D27; (s) ⊦ D20 ≠ D26; (s) ⊦ D20 ≠ D25; (s) ⊦ D19 ≠ D20; (s) ⊦ D18 ≠ D20; (s) ⊦ D17 ≠ D20; (s) ⊦ D16 ≠ D20; (s) ⊦ D9 ≠ D20; (s) ⊦ D8 ≠ D20; (s) ⊦ D7 ≠ D20; (s) ⊦ D5 ≠ D20; (s) ⊦ D4 ≠ D20; (s) ⊦ D3 ≠ D20; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E12; (s) ⊦ D20 ≠ crashed; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s)

Proof step 446 from proof fwsim-step-abstau (previous step) (back to tree)

(obsEmpty → ps0[vhead5].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D20, ¬(obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, obsEmpty ∧ ps0[vhead5].deqID ≠ None → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D20

Proof step 447 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 448 from proof fwsim-step-abstau (previous step) (back to tree)

(obsEmpty → ps0[vhead5].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D20, ¬(obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, obsEmpty ∧ ps0[vhead5].deqID ≠ None → optval1 = optval, D20 = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = D6 → ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D20 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D20 = D12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), D20 = D13 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D14 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D20 = D15 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D20 = D16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D17 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = D18 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D19 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), D20 = D21 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), D20 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D20 = D25 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D26 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D27 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D20 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D29 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D20 = D31 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D20 = D34 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D20 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D20 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D20 = E10 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D20 = E11 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D20 = E12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, D20 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D20 = E4 ∨ D20 = E10 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = D13 ∨ D20 = D14 ∨ D20 = D15 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D20 = E2 ∨ D20 = E3 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D20 = idle ∨ D20 = ready ∨ D20 = E1 ∨ D20 = E2 ∨ D20 = E3 ∨ D20 = E4 ∨ D20 = E5 ∨ D20 = E6 ∨ D20 = E7 ∨ D20 = E8 ∨ D20 = E9 ∨ D20 = E10 ∨ D20 = E11 ∨ D20 = E12 ∨ D20 = E13 ∨ D20 = E14 ∨ D20 = E15 ∨ D20 = E16 ∨ D20 = E17 ∨ D20 = D1 ∨ D20 = D2 ∨ D20 = D3 ∨ D20 = D4 ∨ D20 = D5 ∨ D20 = D6 ∨ D20 = D7 ∨ D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D16 ∨ D20 = D17 ∨ D20 = D18 ∨ D20 = D19 ∨ D20 = D25 ∨ D20 = D26 ∨ D20 = D27 ∨ D20 = D28 ∨ D20 = D29 ∨ D20 = D30 ∨ D20 = D31 ∨ D20 = D32 ∨ D20 = D33 ∨ D20 = D34 → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D20 ∨ D20 = D21 ∨ D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D8 ∨ D20 = D9 ∨ D20 = D10 ∨ D20 = D11 ∨ D20 = D12 ∨ D20 = D13 ∨ D20 = D14 ∨ D20 = D15 ∨ D20 = D18 ∨ D20 = D19 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D20 = D22 ∨ D20 = D23 ∨ D20 = D24 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D20 = E10 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D20 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D20 = E4 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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) ⊦ 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) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .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) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (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) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ D2 ≠ D20; (s) ⊦ D1 ≠ D20; (s) ⊦ D20 ≠ E17; (s) ⊦ D20 ≠ E1; (s) ⊦ D20 ≠ ready; (s) ⊦ D20 ≠ idle; (s) ⊦ D20 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 449 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid2), (ps0[ps0[vhead6].next].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ¬(ps0[vhead8, nd0][ps0[vhead6].next].deqID = None ↔ ps0[ps0[vhead6].next].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead6 ≠ vhead4, vhead8 ≠ null, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead1 ∈ orl0 from vhead6, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ps0[ps0[vhead6].next].deqID ≠ None → optval1 = Val(vs0[ps0[vhead6].next].val), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vhead8, nd0, ps0[vhead6].next], <all paths>

Additional information

Used terms: ps0, vhead8, nd0, ps0[vhead6].next

Proof step 450 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 451 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid2), ps0[vhead6].next = vhead8, (ps0[ps0[vhead6].next].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ¬(ps0[vhead8, nd0][ps0[vhead6].next].deqID = None ↔ ps0[ps0[vhead6].next].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead6 ≠ vhead4, vhead8 ≠ null, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vhead1 ∈ orl0 from vhead6, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ps0[ps0[vhead6].next].deqID ≠ None → optval1 = Val(vs0[ps0[vhead6].next].val), vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 452 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead1 ∈ orl0 from vhead6, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ vs0, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 453 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 454 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), noowns(tid2, owns0), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vhead1 ∈ orl0 from vhead6, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ vs0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 455 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, vhead1 ∈ orl0 from vhead6, phead0 ∈ vs0, vhead6 ∈ vs0, phead0 ∈ ps0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ vs0, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix1, seq:⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)), subst:[ps, rl, owns, r, rl0, vs] → [ps0, orl0, owns0, vhead6, qrl0, vs0]

Additional information

Used terms: ps0, orl0, owns0, vhead6, qrl0, vs0

Proof step 456 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))

A spec-lemma

Proof step 457 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, phead0 ∈ ps0, vhead6 ∈ vs0, phead0 ∈ vs0, vhead1 ∈ orl0 from vhead6, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ 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), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), listp(orl0 + qrl0, vs0, ps0, owns0) ∧ vhead6 ∈ orl0 → (∃ rl1, rl2. orl0 = rl1 + vhead6 ' + rl2 ∧ listp(vhead6 ' + rl2 + qrl0, vs0, ps0, owns0)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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 ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' + y ≠ []; (s) ⊦ x = y + a ' + z → a ∈ x; (s)

Proof step 458 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((qrl + vhead6 ' + qrl1) + qrl0, vs0, ps0, owns0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl, vs0), markedp(qrl1, ps0), markedp(qrl, ps0), noid(tid2, (qrl + vhead6 ' + qrl1) + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((qrl + vhead6 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vhead6].deqID), some?(ps0[vhead6].deqID), unmarkedp(qrl0, ps0), vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ (qrl + vhead6 ' + qrl1) + qrl0 from vhead4, phead0 ∈ vs0, vhead6 ∈ vs0, phead0 ∈ ps0, vhead6 ∈ ps0, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead6 ∈ qrl0, ¬ vhead6 ∈ qrl1, ¬ vhead6 ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl1, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ vs0, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl0, vhead4 ∈ qrl1 ∨ vhead4 ∈ qrl0, vhead2 = (vhead6 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, (vhead6 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vhead6 ' + qrl1).butlast ≠ [] ∧ (qrl + (vhead6 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vhead6 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), vhead1 = vhead6 ∨ vhead1 ∈ qrl1, phead0 ∈ qrl ∨ phead0 = vhead6 ∨ phead0 ∈ qrl1 ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist]

Proof step 459 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), qrl1 = [], resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), listp((qrl + vhead6 ' + qrl1) + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl1, ps0), markedp(qrl, vs0), markedp(qrl1, vs0), noid(tid2, (qrl + vhead6 ' + qrl1) + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((qrl + vhead6 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[vhead6].deqID), some?(vs0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, phead0 ∈ ps0, vhead6 ∈ vs0, phead0 ∈ vs0, vhead2 ∈ (qrl + vhead6 ' + qrl1) + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead6 ∈ qrl0, ¬ vhead6 ∈ qrl1, ¬ vhead6 ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, ¬ ps0[vhead6].next ∈ qrl1, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ 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), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), phead0 ∈ qrl ∨ phead0 = vhead6 ∨ phead0 ∈ qrl1, vhead1 = vhead6 ∨ vhead1 ∈ qrl1, (vhead6 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vhead6 ' + qrl1).butlast ≠ [] ∧ (qrl + (vhead6 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vhead6 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), vhead2 = (vhead6 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead4 ∈ qrl1 ∨ vhead4 ∈ qrl0, vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ x + [] = x; (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.last = a; (s) ⊦ a '.butlast = []; (s) ⊦ [] + x = x; (s) ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ ¬ dups([]); (s) ⊦ markedp([], vs); (s)

Proof step 460 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D20, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ps0[vhead6].next ≠ vhead6, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vhead6 ' + qrl0, vs0, ps0, owns0), listp(qrl + vhead6 ' + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl, vs0), noid(tid2, qrl + vhead6 ' + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(qrl + vhead6 ' + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[vhead6].deqID), some?(vs0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead4 ∈ ps0, vhead4 ∈ vs0, vhead4 ∈ qrl0, vhead6 ∈ ps0, phead0 ∈ ps0, vhead6 ∈ vs0, phead0 ∈ vs0, vhead2 ∈ qrl + vhead6 ' + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, ¬ dups(qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl0), ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, ¬ vhead6 ∈ qrl, ¬ vhead6 ∈ qrl0, vs0[vhead6].next ≠ null ∧ vs0[vs0[vhead6].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead6].next].deqID.tid)) = Claimed(vs0[vs0[vhead6].next].deqID.tid, vs0[vs0[vhead6].next].val), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead6, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)), phead0 ∈ qrl ∨ phead0 = vhead6, vhead2 = qrl0.last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl0, (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl ≠ [] ∧ qrl.last = vhead6 ∧ phead0 ≠ qrl.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-data[reflist], name:elim-list-c, seq:x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y, subst:[x, a, y] → [qrl0, phead, qrl1]

Additional information

Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ ¬ a ∈ []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl0, phead, y

Proof step 461 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E12 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D21, ¬(ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None), pcf(tid2) ≠ D20, pcf(tid2) ≠ D6, pcf(tid2) ≠ E11, pcf(tid2) ≠ E10, pcf(tid2) ≠ E4, tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ 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 ≠ E9; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D23; (s) ⊦ D15 ≠ D21; (s) ⊦ D21 ≠ D22; (s) ⊦ D20 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D25; (s) ⊦ D19 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D7 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D3 ≠ D21; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ crashed; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s)

Proof step 462 from proof fwsim-step-abstau (previous step) (back to tree)

(ps0[vhead5].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D21, ¬(ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ps0[vhead5].deqID ≠ None → optval1 = optval, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), D21

Proof step 463 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 464 from proof fwsim-step-abstau (previous step) (back to tree)

(ps0[vhead5].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2) = D21, ¬(ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ps0[vhead5].deqID ≠ None → optval1 = optval, D21 = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = D6 → ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D21 = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), D21 = D12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), D21 = D13 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D14 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, D21 = D15 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, D21 = D16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D17 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = D18 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D19 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), D21 = D21 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), D21 = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], D21 = D25 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D26 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D27 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), D21 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D29 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), D21 = D31 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, D21 = D34 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), D21 = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), D21 = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), D21 = E10 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D21 = E11 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), D21 = E12 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, D21 = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, D21 = E4 ∨ D21 = E10 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null), D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ], D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = D13 ∨ D21 = D14 ∨ D21 = D15 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), D21 = E2 ∨ D21 = E3 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 → ¬ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success, D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 → mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), D21 = idle ∨ D21 = ready ∨ D21 = E1 ∨ D21 = E2 ∨ D21 = E3 ∨ D21 = E4 ∨ D21 = E5 ∨ D21 = E6 ∨ D21 = E7 ∨ D21 = E8 ∨ D21 = E9 ∨ D21 = E10 ∨ D21 = E11 ∨ D21 = E12 ∨ D21 = E13 ∨ D21 = E14 ∨ D21 = E15 ∨ D21 = E16 ∨ D21 = E17 ∨ D21 = D1 ∨ D21 = D2 ∨ D21 = D3 ∨ D21 = D4 ∨ D21 = D5 ∨ D21 = D6 ∨ D21 = D7 ∨ D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D16 ∨ D21 = D17 ∨ D21 = D18 ∨ D21 = D19 ∨ D21 = D25 ∨ D21 = D26 ∨ D21 = D27 ∨ D21 = D28 ∨ D21 = D29 ∨ D21 = D30 ∨ D21 = D31 ∨ D21 = D32 ∨ D21 = D33 ∨ D21 = D34 → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D20 ∨ D21 = D21 ∨ D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D8 ∨ D21 = D9 ∨ D21 = D10 ∨ D21 = D11 ∨ D21 = D12 ∨ D21 = D13 ∨ D21 = D14 ∨ D21 = D15 ∨ D21 = D18 ∨ D21 = D19 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), D21 = D22 ∨ D21 = D23 ∨ D21 = D24 → noid (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, 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 (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), D21 = E10 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), D21 = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), D21 = E4 → (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ D3 ≠ D21; (s) ⊦ D4 ≠ D21; (s) ⊦ D5 ≠ D21; (s) ⊦ D6 ≠ D21; (s) ⊦ D8 ≠ D21; (s) ⊦ D9 ≠ D21; (s) ⊦ D10 ≠ D21; (s) ⊦ D11 ≠ D21; (s) ⊦ D12 ≠ D21; (s) ⊦ D13 ≠ D21; (s) ⊦ D14 ≠ D21; (s) ⊦ D15 ≠ D21; (s) ⊦ D16 ≠ D21; (s) ⊦ D17 ≠ D21; (s) ⊦ D18 ≠ D21; (s) ⊦ D19 ≠ D21; (s) ⊦ D20 ≠ D21; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ r ∈ orl → orl + qrl from r = (orl from r) + qrl; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .first = node2; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vhead = phead0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .qrl = qrl; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vs = ps0; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .orl = qrl0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ D21 ≠ D22; (s) ⊦ D21 ≠ D23; (s) ⊦ D21 ≠ D24; (s) ⊦ D21 ≠ D25; (s) ⊦ D21 ≠ D26; (s) ⊦ D21 ≠ D27; (s) ⊦ D21 ≠ D28; (s) ⊦ D21 ≠ D29; (s) ⊦ D21 ≠ D30; (s) ⊦ D21 ≠ D31; (s) ⊦ D21 ≠ D34; (s) ⊦ D21 ≠ E2; (s) ⊦ D21 ≠ E3; (s) ⊦ D21 ≠ E5; (s) ⊦ D21 ≠ E6; (s) ⊦ D21 ≠ E7; (s) ⊦ D21 ≠ E8; (s) ⊦ D21 ≠ E9; (s) ⊦ D21 ≠ E10; (s) ⊦ D21 ≠ E11; (s) ⊦ D21 ≠ E12; (s) ⊦ D21 ≠ E13; (s) ⊦ D21 ≠ E14; (s) ⊦ D21 ≠ E15; (s) ⊦ D21 ≠ E16; (s) ⊦ D21 ≠ E4; (s) ⊦ D21 ≠ D33; (s) ⊦ D21 ≠ D32; (s) ⊦ D7 ≠ D21; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .rvref = rvref; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .pretRefs = vretRefs0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ Val(val).val = val; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .rvowns = rvowns; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ D2 ≠ D21; (s) ⊦ D1 ≠ D21; (s) ⊦ D21 ≠ E17; (s) ⊦ D21 ≠ E1; (s) ⊦ D21 ≠ ready; (s) ⊦ D21 ≠ idle; (s) ⊦ D21 ≠ crashed; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .owns = owns; (s)

Proof step 465 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid2), (ps0[ps0[vhead6].next].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ¬(ps0[vhead8, nd0][ps0[vhead6].next].deqID = None ↔ ps0[ps0[vhead6].next].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead6 ≠ vhead4, vhead8 ≠ null, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ps0[ps0[vhead6].next].deqID ≠ None → optval1 = Val(vs0[ps0[vhead6].next].val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vhead8, nd0, ps0[vhead6].next], <all paths>

Additional information

Used terms: ps0, vhead8, nd0, ps0[vhead6].next

Proof step 466 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 467 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[ps0[vhead6].next].deqID = Some(tid2), ps0[vhead6].next = vhead8, (ps0[ps0[vhead6].next].deqID = None ⊃ invDeq;resDeq) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, Val(vs0[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, vs0[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, ¬(ps0[vhead8, nd0][ps0[vhead6].next].deqID = None ↔ ps0[ps0[vhead6].next].deqID = None), tid0 ≠ tid2, vhead2 ≠ vhead8, vhead6 ≠ vhead4, vhead8 ≠ null, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ orl0, ¬ vhead8 ∈ qrl0, ps0[ps0[vhead6].next].deqID ≠ None → optval1 = Val(vs0[ps0[vhead6].next].val), vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ None ≠ Some(tid); (s) ⊦ ¬ a ∈ st → st[a] = ∅[a]; (s) ⊦ a = b → st[b, d][a] = d; (s)

Proof step 468 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), noowns(tid2, owns0), vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 469 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 470 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), noowns(tid2, owns0), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 471 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vhead6 ∈ orl0, vhead2 ∈ orl0 + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, phead0 ∈ vs0, vhead6 ∈ vs0, phead0 ∈ ps0, vhead6 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, 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), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix1, seq:⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns)), subst:[ps, rl, owns, r, rl0, vs] → [ps0, orl0, owns0, vhead6, qrl0, vs0]

Additional information

Used terms: ps0, orl0, owns0, vhead6, qrl0, vs0

Proof step 472 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl + rl0, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2 + rl0, vs, ps, owns))

A spec-lemma

Proof step 473 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ null, orl0 ≠ [], tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), noid(tid2, orl0 + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, phead0 ∈ ps0, vhead6 ∈ vs0, phead0 ∈ vs0, vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ orl0 + qrl0 from vhead4, vhead6 ∈ orl0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ orl0, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, listp(orl0 + qrl0, vs0, ps0, owns0) ∧ vhead6 ∈ orl0 → (∃ rl1, rl2. orl0 = rl1 + vhead6 ' + rl2 ∧ listp(vhead6 ' + rl2 + qrl0, vs0, ps0, owns0)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0, vhead4 ∈ orl0 from vhead6 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) ⊦ r ' + rl from r = r ' + rl; (s) ⊦ ¬ r ∈ orl → orl + qrl from r = qrl from r; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ (x + a ' + y).butlast = x + (a ' + y).butlast; (s) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ x + a ' + y ≠ []; (s) ⊦ x = y + a ' + z → a ∈ x; (s)

Proof step 474 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp((qrl + vhead6 ' + qrl1) + qrl0, vs0, ps0, owns0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), markedp(qrl1, vs0), markedp(qrl, vs0), markedp(qrl1, ps0), markedp(qrl, ps0), noid(tid2, (qrl + vhead6 ' + qrl1) + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((qrl + vhead6 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vhead6].deqID), some?(ps0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead2 ∈ (qrl + vhead6 ' + qrl1) + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, phead0 ∈ vs0, vhead6 ∈ vs0, phead0 ∈ ps0, vhead6 ∈ ps0, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead6 ∈ qrl0, ¬ vhead6 ∈ qrl1, ¬ vhead6 ∈ qrl, ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ qrl1, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), vhead4 ∈ qrl1 ∨ vhead4 ∈ qrl0, vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl0, vhead2 = (vhead6 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, (vhead6 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vhead6 ' + qrl1).butlast ≠ [] ∧ (qrl + (vhead6 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vhead6 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), phead0 ∈ qrl ∨ phead0 = vhead6 ∨ phead0 ∈ qrl1 ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ markedp(rl + rl0, vs) ↔ markedp(rl, vs) ∧ markedp(rl0, vs); (s) ⊦ markedp(r ', vs) ↔ some?(vs[r].deqID); (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist]

Proof step 475 from proof fwsim-step-abstau (previous step) (back to tree)

∅[ps0[vhead6].next].deqID = Some(tid2), nd0.deqID = None, E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), qrl1 = [], resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(vhead6 ' + qrl1 + qrl0, vs0, ps0, owns0), listp((qrl + vhead6 ' + qrl1) + qrl0, vs0, ps0, owns0), markedp(qrl, ps0), markedp(qrl1, ps0), markedp(qrl, vs0), markedp(qrl1, vs0), noid(tid2, (qrl + vhead6 ' + qrl1) + qrl0, ps0[vhead6].next, vs0), nonullRetRefs((qrl + vhead6 ' + qrl1) + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), some?(ps0[vhead6].deqID), some?(vs0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead6 ∈ ps0, phead0 ∈ ps0, vhead6 ∈ vs0, phead0 ∈ vs0, vretRefs0(tid2) ∈ vrvHp0, vhead2 ∈ (qrl + vhead6 ' + qrl1) + qrl0 from vhead4, ¬ dups(qrl + qrl1), ¬ dups(qrl1 + qrl0), ¬ dups(qrl), ¬ dups(qrl + qrl1 + qrl0), ¬ dups(qrl1), ¬ dups(qrl0), ¬ vhead6 ∈ qrl0, ¬ vhead6 ∈ qrl1, ¬ vhead6 ∈ qrl, ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ qrl1, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, vs0[vhead1].next ≠ null ∧ vs0[vs0[vhead1].next].deqID ≠ None → rvowns0(vretRefs0(vs0[vs0[vhead1].next].deqID.tid)) = Claimed(vs0[vs0[vhead1].next].deqID.tid, vs0[vs0[vhead1].next].val), vhead1 ≠ vhead6 → nextnottid(tid2, vhead1, vs0), qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ' + qrl1, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), phead0 ∈ qrl ∨ phead0 = vhead6 ∨ phead0 ∈ qrl1, (vhead6 ' + qrl1).last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl + (vhead6 ' + qrl1).butlast ≠ [] ∧ (qrl + (vhead6 ' + qrl1).butlast).last = vhead1 ∧ phead0 ≠ (vhead6 ' + qrl1).last ∧ unmarkedp(qrl0, vs0), vhead2 = (vhead6 ' + qrl1 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl1 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl1 ∨ vhead2 ∈ qrl0, vhead4 ∈ qrl1 ∨ vhead4 ∈ qrl0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] a: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ ⊦ x + [] = x; (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.last = a; (s) ⊦ a '.butlast = []; (s) ⊦ [] + x = x; (s) ⊦ a ∈ x → (b ' + x).last = x.last; (s) ⊦ ¬ dups([]); (s) ⊦ markedp([], vs); (s)

Proof step 476 from proof fwsim-step-abstau (previous step) (back to tree)

nd0.deqID = None, ∅[ps0[vhead6].next].deqID = Some(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, Val(∅[ps0[vhead6].next].val), val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, Val(∅[ps0[vhead6].next].val), vhead3, nd, true, vhead4, ps0[vhead6].next, vretRefs0(tid2), optval0, vhead6, tid1, addr), pcf(tid2) = D21, pretRefs0(tid2) = vretRefs0(tid2), resDeq = apcf(tid2), rvowns0(vretRefs0(tid2)) = Claimed(tid2, ∅[ps0[vhead6].next].val), ps0[vhead6].next ≠ vhead6, ps0[vhead6].next ≠ null, tid0 ≠ tid2, vhead2 ≠ ps0[vhead6].next, vhead6 ≠ vhead4, vretRefs0(tid2) ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(qrl + vhead6 ' + qrl0, vs0, ps0, owns0), listp(vhead6 ' + qrl0, vs0, ps0, owns0), markedp(qrl, vs0), markedp(qrl, ps0), noid(tid2, qrl + vhead6 ' + qrl0, ps0[vhead6].next, vs0), nonullRetRefs(qrl + vhead6 ' + qrl0, vs0, vretRefs0, pretRefs0), noowns(tid2, owns0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), some?(vs0[vhead6].deqID), some?(ps0[vhead6].deqID), unmarkedp(qrl0, ps0), vhead2 ∈ qrl + vhead6 ' + qrl0 from vhead4, vretRefs0(tid2) ∈ vrvHp0, phead0 ∈ vs0, vhead6 ∈ vs0, phead0 ∈ ps0, vhead6 ∈ ps0, vhead4 ∈ qrl0, vhead4 ∈ vs0, vhead4 ∈ ps0, ¬ dups(qrl + qrl0), ¬ dups(qrl), ¬ dups(qrl0), ¬ vhead6 ∈ qrl0, ¬ vhead6 ∈ qrl, ¬ ps0[vhead6].next ∈ vs0, ¬ ps0[vhead6].next ∈ ps0, ¬ ps0[vhead6].next ∈ qrl, ¬ ps0[vhead6].next ∈ qrl0, qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid2) → vhead1 = vhead6, vhead1 ≠ vhead6 → nextnottid(tid2, 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), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, qrl + vhead6 ', owns0, rvowns0), lsf(tid), pcf(tid)), vhead2 ∈ qrl ∨ vhead2 = vhead6 ∨ vhead2 ∈ qrl0, vhead2 = qrl0.last ∨ qrl0 ≠ [] ∧ vhead2 = (vhead6 ' + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vhead6 = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ qrl ≠ [] ∧ qrl.last = vhead1 ∧ phead0 ≠ vhead6 ∧ unmarkedp(qrl0, vs0), phead0 ∈ qrl ∨ phead0 = vhead6 ⊦

Heuristic elimination applied rule apply elim lemma

And closed the goal!

Rule argument

spec: list-data[reflist], name:elim-list-c, seq:x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y, subst:[x, a, y] → [qrl0, phead, qrl1]

Additional information

Used simplifier rules: ⊦ a ' + x ≠ []; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) ⊦ some?(opttid) → opttid ≠ None; (as) ⊦ dups(x + a ' + y) ↔ a ∈ x ∨ a ∈ y ∨ dups(x + y); (ws) ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ ¬(a ≠ b ∧ ¬ a ∈ x); (ss) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x + [] = x; (s) ⊦ ¬ a ∈ []; (s) x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: qrl0, phead, y

Proof step 477 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead8, nd0]) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦ vhead2 ∈ orl0 + qrl0 ∧ ¬ vhead8 ∈ orl0 + qrl0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 478 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid0 ≠ tid2, vhead8 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead8, nd0]) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦ (vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0) ∧ ¬ vhead8 ∈ orl0 ∧ ¬ vhead8 ∈ qrl0

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 479 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 480 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), ¬ vhead8 ∈ vs0, ¬ vhead8 ∈ ps0, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vhead8, nd0]) ∨ ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦ (vhead2 ∈ orl0 ∨ vhead2 ∈ qrl0) ∧ ¬ vhead8 ∈ orl0 ∧ ¬ vhead8 ∈ qrl0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] list-elem-in-app21: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ vs; (forward) from specification DMSQ list-elem-in-app22: ⊦ listp(orl + qrl, vs, ps, owns) ∧ node ∈ qrl → node ∈ ps; (forward) from specification DMSQ 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: ⊦ ¬ dups(x + y) → ¬ dups(x) ∧ ¬ dups(y); (forward) from specification list-dup[reflist] ⊦ 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)

Proof step 481 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ 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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 39

Additional information

Proof step 482 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead2 = (orl0 + qrl0).last, orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 483 from proof fwsim-step-abstau (previous step) (back to tree)

(pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0).last ∧ ps0[(orl0 + qrl0).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0).last ∧ ps0[(orl0 + qrl0).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (orl0 + qrl0).last ∈ orl0, ¬ (orl0 + qrl0).last ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ 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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0).last ∧ ps0[(orl0 + qrl0).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0).last ∧ ps0[(orl0 + qrl0).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0).last ∧ ps0[vhead8, nd0][(orl0 + qrl0).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0).last ∧ ps0[vhead8, nd0][(orl0 + qrl0).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (orl0 + qrl0).last ∧ ps0[vhead8, nd0][(orl0 + qrl0).last].next = null ↔ obsEmpty → vhead4 = (orl0 + qrl0).last ∧ ps0[(orl0 + qrl0).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (orl0 + qrl0).last → (ps0[vhead8, nd0][(orl0 + qrl0).last].next = null ↔ ps0[(orl0 + qrl0).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [orl0, qrl0], <all paths>

Additional information

Used simplifier rules: ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ unmarkedp([], vs); (s) ⊦ listp(rl, vs, ps, owns) ∧ rl ≠ [] → ps[rl.last].next = null; (s) ⊦ ¬ dups([]); (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] Used terms: orl0, qrl0

Proof step 484 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 485 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vhead2 = (orl0 + qrl0.butlast).last, orl0 ≠ [], qrl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ vhead2 ∈ orl0, ¬ vhead2 ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead8, nd0][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = vhead2 → (ps0[vhead8, nd0][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 486 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl0 ≠ [], qrl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (orl0 + qrl0.butlast).last ∈ orl0, ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ 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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ↔ obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (orl0 + qrl0.butlast).last → (ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ↔ ps0[(orl0 + qrl0.butlast).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ unmarkedp(qrl0.tail, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-data[reflist], name:elim-add, seq: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail), subst:[x, head, tail] → [qrl0, phead, orl]

Additional information

Used simplifier rules: ⊦ x ≠ [] → (head = x.head ∧ tail = x.tail ↔ x = head + tail); (elim) Used terms: qrl0, head, orl

Proof step 487 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[qrl0.last].deqID = None, vs0[qrl0.last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), qrl0 = phead + orl, orl0 ≠ [], qrl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(qrl0), ¬ dups(orl0), ¬ dups(orl0 + qrl0), ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (orl0 + qrl0.butlast).last ∈ orl0, ¬ (orl0 + qrl0.butlast).last ∈ qrl0, ¬ vhead8 ∈ qrl0, ¬ vhead8 ∈ orl0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + qrl0.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ↔ obsEmpty → vhead4 = (orl0 + qrl0.butlast).last ∧ ps0[(orl0 + qrl0.butlast).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (orl0 + qrl0.butlast).last → (ps0[vhead8, nd0][(orl0 + qrl0.butlast).last].next = null ↔ ps0[(orl0 + qrl0.butlast).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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 ∈ 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 ≠ []; (s)

Proof step 488 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[(phead ' + orl).last].deqID = None, ps0[phead].deqID = None, vs0[(phead ' + orl).last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (orl0 + (phead ' + orl).butlast).last ≠ phead, orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, vhead8 ≠ phead, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + phead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + phead ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead8 ∈ orl0, ¬ phead ∈ orl, ¬ phead ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (orl0 + (phead ' + orl).butlast).last ∈ orl0, ¬ (orl0 + (phead ' + orl).butlast).last ∈ orl, ¬ vhead8 ∈ orl, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs (ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ↔ obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (orl0 + (phead ' + orl).butlast).last → (ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ↔ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[phead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [phead ', orl], <all paths>

Additional information

Used simplifier rules: ⊦ a '.last = a; (s) ⊦ unmarkedp([], vs); (s) ⊦ ¬ dups([]); (s) ⊦ ¬ a ∈ []; (s) ⊦ a '.butlast = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ x.last ∈ x ↔ x ≠ []; (s) Used terms: phead ', orl

Proof step 489 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 490 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[orl.last].deqID = None, vs0[orl.last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (orl0 + (phead ' + orl).butlast).last ≠ phead, orl ≠ [], orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, vhead8 ≠ phead, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + phead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + phead ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead8 ∈ orl0, ¬ phead ∈ orl, ¬ phead ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (orl0 + (phead ' + orl).butlast).last ∈ orl0, ¬ (orl0 + (phead ' + orl).butlast).last ∈ orl, ¬ vhead8 ∈ orl, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs (ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (orl0 + (phead ' + orl).butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[phead].deqID = None ∧ unmarkedp(orl, vs0), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ↔ obsEmpty → vhead4 = (orl0 + (phead ' + orl).butlast).last ∧ ps0[(orl0 + (phead ' + orl).butlast).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (orl0 + (phead ' + orl).butlast).last → (ps0[vhead8, nd0][(orl0 + (phead ' + orl).butlast).last].next = null ↔ ps0[(orl0 + (phead ' + orl).butlast).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ (x + a ' + y).last = (a ' + y).last; (s) ⊦ x ≠ [] → (a ' + x).butlast = a ' + x.butlast; (s)

Proof step 491 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[orl.last].deqID = None, ps0[phead].deqID = None, vs0[orl.last].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl.butlast).last ∧ ps0[(phead ' + orl.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl.butlast).last ∧ ps0[(phead ' + orl.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (phead ' + orl.butlast).last ≠ phead, orl ≠ [], orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, vhead8 ≠ phead, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + phead ' + orl, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + phead ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead8 ∈ orl, ¬ vhead8 ∈ orl0, ¬ phead ∈ orl, ¬ phead ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (phead ' + orl.butlast).last ∈ orl0, ¬ (phead ' + orl.butlast).last ∈ orl, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl.butlast).last ∧ ps0[(phead ' + orl.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl.butlast).last ∧ ps0[(phead ' + orl.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl.butlast).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[phead].deqID = None ∧ unmarkedp(orl, vs0), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl.butlast).last ∧ ps0[vhead8, nd0][(phead ' + orl.butlast).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl.butlast).last ∧ ps0[vhead8, nd0][(phead ' + orl.butlast).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (phead ' + orl.butlast).last ∧ ps0[vhead8, nd0][(phead ' + orl.butlast).last].next = null ↔ obsEmpty → vhead4 = (phead ' + orl.butlast).last ∧ ps0[(phead ' + orl.butlast).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (phead ' + orl.butlast).last → (ps0[vhead8, nd0][(phead ' + orl.butlast).last].next = null ↔ ps0[(phead ' + orl.butlast).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:last-elim, seq:x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a ', subst:[x, a, y] → [orl, vhead, orl1]

Additional information

Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: orl, vhead, y

Proof step 492 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[phead].deqID = None, vs0[vhead].deqID = None, vs0[vhead].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), orl = orl1 + vhead ', (phead ' + orl1).last ≠ phead, orl ≠ [], orl0 ≠ [], tid0 ≠ tid2, vhead8 ≠ null, vhead8 ≠ phead, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + phead ' + orl, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + phead ' + orl, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(orl, ps0), phead0 ∈ orl0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + orl), ¬ dups(orl0), ¬ dups(orl), ¬ vhead8 ∈ orl, ¬ vhead8 ∈ orl0, ¬ phead ∈ orl, ¬ phead ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (phead ' + orl1).last ∈ orl0, ¬ (phead ' + orl1).last ∈ orl, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, pcf(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], vs0[vhead1].next ≠ null ∧ vs0[vs0[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(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null ↔ obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (phead ' + orl1).last → (ps0[vhead8, nd0][(phead ' + orl1).last].next = null ↔ ps0[(phead ' + orl1).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ unmarkedp(orl, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[phead].deqID = None ∧ unmarkedp(orl, vs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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] ⊦ unmarkedp(r ', vs) ↔ vs[r].deqID = None; (s) ⊦ unmarkedp(rl + rl0, vs) ↔ unmarkedp(rl, vs) ∧ unmarkedp(rl0, vs); (s) ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ b ∈ x → (dups(x + b ') ↔ dups(x)); (s) ⊦ dups(x + a ') ↔ a ∈ x ∨ dups(x); (ws) ⊦ x + a ' ≠ []; (s)

Proof step 493 from proof fwsim-step-abstau (previous step) (back to tree)

vs0[vhead].deqID = None, ps0[phead].deqID = None, ps0[vhead].deqID = None, vs0[vhead].next = null, (pcf(tid2) = idle ⊃ idle ;(pcf(tid2) = ready ⊃ ready ;(pcf(tid2) = crashed ⊃ crashed ;( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 ⊃ invEnq ;(pcf(tid2) = E10 ∨ pcf(tid2) = E11 ∨ pcf(tid2) = E12 ∨ pcf(tid2) = E4 ∨ pcf(tid2) = E17 ⊃ resEnq ;( pcf(tid2) = D1 ∨ pcf(tid2) = D2 ∨ pcf(tid2) = D3 ∨ pcf(tid2) = D4 ∨ pcf(tid2) = D5 ∨ pcf(tid2) = D6 ∧ ¬ obsEmpty ∨ pcf(tid2) = D7 ∨ pcf(tid2) = D8 ∨ pcf(tid2) = D9 ∨ pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14 ∨ pcf(tid2) = D16 ∨ pcf(tid2) = D17 ∨ pcf(tid2) = D18 ∨ pcf(tid2) = D19 ∨ pcf(tid2) = D20 ∧ (obsEmpty → ps0[vhead5].deqID = None) ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID = None ∨ pcf(tid2) = D25 ∨ pcf(tid2) = D26 ∨ pcf(tid2) = D27 ∨ pcf(tid2) = D28 ∨ pcf(tid2) = D29 ∨ pcf(tid2) = D30 ∨ pcf(tid2) = D31 ∨ pcf(tid2) = D32 ∨ pcf(tid2) = D33 ⊃ invDeq ;resDeq ) ) ) ) ) ) = apcf(tid2), E1 = pcf(tid0), alsf(tid2) = mkls(tid2, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid2) = mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), (phead ' + orl1).last ≠ phead, (phead ' + orl1).last ≠ vhead, orl0 ≠ [], phead ≠ vhead, tid0 ≠ tid2, vhead8 ≠ null, vhead8 ≠ phead, vhead8 ≠ vhead, DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl1 + vhead ', orl0, owns0, rvowns0), mkls(tid2, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid2)), allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + phead ' + orl1 + vhead ', vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + phead ' + orl1 + vhead ', vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(orl1, ps0), phead0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + orl1), ¬ dups(orl0), ¬ dups(orl1), ¬ vhead ∈ orl0, ¬ vhead ∈ orl1, ¬ vhead8 ∈ orl1, ¬ vhead8 ∈ orl0, ¬ phead ∈ orl1, ¬ phead ∈ orl0, ¬ vhead8 ∈ ps0, ¬ vhead8 ∈ vs0, ¬ (phead ' + orl1).last ∈ orl0, ¬ (phead ' + orl1).last ∈ orl1, vs0[vhead1].next ≠ null ∧ vs0[vs0[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(tid2) = D15 ∨ pcf(tid2) = D23 ∨ pcf(tid2) = D24 ∨ pcf(tid2) = D6 ∧ obsEmpty ∨ pcf(tid2) = D34 → optval1 = vrvHp0[vretRefs0(tid2)], pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval, (pcf(tid2) = D10 ∨ pcf(tid2) = D11 ∨ pcf(tid2) = D12 ∨ pcf(tid2) = D13 ∨ pcf(tid2) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl1 + vhead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl1 + vhead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc (mkgs(ps0, vs0, phead0, vhead1, (phead ' + orl1).last, vretRefs0, pretRefs0, vrvHp0, prvHp0, phead ' + orl1 + vhead ', orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( pcf(tid2) = E1 ∨ pcf(tid2) = E2 ∨ pcf(tid2) = E3 ∨ pcf(tid2) = E4 ∧ ¬ obsEmpty ∨ pcf(tid2) = E5 ∨ pcf(tid2) = E6 ∨ pcf(tid2) = E7 ∨ pcf(tid2) = E8 ∨ pcf(tid2) = E9 ∨ pcf(tid2) = E10 ∧ (obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null) ∨ pcf(tid2) = E11 ∧ vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null ∨ pcf(tid2) = E13 ∨ pcf(tid2) = E14 ∨ pcf(tid2) = E15 ∨ pcf(tid2) = E16 → val = val0) ∨ ¬ ( pcf(tid2) = D20 ∧ obsEmpty ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D21 ∧ ps0[vhead8, nd0][vhead5].deqID ≠ None ∨ pcf(tid2) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid2) ≠ E4 → (pcf(tid2) = E10 ⊃ obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[vhead8, nd0][(phead ' + orl1).last].next = null ↔ obsEmpty → vhead4 = (phead ' + orl1).last ∧ ps0[(phead ' + orl1).last].next = null ;(pcf(tid2) = E11 ⊃ vhead4 = (phead ' + orl1).last → (ps0[vhead8, nd0][(phead ' + orl1).last].next = null ↔ ps0[(phead ' + orl1).last].next = null) ; pcf(tid2) ≠ D6 → (pcf(tid2) = D20 ⊃ obsEmpty → ps0[vhead8, nd0][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid2) = D21 → (ps0[vhead8, nd0][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )), orl0.last = vhead1 ∧ unmarkedp(orl1, vs0) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ vs0[phead].deqID = None ∧ unmarkedp(orl1, vs0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last[reflist], name:lapp, seq: ⊦ y ≠ [] → (x + y).last = y.last, subst:[x, y] → [phead ', orl1], <all paths>

Additional information

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: phead ', orl1

Proof step 494 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ y ≠ [] → (x + y).last = y.last

A spec-lemma

Proof step 495 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca = globalFLUSHHEAD, gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), pcf0 = pcf, ren(ca) = τ, ca ≠ τ, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ globalFLUSHHEAD ≠ τ; (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) ⊦ ren(globalFLUSHHEAD) = τ; (s)

Proof step 496 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 497 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ¬ absls (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-equal, seq:⊦ 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 ) ) ) ) ) ), subst:[ls0, pc, gs0, ls, gs] → [mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 498 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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) ) ) ) ) )

A spec-lemma

Proof step 499 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ absls (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ (pcf(tid) = E4 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = E10 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = E11 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = D6 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = D20 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;(pcf(tid) = D21 ⊃ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;true ) ) ) ) ) ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)

Proof step 500 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ¬ absls (mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 501 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 502 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid ≠ alsf(tid).tid ∨ ¬ ( pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival) ∨ ¬ ( (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty) ∨ ¬ ( pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∨ ¬ ( pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, vhead1, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ]) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used simplifier rules: ⊦ 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) .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) .nxt = node1; (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) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 503 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 504 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), ca = globalFLUSHVAL(vtail0), gs0 = mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), gs1 = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), lsf0 = lsf, mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns) = mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), pcf0 = pcf, ren(ca) = τ, ca ≠ τ, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail0 ∈ vs0, vtail0 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl, ps) ∨ ¬ absls(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid), alsf(tid)) ∨ abspc(mkgs(ps, vs, phead, vhead, vhead0, vretRefs, pretRefs, vrvHp, prvHp, qrl, orl, owns, rvowns), lsf0(tid), pcf0(tid)) ≠ apcf(tid) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ globalFLUSHVAL(node) ≠ τ; (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) ⊦ ren(globalFLUSHVAL(r)) = τ; (s)

Proof step 505 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail0 ∈ vs0, vtail0 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ apcf(tid) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 506 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail0 ∈ ps0, vtail0 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ abspc (mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ≠ abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:abspc-equal, seq:⊦ 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 ) ) ) ) ) ), subst:[ls0, pc, gs0, ls, gs] → [mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 507 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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) ) ) ) ) )

A spec-lemma

Proof step 508 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail0 ∈ vs0, vtail0 ∈ ps0, ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ (pcf(tid) = E4 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = E10 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = E11 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ;(pcf(tid) = D6 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ;(pcf(tid) = D20 ⊃ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;(pcf(tid) = D21 ⊃ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ↔ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None ;true ) ) ) ) ) ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s)

Proof step 509 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), absls (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)), vtail0 ∈ ps0, vtail0 ∈ vs0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)

Proof step 510 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 511 from proof fwsim-step-abstau (previous step) (back to tree)

mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = alsf(tid).tid, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid) = E1 ∨ pcf(tid) = E2 ∨ pcf(tid) = E3 ∨ pcf(tid) = E4 ∧ ¬ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid) = E11 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = alsf(tid).ival, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → alsf(tid).obsEmpty, pcf(tid) = D20 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D21 ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid) = D34 → alsf(tid).oval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .value = value; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .lst = node0; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .ps = ps; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vtail = phead1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .success ↔ success; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .nxt = node1; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .optval = optval; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vretRefs = vretRefs; (s) ⊦ mkls (tid, value, optval, node, nd, success, node0, node1, rvref, optval0, node2, tid0, rvref0) .tid = tid; (s) ⊦ mkgs (ps, ps0, phead, phead0, phead1, vretRefs, vretRefs0, vrvHp, vrvHp0, qrl, qrl0, owns, rvowns) .vrvHp = vrvHp; (s)

Proof step 512 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = alsf(tid).tid, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → alsf(tid).oval = vrvHp0[vretRefs0(tid)], pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → alsf(tid).oval = optval, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → alsf(tid).obsEmpty, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = alsf(tid).ival, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((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), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val1, val0, obsEmpty0, alsf(tid), optval1, tid0, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, alsf(tid), oval, tid0, optval1

Proof step 513 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)) = apcf(tid), alsf(tid) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid) = mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), tid = tid0, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid)), vtail0 ∈ vs0, vtail0 ∈ ps0, 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 → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid) = E13 ∨ pcf(tid) = E14 ∨ pcf(tid) = E15 ∨ pcf(tid) = E16 → val = val0, (pcf(tid) = D10 ∨ pcf(tid) = D11 ∨ pcf(tid) = D12 ∨ pcf(tid) = D13 ∨ pcf(tid) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid) = D22 → optval1 = optval, pcf(tid) = D15 ∨ pcf(tid) = D23 ∨ pcf(tid) = D24 ∨ pcf(tid) = D6 ∧ obsEmpty ∨ pcf(tid) = D34 → optval1 = vrvHp0[vretRefs0(tid)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid), alsf(tid)) ∨ ¬ ( pcf(tid) ≠ E4 → (pcf(tid) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid) ≠ D6 → (pcf(tid) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 514 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ absls (mkgs(ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: abs, name:absls-def, seq:⊦ 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)]), subst:[gs, ls, pc, als] → [mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)], <all paths>

Additional information

Used terms: mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0), mkls(tid0, obsEmpty0, val0, optval1, val1, optval2)

Proof step 515 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)])

A spec-lemma

Proof step 516 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail0 ∈ vs0, vtail0 ∈ ps0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).tid ∧ ( pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = E4 ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, 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, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null) ∨ pcf(tid0) = E11 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vtail ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).ival) ∧ ( (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).obsEmpty) ∧ ( pcf(tid0) = D20 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D21 ∧ mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∨ pcf(tid0) = D22 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval) ∧ ( pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∨ pcf(tid0) = D34 → mkls(tid0, obsEmpty0, val0, optval1, val1, optval2).oval = mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vrvHp [mkgs (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0) .vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ])) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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) ⊦ 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)

Proof step 517 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), DMSQLInv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQLInv, seq:⊦ 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) )), subst:[gs, ls, pc] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls (tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)

Proof step 518 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)))

A spec-lemma

Proof step 519 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid0) = D4 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid0) = D5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = D6 → ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ]) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ∨ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid0) = D8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, pcf(tid0) = D9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst, pcf(tid0) = D10 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid0) = D11 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next) ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next), pcf(tid0) = D12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next), pcf(tid0) = D13 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid0) = D14 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null, pcf(tid0) = D15 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] = Empty, pcf(tid0) = D16 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid0) = D17 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid0) = D18 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid0) = D19 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid0) = D20 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success) ∧ (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ; mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ), pcf(tid0) = D21 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first) ∧ noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.head ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first), pcf(tid0) = D22 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid0) = D23 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid0) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ], pcf(tid0) = D25 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid)) = Claimed (( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ⊕ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs )[mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID .tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid0) = D26 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid0) = D27 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val)), pcf(tid0) = D28 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid0) = D29 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid0) = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).othertid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val), pcf(tid0) = D31 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .deqID ≠ None ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ] .next, pcf(tid0) = D34 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Empty ⊃ Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ;Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ), pcf(tid0) = E2 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = E3 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = E5 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = E6 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail), pcf(tid0) = E7 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid0) = E8 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next) ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid0) = E9 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst), pcf(tid0) = E10 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid0) = E11 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] .val = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value ∧ ( mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Weak(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∨ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node), pcf(tid0) = E12 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null, pcf(tid0) = E13 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = E14 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid0) = E15 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ≠ null, pcf(tid0) = E16 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node) = Some(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).value, None, null) ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mk(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node ] = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Pending(mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl from mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).rvref ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid) ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid)) = Claimed (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval.val) ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt ] .val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).addr ≠ null ∧ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).optval = Val (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ≠ mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first → nextnottid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).first, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).nxt, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).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, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), pcf(tid0) = E10 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), pcf(tid0) = E11 → ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).lst ] .next ⊃ oneweakowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ;noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ), pcf(tid0) = E4 → (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).success ⊃ noowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns) ;oneowns (mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).tid, mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr).node, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps) ), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 520 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next

Additional information

Used formulas: ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next

Proof step 521 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 522 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val] = ps0

Additional information

Used formulas: ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val] = ps0

Proof step 523 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val] ≠ ps0, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:Extension, seq: ⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a]), subst:[st1, st2] → [ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], ps0], <all paths>

Additional information

Used terms: ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val], ps0

Proof step 524 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ st1 = st2 ↔ (∀ a. (a ∈ st1 ↔ a ∈ st2) ∧ st1[a] = st2[a])

A spec-lemma

Proof step 525 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∃ vtail. ¬((vtail ∈ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val] ↔ vtail ∈ ps0) ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vtail] = ps0[vtail]), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ st[b, d] ↔ a = b ∨ a ∈ st; (ws)

Proof step 526 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vtail] = ps0[vtail]

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail0, ps0[vtail0].val:= vs0[vtail0].val, vtail], <all paths>

Additional information

Used simplifier rules: ⊦ a ≠ b → (a ∈ st[b, d] ↔ a ∈ st); (s) Used terms: ps0, vtail0, ps0[vtail0].val:= vs0[vtail0].val, vtail

Proof step 527 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 528 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), vtail = vtail0, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦ (vtail ∈ ps0 → vtail ∈ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vtail] = ps0[vtail]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ a ∈ st[a, d]; (s)

Proof step 529 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail0].val:= vs0[vtail0].val ≠ ps0[vtail0], vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule unfold

And obtained the following new goals

Rule argument

term: ps0[vtail0].val:= vs0[vtail0].val

Additional information

Proof step 530 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(val3, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], val3 = vs0[vtail0].val, mk(val3, opttid, nxt) ≠ ps0[vtail0], vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(val3, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(val3, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(val3, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(val3, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(val3, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(val, opttid, nxt) = mk(val0, opttid0, nxt0) ↔ val = val0 ∧ opttid = opttid0 ∧ nxt = nxt0; (ws)

Proof step 531 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: vtail0 ∈ orl0 + qrl0

Additional information

Used formulas: vtail0 ∈ orl0 + qrl0

Proof step 532 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, vtail0 ∈ orl0 + qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 533 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )), vtail0 ∈ orl0 ∨ vtail0 ∈ qrl0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:DMSQGInv, seq:⊦ 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), subst:[gs] → [mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)], <all paths>

Additional information

Used terms: mkgs (ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)

Proof step 534 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ 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)

A spec-lemma

Proof step 535 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp = dom mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl ≠ [], vs0[vtail0].val ≠ val2, vtail0 ≠ null, allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp), allocrv (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp), listp ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).owns), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), markedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), nonullRetRefs ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vrvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), rvownerok (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).pretRefs, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).prvHp, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns), unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).ps), vtail0 ∈ ps0, vtail0 ∈ vs0, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ∈ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl, ¬ dups ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl), pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ≠ null ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID ≠ None → mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).rvowns (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vretRefs (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid)) = Claimed (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .deqID .tid, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ] .next ] .val), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), vtail0 ∈ orl0 ∨ vtail0 ∈ qrl0, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] → unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.tail, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs)) ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.butlast.last = mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vhead ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).phead ≠ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl.last ∧ unmarkedp (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl, mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs), mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ∨ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ≠ [] ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vtail = ( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.butlast ).last ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl.last ] .deqID = None ∧ mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).vs [( mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).orl + mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0).qrl ).last ] .next = null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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)

Proof step 536 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, orl0 ≠ [], vtail0 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail0 ∈ vs0, vtail0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )), vtail0 ∈ orl0 ∨ vtail0 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: DMSQ, name:listp-in-postfix, seq:⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns)), subst:[ps, rl, owns, r, vs] → [ps0, orl0 + qrl0, owns0, vtail0, vs0]

Additional information

Used terms: ps0, orl0 + qrl0, owns0, vtail0, vs0

Proof step 537 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ listp(rl, vs, ps, owns) ∧ r ∈ rl → (∃ rl1, rl2. rl = rl1 + r ' + rl2 ∧ listp(r ' + rl2, vs, ps, owns))

A spec-lemma

Proof step 538 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, orl0 ≠ [], vtail0 ≠ null, allocrv(vretRefs0, vrvHp0), allocrv(pretRefs0, prvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), markedp(orl0, ps0), markedp(orl0, vs0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(vretRefs0, vrvHp0, rvowns0), rvownerok(pretRefs0, prvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ ps0, phead0 ∈ vs0, vtail0 ∈ ps0, vtail0 ∈ vs0, phead0 ∈ orl0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), vs0[vhead1].next ≠ null ∧ vs0[vs0[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 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, listp(orl0 + qrl0, vs0, ps0, owns0) ∧ vtail0 ∈ orl0 + qrl0 → (∃ rl1, rl2. orl0 + qrl0 = rl1 + vtail0 ' + rl2 ∧ listp(vtail0 ' + rl2, vs0, ps0, owns0)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0), vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, vtail0 ∈ orl0 ∨ vtail0 ∈ qrl0, content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 539 from proof fwsim-step-abstau (previous step) (back to tree)

orl0 + qrl0 = qrl + vtail0 ' + qrl1, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), dom vrvHp0 = dom prvHp0, lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, orl0 ≠ [], vtail0 ≠ null, allocrv(pretRefs0, prvHp0), allocrv(vretRefs0, vrvHp0), listp(orl0 + qrl0, vs0, ps0, owns0), listp(vtail0 ' + qrl1, vs0, ps0, owns0), markedp(orl0, vs0), markedp(orl0, ps0), nonullRetRefs(orl0 + qrl0, vs0, vretRefs0, pretRefs0), rvownerok(pretRefs0, prvHp0, rvowns0), rvownerok(vretRefs0, vrvHp0, rvowns0), unmarkedp(qrl0, ps0), phead0 ∈ orl0, vtail0 ∈ vs0, vtail0 ∈ ps0, phead0 ∈ vs0, phead0 ∈ ps0, ¬ dups(orl0 + qrl0), ¬ dups(orl0), ¬ dups(qrl0), pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = 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. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )), vtail0 ∈ orl0 ∨ vtail0 ∈ qrl0, vhead2 = (orl0 + qrl0).last ∨ qrl0 ≠ [] ∧ vhead2 = (orl0 + qrl0.butlast).last ∧ vs0[qrl0.last].deqID = None ∧ vs0[qrl0.last].next = null, orl0.last = vhead1 ∧ (qrl0 ≠ [] → unmarkedp(qrl0.tail, vs0)) ∨ orl0.butlast ≠ [] ∧ orl0.butlast.last = vhead1 ∧ phead0 ≠ orl0.last ∧ unmarkedp(qrl0, vs0) ⊦

User applied rule constructor cut

And closed the goal!

Rule argument

var: qrl1

Additional information

Used simplifier rules: reflist freely generated by [], +;; ⊦ a + x = a ' + x; (s) ⊦ listp(r ' + r0 ' + rl, vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = vs[r].next ∧ ps[r].next = r0 ∧ listp(r0 ' + rl, vs, ps, owns); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ mk(val, opttid, nxt).next = nxt; (s) ⊦ mk(val, opttid, nxt).val = val; (s) ⊦ x + [] = x; (s) ⊦ listp(r ', vs, ps, owns) ↔ owns(r) = None ∧ r ∈ vs ∧ r ∈ ps ∧ r ≠ null ∧ ¬ weak?(vs[r].deqID) ∧ (ps[r].deqID = vs[r].deqID ∨ ps[r].deqID = None) ∧ ps[r].val = vs[r].val ∧ ps[r].next = null ∧ ( vs[r].next ≠ null → vs[r].next ∈ vs ∧ vs[r].next ∈ ps ∧ ps[vs[r].next] = vs[vs[r].next] ∧ ps[vs[r].next].deqID = None ∧ ps[vs[r].next].next = null ∧ weak?(owns(vs[r].next))); (s) in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list[reflist]

Proof step 540 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, ¬ vtail0 ∈ orl0 + qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)]) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ orl → content(orl, ps[r, nd]) = content(orl, ps); (s) a: ⊦ (x + y) + z = x + y + z; from specification list[reflist] ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s)

Proof step 541 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, ¬ vtail0 ∈ orl0, ¬ vtail0 ∈ qrl0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → pcf(tid0) ≠ E10 → pcf(tid0) ≠ E11 → pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 85

Additional information

Proof step 542 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, optval1 ≠ optval, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, ¬ vtail0 ∈ orl0, ¬ vtail0 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 543 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, optval1 ≠ optval, pcf(tid0) ≠ D22, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, ¬ vtail0 ∈ orl0, ¬ vtail0 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D9 ∨ pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D18 ∨ pcf(tid0) = D19 ∨ pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D25 ∨ pcf(tid0) = D26 ∨ pcf(tid0) = D27 ∨ pcf(tid0) = D28 → vhead4 ∈ orl0 + qrl0 from vhead6, 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) = 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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) = 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, owns0), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID ≠ None ⊦ pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None, pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail0, mk(vs0[vtail0].val, opttid, nxt), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail0, mk(vs0[vtail0].val, opttid, nxt), vhead5

Proof step 544 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 545 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ ps0, vtail0 ∈ vs0, ¬ vtail0 ∈ orl0, ¬ vtail0 ∈ qrl0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), 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, vhead3, owns0, vs0, ps0), 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, owns0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, orl0 + qrl0, vhead6, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, vhead1, vs0), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → ¬ obsEmpty, pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, None, null), pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E16 → owns0(vhead3) = Some(tid0), pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 546 from proof fwsim-step-abstau (previous step) (back to tree)

ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead2].next = ps0[vhead2].next, abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), mk(val2, opttid, nxt) = ps0[vtail0], vs0[vtail0].val ≠ val2, pcf(tid0) ≠ D6, pcf(tid0) ≠ E11, pcf(tid0) ≠ E10, pcf(tid0) ≠ E4, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, ¬ vtail0 ∈ orl0, ¬ vtail0 ∈ qrl0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, vhead3, owns0, vs0, ps0), (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(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, vhead1, vs0), 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, orl0 + qrl0, vhead1, vs0), 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, owns0), 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 → val = val0, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid) ⊦ (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, mk(vs0[vtail0].val, opttid, nxt)][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) )

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail0, mk(vs0[vtail0].val, opttid, nxt), vhead5], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ mk(val, opttid, nxt).deqID = opttid; (s) Used terms: ps0, vtail0, mk(vs0[vtail0].val, opttid, nxt), vhead5

Proof step 547 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof step 548 from proof fwsim-step-abstau (previous step) (back to tree)

abspc (mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), pcf(tid0)) = apcf(tid0), alsf(tid0) = mkls(tid0, obsEmpty0, val0, optval1, val1, optval2), lsf(tid0) = mkls(tid0, val, optval, vhead3, nd, obsEmpty, vhead4, vhead5, rvref, optval0, vhead6, tid1, addr), ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next ≠ ps0[vhead2].next, vtail0 ≠ null, DMSQGInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0)), vtail0 ∈ vs0, vtail0 ∈ ps0, pcf(tid0) = D3 → rvowns0(rvref) = Pending(tid0) ∧ rvref ∈ vrvHp0 ∧ rvref ∈ prvHp0 ∧ rvref ≠ null, pcf(tid0) = D4 → vretRefs0(tid0) = rvref ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ∈ prvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D5 → rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D6 → (obsEmpty → optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref]) ∧ rvowns0(vretRefs0(tid0)) = (optval = Empty ∨ ¬ obsEmpty ⊃ Pending(tid0);Claimed(tid0, optval.val)), pcf(tid0) = D8 → vhead2 ∈ orl0 + qrl0 from vhead6, pcf(tid0) = D9 → vhead2 ∈ orl0 + qrl0 from vhead4, pcf(tid0) = D10 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D11 → vhead2 ∈ orl0 + qrl0 from vhead4 ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead6].next) ∧ (vhead6 ≠ vhead4 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next), pcf(tid0) = D12 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next), pcf(tid0) = D13 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = null, pcf(tid0) = D14 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ vhead5 = null, pcf(tid0) = D15 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vrvHp0[rvref] = Empty ∧ prvHp0[rvref] = Empty, pcf(tid0) = D16 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = D17 → (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = ps0[vhead4].next ∧ ps0[vhead4].next = vs0[vhead4].next ∧ ps0[vhead4].next ≠ null, pcf(tid0) = D18 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D19 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val), pcf(tid0) = D20 → ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6 ∧ obsEmpty) ∧ (obsEmpty ⊃ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[ps0[vhead6].next].val) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ;vs0[ps0[vhead6].next].deqID ≠ None ∧ noid(tid0, orl0 + qrl0, vhead6, vs0) ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0) ), pcf(tid0) = D21 → ps0[vhead6].next ≠ null ∧ vhead6 ∈ orl0 ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid0) ∧ (ps0[ps0[vhead6].next].deqID = None → vhead1 = vhead6) ∧ noid(tid0, orl0 + qrl0, ps0[vhead6].next, vs0) ∧ (qrl0 ≠ [] ∧ vs0[qrl0.head].deqID = Some(tid0) → vhead1 = vhead6), pcf(tid0) = D22 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D23 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref], pcf(tid0) = D24 → ps0[ps0[vhead6].next].deqID ≠ None ∧ vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ optval = vrvHp0[rvref] ∧ vrvHp0[rvref] = prvHp0[rvref], pcf(tid0) = D25 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ ( vhead1 = vhead6 → rvowns0(vretRefs0((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid)) = Claimed((ps0 ⊕ vs0)[ps0[vhead6].next].deqID.tid, vs0[ps0[vhead6].next].val)), pcf(tid0) = D26 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID ≠ None ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ optval = Val(vs0[ps0[vhead6].next].val) ∧ (vhead1 = vhead6 → rvowns0(vretRefs0(tid1)) = Claimed(tid1, vs0[ps0[vhead6].next].val)), pcf(tid0) = D27 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ (vhead1 = vhead6 → rvowns0(addr) = Claimed(tid1, optval.val)), pcf(tid0) = D28 → vhead6 ∈ orl0 ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ vs0[ps0[vhead6].next].deqID = Some(tid1) ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D29 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D30 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next ∧ rvowns0(addr) = Claimed(tid1, optval.val), pcf(tid0) = D31 → vhead6 ∈ orl0 ∧ ps0[ps0[vhead6].next].deqID ≠ None ∧ ps0[vhead6].next ≠ null ∧ vhead5 = ps0[vhead6].next, pcf(tid0) = D34 → optval = vrvHp0[vretRefs0(tid0)] ∧ vrvHp0[vretRefs0(tid0)] = prvHp0[pretRefs0(tid0)] ∧ vretRefs0(tid0) = pretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = (vrvHp0[vretRefs0(tid0)] = Empty ⊃ Pending(tid0);Claimed(tid0, vrvHp0[vretRefs0(tid0)].val)), pcf(tid0) = E2 → owns0(vhead3) = Some(tid0), pcf(tid0) = E3 → owns0(vhead3) = Some(tid0), pcf(tid0) = E5 → owns0(vhead3) = Some(tid0), pcf(tid0) = E6 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (ps0[vhead4].next = null → vhead4 = vhead2), pcf(tid0) = E7 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E8 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vhead5 ≠ null → vhead5 = vs0[vhead4].next) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E9 → owns0(vhead3) = Some(tid0) ∧ vhead5 = null ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next = null → vhead2 = vhead4), pcf(tid0) = E10 → obsEmpty → vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E11 → obsEmpty ∧ vs0[vhead4].next = vhead3 ∧ vs0[vhead4].next ≠ null ∧ vs0[vs0[vhead4].next].val = val ∧ ( vhead4 = vhead2 ∧ ps0[vhead2].next = null ∧ owns0(vs0[vhead2].next) = Weak(tid0) ∨ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ ps0[vhead4].next = vs0[vhead4].next), pcf(tid0) = E12 → obsEmpty ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ (vs0[vhead4].next ∈ orl0 ∨ vs0[vhead4].next ∈ qrl0) ∧ vs0[vhead4].next = vhead3 ∧ ps0[vhead4].next = vs0[vhead4].next ∧ vs0[vhead4].next ∈ ps0 ∧ vs0[vhead4].next ∈ vs0 ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E13 → owns0(vhead3) = Some(tid0), pcf(tid0) = E14 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E15 → owns0(vhead3) = Some(tid0) ∧ (vhead4 ∈ orl0 ∨ vhead4 ∈ qrl0) ∧ vhead5 = vs0[vhead4].next ∧ vs0[vhead4].next = ps0[vhead4].next ∧ vs0[vhead4].next ≠ null, pcf(tid0) = E16 → owns0(vhead3) = 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 → vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ vhead3 ≠ null ∧ ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0, pcf(tid0) = E4 ∨ pcf(tid0) = E10 → ¬ obsEmpty → ¬ vhead3 ∈ orl0 ∧ ¬ vhead3 ∈ qrl0 ∧ vhead3 ≠ null ∧ vhead3 ∈ ps0 ∧ vhead3 ∈ vs0 ∧ owns0(vhead3) = Some(tid0) ∧ vs0[vhead3] = mk(val, None, null) ∧ ps0[vhead3] = vs0[vhead3], 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 → vs0[vhead3] = mk(val, 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 → ps0[vhead3] = vs0[vhead3], 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 → ¬ obsEmpty ∧ rvowns0(vretRefs0(tid0)) = Pending(tid0), pcf(tid0) = D13 ∨ pcf(tid0) = D14 ∨ pcf(tid0) = D15 → ¬ obsEmpty ∧ rvowns0(vretRefs0(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 → ¬ obsEmpty, 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 → vhead6 ∈ orl0 ∧ vhead1 ∈ orl0 from vhead6, 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 → vhead6 ≠ vhead4 ∧ vhead2 ∈ orl0 + qrl0 from vhead4, 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 → vhead4 ∈ orl0 + qrl0 from vhead6, 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 → vretRefs0(tid0) = rvref ∧ pretRefs0(tid0) = vretRefs0(tid0) ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null, pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → obsEmpty ∧ vretRefs0(tid0) ∈ vrvHp0 ∧ vretRefs0(tid0) ≠ null ∧ rvowns0(vretRefs0(tid0)) = Claimed(tid0, vs0[vhead5].val) ∧ optval = Val(vs0[vhead5].val), pcf(tid0) = D27 ∨ pcf(tid0) = D28 ∨ pcf(tid0) = D29 ∨ pcf(tid0) = D30 → addr ∈ vrvHp0 ∧ addr ≠ null ∧ optval = Val(vs0[vhead5].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(tid0, vhead1, vs0), pcf(tid0) = D20 ∨ pcf(tid0) = D21 ∨ pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → vhead1 ≠ vhead6 → nextnottid(tid0, vhead1, vs0), 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(tid0, orl0 + qrl0, vhead1, vs0), 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, orl0 + qrl0, vhead6, vs0), pcf(tid0) = D22 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 → noid(tid0, orl0 + qrl0, vhead5, vs0), 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, owns0), 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, vhead3, owns0, vs0, ps0), pcf(tid0) = E10 → (obsEmpty ⊃ (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)) ;oneowns(tid0, vhead3, owns0, vs0, ps0) ), pcf(tid0) = E11 → (ps0[vhead4].next ≠ vs0[vhead4].next ⊃ oneweakowns(tid0, vhead3, owns0, vs0, ps0);noowns(tid0, owns0)), pcf(tid0) = E4 → (obsEmpty ⊃ noowns(tid0, owns0);oneowns(tid0, vhead3, owns0, vs0, ps0)), 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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0, (pcf(tid0) = D10 ∨ pcf(tid0) = D11 ∨ pcf(tid0) = D12 ∨ pcf(tid0) = D13 ∨ pcf(tid0) = D14) ∧ vhead5 = null → obsEmpty0, pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval, pcf(tid0) = D15 ∨ pcf(tid0) = D23 ∨ pcf(tid0) = D24 ∨ pcf(tid0) = D6 ∧ obsEmpty ∨ pcf(tid0) = D34 → optval1 = vrvHp0[vretRefs0(tid0)], ∀ tid. lsf(tid).tid = tid ∧ DMSQLInv(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)), ∀ tid. absls(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid), alsf(tid)) ∧ abspc(mkgs(ps0, vs0, phead0, vhead1, vhead2, vretRefs0, pretRefs0, vrvHp0, prvHp0, qrl0, orl0, owns0, rvowns0), lsf(tid), pcf(tid)) = apcf(tid), content(qrl0, ps0) ≠ content(qrl0, ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].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 ∧ (obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null) ∨ pcf(tid0) = E11 ∧ vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ∨ pcf(tid0) = E13 ∨ pcf(tid0) = E14 ∨ pcf(tid0) = E15 ∨ pcf(tid0) = E16 → val = val0) ∨ ¬ ( pcf(tid0) = D20 ∧ obsEmpty ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D21 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID ≠ None ∨ pcf(tid0) = D22 → optval1 = optval) ∨ ¬ ( pcf(tid0) ≠ E4 → (pcf(tid0) = E10 ⊃ obsEmpty → vhead4 = vhead2 ∧ ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ obsEmpty → vhead4 = vhead2 ∧ ps0[vhead2].next = null ;(pcf(tid0) = E11 ⊃ vhead4 = vhead2 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead2].next = null ↔ ps0[vhead2].next = null) ; pcf(tid0) ≠ D6 → (pcf(tid0) = D20 ⊃ obsEmpty → ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ obsEmpty → ps0[vhead5].deqID = None ;pcf(tid0) = D21 → (ps0[vtail0, ps0[vtail0].val:= vs0[vtail0].val][vhead5].deqID = None ↔ ps0[vhead5].deqID = None) ) ) )) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: store[Node-heap], name:At-other, seq: ⊦ a ≠ b → st[b, d][a] = st[a], subst:[st, b, d, a] → [ps0, vtail0, ps0[vtail0].val:= vs0[vtail0].val, vhead2], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → st[b, d][a] = d; (s) ⊦ (nd.val:= val).next = nd.next; (s) Used terms: ps0, vtail0, ps0[vtail0].val:= vs0[vtail0].val, vhead2

Proof step 549 from proof fwsim-step-abstau (previous step) (back to tree)

⊦ a ≠ b → st[b, d][a] = st[a]

A spec-lemma

Proof Tree for fwsim-step-abstau (View conclusion)

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.

the proof tree