| even(ls.loc), even(gs.glb) ↔ gs.w = None, even(gs0.glb) ↔ gs0.w = None, ags.memories ≠ [], 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) = E1, pcf0(tid) = E3, apcf(tid) = apc, (gs.w = Some(tid) → odd(gs.glb)) ∧ ls.loc ≤ gs.glb ∧ (odd(ls.loc) → ls.loc = gs.glb) ∧ (gs.w = Some(tid) → odd(ls.loc)) ∧ (gs.w ≠ Some(tid) → even(ls.loc)), (gs0.w = Some(tid) → odd(gs0.glb)) ∧ ls0.loc ≤ gs0.glb ∧ (gs0.w = Some(tid) → odd(ls0.loc)), TMS2LInv(ags, als, apc), tid ≠ tid0, lsf(tid0).tid = tid0, TMLLInv(gs, lsf(tid0), pcf(tid0)), TMLLInv(gs0, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), pre(ags, als, apc, callDoCommitReadOnly(ls.tid)) → ags0 = gstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ als0 = lstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ apc0 = pcstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)), ags0.memories ≠ [], pre(gs, ls, E1, doCommitReadOnly(ls.tid)) ∧ gs0 = gstepf(gs, ls, E1, doCommitReadOnly(ls.tid)) ∧ ls0 = lstepf(gs, ls, E1, doCommitReadOnly(ls.tid)) ∧ E3 = pcstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), true, ls.tid = als.tid ∧ abspc(E1) = apc ∧ (E1 = S ∨ E1 = B1 ∨ E1 = B2 ∨ E1 = B3 ∨ E1 = B4 → als.rdset = ∅ ∧ als.wrset = ∅) ∧ (even(ls.loc) → als.wrset = ∅) ∧ (E1 = W1 ∨ E1 = W2 ∨ E1 = W3 ∨ E1 = W4 ∨ E1 = W5 → ls.l = als.il ∧ ls.v = als.ov) ∧ (E1 = R1 ∨ E1 = R2 ∨ E1 = R4 → ls.l = als.il) ∧ (E1 = R3 → ls.v = als.ov) ∧ (gs.w = None → gs.mem = ags.memories.last ∧ even(gs.glb)) ∧ (gs.w = Some(ls.tid) ⊃ (E1 ≠ W4 → odd(ls.loc)) ∧ als.wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ als.wrset ∧ odd(gs.glb) ;E1 ≠ E3 ∧ E1 ≠ C → als.wrset = ∅ ) ∧ ( E1 ≠ E3 ∧ E1 ≠ C ∧ E1 ≠ A ∧ E1 ≠ B1 ∧ E1 ≠ S → (gs.glb = ls.loc ∨ E1 = W4 ⊃ als.rdset ⊆ ags.memories.last;∃valid(als.beginIdx, als.rdset, ags.memories))), lsf(tid0).tid = alsf(tid0).tid ∧ abspc(pcf(tid0)) = apcf(tid0) ∧ (pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅) ∧ (even(lsf(tid0).loc) → alsf(tid0).wrset = ∅) ∧ (pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov) ∧ (pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il) ∧ (pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov) ∧ (gs.w = None → gs.mem = ags.memories.last ∧ even(gs.glb)) ∧ (gs.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories))) ⊦ lsf(tid0).tid = alsf(tid0).tid ∧ abspc(pcf(tid0)) = apcf(tid0) ∧ (pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅) ∧ (even(lsf(tid0).loc) → alsf(tid0).wrset = ∅) ∧ (pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov) ∧ (pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il) ∧ (pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov) ∧ (gs0.w = None → gs0.mem = ags0.memories.last ∧ even(gs0.glb)) ∧ (gs0.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs0.mem ∧ gs0.mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs0.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs0.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
lsf(tid0).tid = alsf(tid0).tid, ls.tid = als.tid, lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid).tid = tid, even(gs0.glb) ↔ gs0.w = None, even(gs.glb) ↔ gs.w = None, E3 = pcstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), abspc(pcf(tid0)) = apcf(tid0), abspc(E1) = apc, alsf(tid) = als, apcf(tid) = apc, gs0 = gstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), ls0 = lstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = E1, pcf0(tid) = E3, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, TMLLInv(gs0, lsf(tid0), pcf(tid0)), TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, als, apc), even(ls.loc), pre(gs, ls, E1, doCommitReadOnly(ls.tid)), ls0.loc ≤ gs0.glb, ls.loc ≤ gs.glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), E1 = S ∨ E1 = B1 ∨ E1 = B2 ∨ E1 = B3 ∨ E1 = B4 → als.rdset = ∅ ∧ als.wrset = ∅, even(ls.loc) → als.wrset = ∅, E1 = W1 ∨ E1 = W2 ∨ E1 = W3 ∨ E1 = W4 ∨ E1 = W5 → ls.l = als.il ∧ ls.v = als.ov, E1 = R1 ∨ E1 = R2 ∨ E1 = R4 → ls.l = als.il, E1 = R3 → ls.v = als.ov, gs.w = None → gs.mem = ags.memories.last ∧ even(gs.glb), E1 ≠ E3 ∧ E1 ≠ C ∧ E1 ≠ A ∧ E1 ≠ B1 ∧ E1 ≠ S → (gs.glb = ls.loc ∨ E1 = W4 ⊃ als.rdset ⊆ ags.memories.last;∃valid(als.beginIdx, als.rdset, ags.memories)), pre(ags, als, apc, callDoCommitReadOnly(ls.tid)) → ags0 = gstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ als0 = lstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ apc0 = pcstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)), gs0.w = Some(tid) → odd(gs0.glb), gs0.w = Some(tid) → odd(ls0.loc), gs.w = Some(tid) → odd(gs.glb), odd(ls.loc) → ls.loc = gs.glb, gs.w = Some(tid) → odd(ls.loc), gs.w ≠ Some(tid) → even(ls.loc), (gs.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (gs.w = Some(ls.tid) ⊃ (E1 ≠ W4 → odd(ls.loc)) ∧ als.wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ als.wrset ∧ odd(gs.glb) ;E1 ≠ E3 ∧ E1 ≠ C → als.wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0 ⊦ lsf(tid0).tid = alsf(tid0).tid ∧ abspc(pcf(tid0)) = apcf(tid0) ∧ (pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅) ∧ (even(lsf(tid0).loc) → alsf(tid0).wrset = ∅) ∧ (pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov) ∧ (pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il) ∧ (pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov) ∧ (gs0.w = None → gs0.mem = ags0.memories.last ∧ even(gs0.glb)) ∧ (gs0.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs0.mem ∧ gs0.mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs0.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs0.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| lsf(tid0).tid = alsf(tid0).tid, ls.tid = als.tid, lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid).tid = tid, even(gs0.glb) ↔ gs0.w = None, even(gs.glb) ↔ gs.w = None, E3 = pcstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), abspc(pcf(tid0)) = apcf(tid0), abspc(E1) = apc, alsf(tid) = als, apcf(tid) = apc, gs0 = gstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), ls0 = lstepf(gs, ls, E1, doCommitReadOnly(ls.tid)), lsf(tid) = ls, lsf0(tid) = ls0, pcf(tid) = E1, pcf0(tid) = E3, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, TMLLInv(gs0, lsf(tid0), pcf(tid0)), TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, als, apc), even(ls.loc), pre(gs, ls, E1, doCommitReadOnly(ls.tid)), ls0.loc ≤ gs0.glb, ls.loc ≤ gs.glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), E1 = S ∨ E1 = B1 ∨ E1 = B2 ∨ E1 = B3 ∨ E1 = B4 → als.rdset = ∅ ∧ als.wrset = ∅, even(ls.loc) → als.wrset = ∅, E1 = W1 ∨ E1 = W2 ∨ E1 = W3 ∨ E1 = W4 ∨ E1 = W5 → ls.l = als.il ∧ ls.v = als.ov, E1 = R1 ∨ E1 = R2 ∨ E1 = R4 → ls.l = als.il, E1 = R3 → ls.v = als.ov, gs.w = None → gs.mem = ags.memories.last ∧ even(gs.glb), E1 ≠ E3 ∧ E1 ≠ C ∧ E1 ≠ A ∧ E1 ≠ B1 ∧ E1 ≠ S → (gs.glb = ls.loc ∨ E1 = W4 ⊃ als.rdset ⊆ ags.memories.last;∃valid(als.beginIdx, als.rdset, ags.memories)), pre(ags, als, apc, callDoCommitReadOnly(ls.tid)) → ags0 = gstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ als0 = lstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)) ∧ apc0 = pcstepf(ags, als, apc, callDoCommitReadOnly(ls.tid)), gs0.w = Some(tid) → odd(gs0.glb), gs0.w = Some(tid) → odd(ls0.loc), gs.w = Some(tid) → odd(gs.glb), odd(ls.loc) → ls.loc = gs.glb, gs.w = Some(tid) → odd(ls.loc), gs.w ≠ Some(tid) → even(ls.loc), (gs.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (gs.w = Some(ls.tid) ⊃ (E1 ≠ W4 → odd(ls.loc)) ∧ als.wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ als.wrset ∧ odd(gs.glb) ;E1 ≠ E3 ∧ E1 ≠ C → als.wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid0. tid0 ≠ tid → alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid → lsf(tid0).tid = tid0 ⊦ lsf(tid0).tid = alsf(tid0).tid ∧ abspc(pcf(tid0)) = apcf(tid0) ∧ (pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅) ∧ (even(lsf(tid0).loc) → alsf(tid0).wrset = ∅) ∧ (pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov) ∧ (pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il) ∧ (pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov) ∧ (gs0.w = None → gs0.mem = ags0.memories.last ∧ even(gs0.glb)) ∧ (gs0.w = Some(lsf(tid0).tid) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs0.mem ∧ gs0.mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs0.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs0.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(gs.glb) ↔ gs.w = None, CommitInv = apcf(tid), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], gs.w ≠ Some(tid), tid ≠ tid0, TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ gs.glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, gs.w = None → gs.mem = ags.memories.last, (gs.glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (gs.w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (gs.w = None → gs.mem = ags0.memories.last) ∧ (gs.w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: abspc-def: ⊦ abspc(pc) = (pc = S ⊃ NotStarted ;(pc = B1 ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 ⊃ BeginPending ;(pc = I ⊃ Ready ;(pc = R1 ∨ pc = R2 ∨ pc = R4 ⊃ ReadInv ;(pc = R3 ⊃ ReadResp ;(pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ⊃ WriteInv ;(pc = W6 ⊃ WriteResp ;(pc = E1 ∨ pc = E2 ⊃ CommitInv ;(pc = E3 ⊃ CommitResp;(pc = C ⊃ Committed;Aborted)) ) ) ) ) ) ) ) ); ⊦ ls.tid = tid → pcstepf(gs, ls, CommitInv, callDoCommitReadOnly(tid)) = CommitResp; (s) ⊦ ls.tid = tid → lstepf(gs, ls, CommitInv, callDoCommitReadOnly(tid)) = ls; (s) ⊦ ls.tid = tid → gstepf(gs, ls, CommitInv, callDoCommitReadOnly(tid)) = gs; (s) ⊦ gstepf(gs, ls, E1, a) = gs; (s) ⊦ B4 ≠ E1; (s) ⊦ B3 ≠ E1; (s) ⊦ B2 ≠ E1; (s) ⊦ B1 ≠ E1; (s) ⊦ E1 ≠ S; (s) ⊦ E1 ≠ W5; (s) ⊦ E1 ≠ W4; (s) ⊦ E1 ≠ W3; (s) ⊦ E1 ≠ W2; (s) ⊦ E1 ≠ W1; (s) ⊦ E1 ≠ R4; (s) ⊦ E1 ≠ R2; (s) ⊦ E1 ≠ R1; (s) ⊦ E1 ≠ R3; (s) ⊦ A ≠ E1; (s) ⊦ C ≠ E1; (s) ⊦ E1 ≠ E3; (s) ⊦ pre(gs, ls, pc, callDoCommitReadOnly(tid)) ↔ pc = CommitInv ∧ ls.tid = tid ∧ ls.wrset = ∅ ∧ ∃valid(ls.beginIdx, ls.rdset, gs.memories); (s) ⊦ even(n) → ¬ odd(n); (s) ⊦ doCommitReadOnly(tid) = doCommitReadOnly(tid0) ↔ tid = tid0; (s) ⊦ pre(gs, ls, E1, a) ↔ a = (even(ls.loc) ⊃ doCommitReadOnly(ls.tid);τ); (s) ⊦ pcstepf(gs, ls, E1, a) = (odd(ls.loc) ⊃ E2;E3); (s) ⊦ E1 ≠ W6; (s) ⊦ E1 ≠ I; (s) ⊦ lstepf(gs, ls, E1, a) = ls; (s)
| lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(gs.glb) ↔ gs.w = None, CommitInv = apcf(tid), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], gs.w ≠ Some(tid), tid ≠ tid0, TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ gs.glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, gs.w = None → gs.mem = ags.memories.last, (gs.glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (gs.w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (gs.w = None → gs.mem = ags0.memories.last) ∧ (gs.w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ gs.mem ∧ gs.mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(gs.glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (gs.glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, lsf(tid).tid = tid, lsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), gs = mkTMLgs(mem, glb, w), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(lsf(tid).loc), lsf(tid).loc ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ mem ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ mem ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ (mem = gs.mem ∧ glb = gs.glb) ∧ w = gs.w ↔ gs = mkTMLgs(mem, glb, w); (elim) Used terms: gs, mem, glb, w
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, lsf(tid).tid = tid, lsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), gs = mkTMLgs(mem, glb, w), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(gs, lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(lsf(tid).loc), lsf(tid).loc ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ mem ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(gs, lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(gs, lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ mem ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(lsf(tid0).loc) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → lsf(tid0).l = alsf(tid0).il ∧ lsf(tid0).v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → lsf(tid0).l = alsf(tid0).il, pcf(tid0) = R3 → lsf(tid0).v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(lsf(tid0).loc)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = lsf(tid0).loc ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid2, glb0, l, v), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, tid2 = tid0, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(lsf(tid).loc), lsf(tid).loc ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ ((tid = ls.tid ∧ loc = ls.loc) ∧ l = ls.l) ∧ v = ls.v ↔ ls = mkTMLls(tid, loc, l, v); (elim) Used terms: v, l, tid2, lsf(tid0), glb0
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid2, glb0, l, v), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, tid2 = tid0, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), lsf(tid0), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(lsf(tid).loc), lsf(tid).loc ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| lsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(lsf(tid).loc), lsf(tid).loc ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = lsf(tid).loc ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid2, glb1, l0, v0), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, tid2 = tid, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ ((tid = ls.tid ∧ loc = ls.loc) ∧ l = ls.l) ∧ v = ls.v ↔ ls = mkTMLls(tid, loc, l, v); (elim) Used terms: v0, l0, tid2, lsf(tid), glb1
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid2, glb1, l0, v0), lsf0(tid) = lsf(tid), pcf(tid) = E1, pcf0(tid) = E3, tid2 = tid, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMLLInv(mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
⊦ TMLLInv(gs, ls, pc) ↔ (pc = E2 → odd(ls.loc)) ∧ (pc = R2 → ls.loc = gs.glb → gs.mem(ls.l) = ls.v) ∧ (pc = W2 → even(ls.loc)) ∧ (pc = W4 → even(ls.loc) ∧ gs.glb = ls.loc + 1 ∧ gs.w = Some(ls.tid)) ∧ (pc = W5 → gs.w = Some(ls.tid)) ∧ ( pc = S ∨ pc = I ∨ pc = B1 ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → gs.w = Some(ls.tid) → odd(gs.glb)) ∧ ( pc = I ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → ls.loc ≤ gs.glb) ∧ (pc = B4 → even(ls.loc)) ∧ ( pc = I ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 → odd(ls.loc) → ls.loc = gs.glb) ∧ (pc = S ∨ pc = B1 ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 → gs.w ≠ Some(ls.tid)) ∧ ( pc = I ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → gs.w = Some(ls.tid) → odd(ls.loc)) ∧ ( pc = I ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = A → gs.w ≠ Some(ls.tid) → even(ls.loc))
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = R2 → mkTMLls(tid0, glb0, l, v).loc = mkTMLgs(mem, glb, w).glb → mkTMLgs(mem, glb, w).mem(mkTMLls(tid0, glb0, l, v).l) = mkTMLls(tid0, glb0, l, v).v, pcf(tid0) = W2 → even(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = W4 → even(mkTMLls(tid0, glb0, l, v).loc) ∧ mkTMLgs(mem, glb, w).glb = mkTMLls(tid0, glb0, l, v).loc + 1 ∧ mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = W5 → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid) → odd(mkTMLgs(mem, glb, w).glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLls(tid0, glb0, l, v).loc ≤ mkTMLgs(mem, glb, w).glb, pcf(tid0) = B4 → even(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(mkTMLls(tid0, glb0, l, v).loc) → mkTMLls(tid0, glb0, l, v).loc = mkTMLgs(mem, glb, w).glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → mkTMLgs(mem, glb, w).w ≠ Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid) → odd(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w ≠ Some(mkTMLls(tid0, glb0, l, v).tid) → even(mkTMLls(tid0, glb0, l, v).loc), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used terms: mkTMLgs(mem, glb, w), mkTMLls(tid0, glb0, l, v), pcf(tid0)
| ⊦ TMLLInv(gs, ls, pc) ↔ (pc = E2 → odd(ls.loc)) ∧ (pc = R2 → ls.loc = gs.glb → gs.mem(ls.l) = ls.v) ∧ (pc = W2 → even(ls.loc)) ∧ (pc = W4 → even(ls.loc) ∧ gs.glb = ls.loc + 1 ∧ gs.w = Some(ls.tid)) ∧ (pc = W5 → gs.w = Some(ls.tid)) ∧ ( pc = S ∨ pc = I ∨ pc = B1 ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → gs.w = Some(ls.tid) → odd(gs.glb)) ∧ ( pc = I ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → ls.loc ≤ gs.glb) ∧ (pc = B4 → even(ls.loc)) ∧ ( pc = I ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 → odd(ls.loc) → ls.loc = gs.glb) ∧ (pc = S ∨ pc = B1 ∨ pc = B2 ∨ pc = B3 ∨ pc = B4 → gs.w ≠ Some(ls.tid)) ∧ ( pc = I ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = E3 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W5 ∨ pc = W6 ∨ pc = C ∨ pc = A → gs.w = Some(ls.tid) → odd(ls.loc)) ∧ ( pc = I ∨ pc = B4 ∨ pc = R1 ∨ pc = R2 ∨ pc = R3 ∨ pc = R4 ∨ pc = E1 ∨ pc = E2 ∨ pc = W1 ∨ pc = W2 ∨ pc = W3 ∨ pc = W4 ∨ pc = W5 ∨ pc = W6 ∨ pc = A → gs.w ≠ Some(ls.tid) → even(ls.loc)) |
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid), CommitInv), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = R2 → mkTMLls(tid0, glb0, l, v).loc = mkTMLgs(mem, glb, w).glb → mkTMLgs(mem, glb, w).mem(mkTMLls(tid0, glb0, l, v).l) = mkTMLls(tid0, glb0, l, v).v, pcf(tid0) = W2 → even(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = W4 → even(mkTMLls(tid0, glb0, l, v).loc) ∧ mkTMLgs(mem, glb, w).glb = mkTMLls(tid0, glb0, l, v).loc + 1 ∧ mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = W5 → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid) → odd(mkTMLgs(mem, glb, w).glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLls(tid0, glb0, l, v).loc ≤ mkTMLgs(mem, glb, w).glb, pcf(tid0) = B4 → even(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(mkTMLls(tid0, glb0, l, v).loc) → mkTMLls(tid0, glb0, l, v).loc = mkTMLgs(mem, glb, w).glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → mkTMLgs(mem, glb, w).w ≠ Some(mkTMLls(tid0, glb0, l, v).tid), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w = Some(mkTMLls(tid0, glb0, l, v).tid) → odd(mkTMLls(tid0, glb0, l, v).loc), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → mkTMLgs(mem, glb, w).w ≠ Some(mkTMLls(tid0, glb0, l, v).tid) → even(mkTMLls(tid0, glb0, l, v).loc), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = E2 → odd(glb0), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ mkTMLls(tid, loc, l, v).loc = loc; (s) ⊦ mkTMLls(tid, loc, l, v).v = v; (s) ⊦ mkTMLgs(mem, glb, w).mem = mem; (s) ⊦ mkTMLls(tid, loc, l, v).l = l; (s) ⊦ mkTMLgs(mem, glb, w).glb = glb; (s) ⊦ mkTMLls(tid, loc, l, v).tid = tid; (s) ⊦ mkTMLgs(mem, glb, w).w = w; (s)
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid0), apcf(tid0)), TMS2LInv(ags, alsf(tid), CommitInv), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = E2 → odd(glb0), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
⊦ 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
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, CommitInv = Ready ∨ CommitInv = BeginPending ∨ CommitInv = CommitResp ∨ CommitInv = ReadResp ∨ CommitInv = WriteResp ∨ CommitInv = CommitInv ∨ CommitInv = ReadInv ∨ CommitInv = WriteInv ∨ CommitInv = CancelPending ∨ CommitInv = Committed ∨ CommitInv = Aborted → alsf(tid).beginIdx < # ags.memories, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used terms: ags, alsf(tid), CommitInv
| ⊦ 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 |
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, CommitInv = Ready ∨ CommitInv = BeginPending ∨ CommitInv = CommitResp ∨ CommitInv = ReadResp ∨ CommitInv = WriteResp ∨ CommitInv = CommitInv ∨ CommitInv = ReadInv ∨ CommitInv = WriteInv ∨ CommitInv = CancelPending ∨ CommitInv = Committed ∨ CommitInv = Aborted → alsf(tid).beginIdx < # ags.memories, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ # x = 0 ↔ x = []; (s) f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ CommitInv ≠ WriteResp; (s) ⊦ CommitInv ≠ ReadResp; (s) ⊦ CommitInv ≠ CommitResp; (s) ⊦ BeginPending ≠ CommitInv; (s) ⊦ CommitInv ≠ Ready; (s)
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), w = None → mem = ags.memories.last, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, w = None, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = E2 → odd(glb0), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: Writer freely generated by None, Some;; ⊦ even(n) ↔ ¬ odd(n); (ss) ⊦ Some(t) ≠ None; (s) ⊦ Some(t) = Some(t0) ↔ t = t0; (s) ⊦ m ≤ m; (s) ⊦ odd(n) → ¬ even(n); (s) ⊦ m ≠ n → (m ≤ n ↔ m < n); (s) f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ m < n → n ≠ 0; (s)
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), even(glb) ↔ w = None, CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, w = None, ags.memories ≠ [], ags0.memories ≠ [], tid ≠ tid0, w ≠ Some(tid), alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), glb1 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, w = None → mem = ags.memories.last, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → w ≠ Some(tid0) → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb0), pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → w ≠ Some(tid0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = S ∨ pcf(tid0) = I ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W4 ∨ pcf(tid0) = W5 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → w = Some(tid0) → odd(glb), pcf(tid0) = W5 → w = Some(tid0), pcf(tid0) = W4 → even(glb0) ∧ glb = glb0 + 1 ∧ w = Some(tid0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → mem(l) = v, pcf(tid0) = E2 → odd(glb0), (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(mem, glb, w), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ (w = None → mem = ags0.memories.last) ∧ (w = Some(tid0) ⊃ (pcf(tid0) ≠ W4 → odd(glb0)) ∧ alsf(tid0).wrset ⊆ ags0.memories.last ⊕ alsf(tid0).wrset ∧ mem = ags0.memories.last ⊕ alsf(tid0).wrset ∧ odd(glb) ;pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅ ) ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ∨ pcf(tid0) = W4 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ Some(t) ≠ None; (s)
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories); (ss) Used formulas: pcf(tid0) = S
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = S ⊃ NotStarted ;(pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = S ∨ pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 ∧ pcf(tid0) ≠ S → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories); (ss) Used formulas: pcf(tid0) = B1
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B1 ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A ∧ pcf(tid0) ≠ B1 → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used formulas: pcf(tid0) = W5
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = E2 → odd(glb0), pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ even(n) → ¬ odd(n); (s) Used formulas: pcf(tid0) = E2
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ∨ pcf(tid0) = E2 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = E2 → odd(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E2 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E3, pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
Used simplifier rules: ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories); (ss) Used formulas: pcf(tid0) = E3
| alsf(tid).tid = tid, alsf(tid0).tid = tid0, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = E3 ⊃ CommitResp;(pcf(tid0) = C ⊃ Committed;Aborted)))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E3, pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb1), even(glb), glb1 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = E3 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = R3 → v = alsf(tid0).ov, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, pcf(tid0) = W2 → even(glb0), pcf(tid0) = B4 → even(glb0), pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. lsf(tid1).tid = tid1, ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)) ⊦ ags.memories.last = ags0.memories.last ∧ ( pcf(tid0) ≠ E3 ∧ pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = C ⊃ Committed;Aborted))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E3, pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ (pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories)))
| alsf(tid0).tid = tid0, alsf(tid).tid = tid, alsf(tid).wrset = ∅, (pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ⊃ BeginPending ;(pcf(tid0) = I ⊃ Ready ;(pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 ⊃ ReadInv ;(pcf(tid0) = R3 ⊃ ReadResp ;(pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ⊃ WriteInv ;(pcf(tid0) = W6 ⊃ WriteResp;(pcf(tid0) = E1 ⊃ CommitInv;(pcf(tid0) = C ⊃ Committed;Aborted))) ) ) ) ) ) = apcf(tid0), CommitInv = apcf(tid), lsf(tid) = mkTMLls(tid, glb1, l0, v0), lsf(tid0) = mkTMLls(tid0, glb0, l, v), lsf0(tid) = mkTMLls(tid, glb1, l0, v0), pcf(tid) = E1, pcf0(tid) = E3, ags0.memories ≠ [], ags.memories ≠ [], pcf(tid0) ≠ E3, pcf(tid0) ≠ E2, pcf(tid0) ≠ B1, pcf(tid0) ≠ S, pcf(tid0) ≠ W5, pcf(tid0) ≠ W4, tid ≠ tid0, alsf(tid).beginIdx < # ags.memories, TMS2LInv(ags, alsf(tid0), apcf(tid0)), even(glb), even(glb1), glb1 ≤ glb, pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 → l = alsf(tid0).il ∧ v = alsf(tid0).ov, pcf(tid0) = B4 → even(glb0), pcf(tid0) = W2 → even(glb0), pcf(tid0) = R2 → glb0 = glb → ags.memories.last(l) = v, even(glb0) → alsf(tid0).wrset = ∅, pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R4 → l = alsf(tid0).il, pcf(tid0) = R3 → v = alsf(tid0).ov, ∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories) → ags0 = ags ∧ als0 = alsf(tid) ∧ apc0 = CommitResp, pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 → alsf(tid0).rdset = ∅ ∧ alsf(tid0).wrset = ∅, pcf(tid0) = I ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = A → even(glb0), pcf(tid0) = I ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 → odd(glb0) → glb0 = glb, pcf(tid0) ≠ C → alsf(tid0).wrset = ∅, pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags.memories)), pcf(tid0) = I ∨ pcf(tid0) = B2 ∨ pcf(tid0) = B3 ∨ pcf(tid0) = B4 ∨ pcf(tid0) = R1 ∨ pcf(tid0) = R2 ∨ pcf(tid0) = R3 ∨ pcf(tid0) = R4 ∨ pcf(tid0) = E1 ∨ pcf(tid0) = W1 ∨ pcf(tid0) = W2 ∨ pcf(tid0) = W3 ∨ pcf(tid0) = W6 ∨ pcf(tid0) = C ∨ pcf(tid0) = A → glb0 ≤ glb, (glb = glb1 ⊃ alsf(tid).rdset ⊆ ags.memories.last;∃valid(alsf(tid).beginIdx, alsf(tid).rdset, ags.memories)), ∀ tid1. tid1 ≠ tid ∧ tid1 ≠ tid0 → TMLLInv(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1)) ∧ TMS2LInv(ags, alsf(tid1), apcf(tid1)) ∧ labs(mkTMLgs(ags.memories.last, glb, None), lsf(tid1), pcf(tid1), ags, alsf(tid1), apcf(tid1)), ∀ tid1. alsf(tid1).tid = tid1, ∀ tid1. lsf(tid1).tid = tid1 ⊦ ags.memories.last = ags0.memories.last ∧ (pcf(tid0) ≠ C ∧ pcf(tid0) ≠ A → (glb = glb0 ⊃ alsf(tid0).rdset ⊆ ags0.memories.last;∃valid(alsf(tid0).beginIdx, alsf(tid0).rdset, ags0.memories))) |
Used simplifier rules: ⊦ m ≠ n → (m ≤ n ↔ m < n); (s) f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ m < n → n ≠ 0; (s) ⊦ m ≤ m; (s) ⊦ beginIdx < # memories ∧ rdset ⊆ memories.last → ∃valid(beginIdx, rdset, memories); (ss) Used formulas: glb = glb1
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.