| (gs.memories = ∅ ' ∧ pcf = (λ tid. NotStarted)) ∧ (∀ tid. tid = lsf(tid).tid) ⊦ TMS2Inv(gs, lsf, pcf) |
gs.memories = ∅ ', pcf = (λ tid. NotStarted), ¬ TMS2Inv(gs, lsf, pcf), ∀ tid. tid = lsf(tid).tid ⊦
| gs.memories = ∅ ', pcf = (λ tid. NotStarted), ¬ TMS2Inv(gs, lsf, pcf), ∀ tid. tid = lsf(tid).tid ⊦ |
gs.memories = ∅ ', ¬ TMS2Inv(gs, lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦
| gs.memories = ∅ ', ¬ TMS2Inv(gs, lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦ |
gs = mkTMS2gs(memories), memories = ∅ ', ¬ TMS2Inv(gs, lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦
Used simplifier rules: ⊦ memories = gs.memories ↔ gs = mkTMS2gs(memories); (elim) Used terms: gs, memories
| gs = mkTMS2gs(memories), memories = ∅ ', ¬ TMS2Inv(gs, lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦ |
¬ TMS2Inv(mkTMS2gs(∅ '), lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦
| ¬ TMS2Inv(mkTMS2gs(∅ '), lsf, λ tid. NotStarted), ∀ tid. tid = lsf(tid).tid ⊦ |
⊦ TMS2Inv(gs, lsf, pcf) ↔ TMS2GInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ TMS2LInv(gs, lsf(tid), pcf(tid)))
∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ (∃ tid. ¬(lsf(tid).tid = tid ∧ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted))) ⊦
Used terms: mkTMS2gs(∅ '), lsf, λ tid. NotStarted
| ⊦ TMS2Inv(gs, lsf, pcf) ↔ TMS2GInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ TMS2LInv(gs, lsf(tid), pcf(tid))) |
| ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ (∃ tid. ¬(lsf(tid).tid = tid ∧ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted))) ⊦ |
∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ lsf(tid).tid ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted) ⊦
| ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ lsf(tid).tid ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted) ⊦ |
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted) ⊦
Used simplifier rules: ⊦ ( (((tid = ls.tid ∧ rdset = ls.rdset) ∧ wrset = ls.wrset) ∧ beginIdx = ls.beginIdx) ∧ il = ls.il) ∧ ov = ls.ov ↔ ls = mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov); (elim) Used terms: beginIdx, tid0, wrset, ov, lsf(tid), il, rdset
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), lsf(tid), NotStarted) ⊦ |
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ TMS2GInv(mkTMS2gs(∅ ')) ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦ |
⊦ TMS2GInv(gs) ↔ gs.memories ≠ []
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ mkTMS2gs(∅ ').memories ≠ [] ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦
Used terms: mkTMS2gs(∅ ')
| ⊦ TMS2GInv(gs) ↔ gs.memories ≠ [] |
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, ¬ mkTMS2gs(∅ ').memories ≠ [] ∨ tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦ |
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦
Used simplifier rules: ⊦ a ' ≠ []; (s) ⊦ mkTMS2gs(memories).memories = memories; (s)
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, tid0 ≠ tid ∨ ¬ TMS2LInv(mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted) ⊦ |
⊦ TMS2LInv(gs, ls, pc) ↔ pc = Ready ∨ pc = BeginPending ∨ pc = CommitResp ∨ pc = ReadResp ∨ pc = WriteResp ∨ pc = CommitInv ∨ pc = ReadInv ∨ pc = WriteInv ∨ pc = CancelPending ∨ pc = Committed ∨ pc = Aborted → ls.beginIdx < # gs.memories
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, tid0 ≠ tid ∨ ¬ ( NotStarted = Ready ∨ NotStarted = BeginPending ∨ NotStarted = CommitResp ∨ NotStarted = ReadResp ∨ NotStarted = WriteResp ∨ NotStarted = CommitInv ∨ NotStarted = ReadInv ∨ NotStarted = WriteInv ∨ NotStarted = CancelPending ∨ NotStarted = Committed ∨ NotStarted = Aborted → mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov).beginIdx < # mkTMS2gs(∅ ').memories) ⊦
Used terms: mkTMS2gs(∅ '), mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov), NotStarted
| ⊦ TMS2LInv(gs, ls, pc) ↔ pc = Ready ∨ pc = BeginPending ∨ pc = CommitResp ∨ pc = ReadResp ∨ pc = WriteResp ∨ pc = CommitInv ∨ pc = ReadInv ∨ pc = WriteInv ∨ pc = CancelPending ∨ pc = Committed ∨ pc = Aborted → ls.beginIdx < # gs.memories |
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), ∀ tid. tid = lsf(tid).tid, tid0 ≠ tid ∨ ¬ ( NotStarted = Ready ∨ NotStarted = BeginPending ∨ NotStarted = CommitResp ∨ NotStarted = ReadResp ∨ NotStarted = WriteResp ∨ NotStarted = CommitInv ∨ NotStarted = ReadInv ∨ NotStarted = WriteInv ∨ NotStarted = CancelPending ∨ NotStarted = Committed ∨ NotStarted = Aborted → mkTMS2ls(tid, rdset, wrset, beginIdx, il, ov).beginIdx < # mkTMS2gs(∅ ').memories) ⊦ |
lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), tid0 ≠ tid, ∀ tid. tid = lsf(tid).tid ⊦
Used simplifier rules: ⊦ Aborted ≠ NotStarted; (s) ⊦ Committed ≠ NotStarted; (s) ⊦ CancelPending ≠ NotStarted; (s) ⊦ NotStarted ≠ WriteInv; (s) ⊦ NotStarted ≠ ReadInv; (s) ⊦ CommitInv ≠ NotStarted; (s) ⊦ NotStarted ≠ WriteResp; (s) ⊦ NotStarted ≠ ReadResp; (s) ⊦ CommitResp ≠ NotStarted; (s) ⊦ BeginPending ≠ NotStarted; (s) ⊦ NotStarted ≠ Ready; (s)
| lsf(tid) = mkTMS2ls(tid0, rdset, wrset, beginIdx, il, ov), tid0 ≠ tid, ∀ tid. tid = lsf(tid).tid ⊦ |
Used simplifier rules: ⊦ mkTMS2ls(tid, rdset, rdset0, beginIdx, il, ov).tid = tid; (s) Used terms: tid
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.