| # gs.ar ≠ 0 ∧ htok(gs.ar), # gs0.ar ≠ 0 ∧ htok(gs0.ar), lsf(tid) = ls, lsf0(tid) = ls0, alsf(tid) = als, alsf(tid).tid = tid, lsf(tid).tid = tid, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, pcf(tid) = M18, pcf0(tid) = idle, apcf(tid) = apc, false, SetLInv(ags, als, apc), ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), pre(ags, als, apc, ARetMember(ls.tid, b)) → ags0 = gstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ als0 = lstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ apc0 = pcstepf(ags, als, apc, ARetMember(ls.tid, b)), pre(gs, ls, M18, retMEMBER(ls.tid, b)) ∧ gs0 = gstepf(gs, ls, M18, retMEMBER(ls.tid, b)) ∧ ls0 = lstepf(gs, ls, M18, retMEMBER(ls.tid, b)) ∧ idle = pcstepf(gs, ls, M18, retMEMBER(ls.tid, b)), absset(gs.ar, ags.set), ls.tid = als.tid ∧ (apc = invMember ∨ apc = invInsert → ls.e = als.le) ⊦ pre(ags, als, apc, ARetMember(ls.tid, b)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = idle ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le) |
ls.tid = als.tid, lsf(tid).tid = tid, alsf(tid).tid = tid, alsf(tid) = als, apcf(tid) = apc, gs0 = gstepf(gs, ls, M18, retMEMBER(ls.tid, b)), idle = pcstepf(gs, ls, M18, retMEMBER(ls.tid, b)), ls0 = lstepf(gs, ls, M18, retMEMBER(ls.tid, b)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = M18, pcf0(tid) = idle, # gs.ar ≠ 0, # gs0.ar ≠ 0, SetLInv(ags, als, apc), absset(gs.ar, ags.set), htok(gs0.ar), htok(gs.ar), pre(gs, ls, M18, retMEMBER(ls.tid, b)), apc = invMember ∨ apc = invInsert → ls.e = als.le, pre(ags, als, apc, ARetMember(ls.tid, b)) → ags0 = gstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ als0 = lstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ apc0 = pcstepf(ags, als, apc, ARetMember(ls.tid, b)), ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0, false ⊦ pre(ags, als, apc, ARetMember(ls.tid, b)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = idle ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le)
| ls.tid = als.tid, lsf(tid).tid = tid, alsf(tid).tid = tid, alsf(tid) = als, apcf(tid) = apc, gs0 = gstepf(gs, ls, M18, retMEMBER(ls.tid, b)), idle = pcstepf(gs, ls, M18, retMEMBER(ls.tid, b)), ls0 = lstepf(gs, ls, M18, retMEMBER(ls.tid, b)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = M18, pcf0(tid) = idle, # gs.ar ≠ 0, # gs0.ar ≠ 0, SetLInv(ags, als, apc), absset(gs.ar, ags.set), htok(gs0.ar), htok(gs.ar), pre(gs, ls, M18, retMEMBER(ls.tid, b)), apc = invMember ∨ apc = invInsert → ls.e = als.le, pre(ags, als, apc, ARetMember(ls.tid, b)) → ags0 = gstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ als0 = lstepf(ags, als, apc, ARetMember(ls.tid, b)) ∧ apc0 = pcstepf(ags, als, apc, ARetMember(ls.tid, b)), ∀ tid0. tid0 ≠ tid → HashsetLInv(gs, lsf(tid0), pcf(tid0)) ∧ SetLInv(ags, alsf(tid0), apcf(tid0)) ∧ labs(gs, lsf(tid0), pcf(tid0), ags, alsf(tid0), apcf(tid0)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0, false ⊦ pre(ags, als, apc, ARetMember(ls.tid, b)) ∧ absset(gs0.ar, ags0.set) ∧ ls0.tid = als0.tid ∧ apc0 = idle ∧ (apc0 = invMember ∨ apc0 = invInsert → ls0.e = als0.le) |
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.