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