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