[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 1 from proof step-absstep-W2-W3-tau-other (conclusion) (back to tree)

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) = W3, 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)), (gs0.w = Some(tid) → odd(gs0.glb)) ∧ ls0.loc ≤ gs0.glb ∧ (odd(ls0.loc) → ls0.loc = gs0.glb) ∧ (gs0.w = Some(tid) → odd(ls0.loc)) ∧ (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, τ) ∧ W3 = 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)))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof step-absstep-W2-W3-tau-other (previous step) (back to tree)

lsf(tid0).tid = alsf(tid0).tid, ls.tid = als.tid, lsf(tid0).tid = tid0, lsf(tid).tid = tid, alsf(tid).tid = tid, even(gs0.glb) ↔ gs0.w = None, even(gs.glb) ↔ gs.w = None, W3 = 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) = W3, 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(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) → odd(ls0.loc), 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)))

Heuristic simplifier applied rule simplifier

And closed the goal!

Rule argument

Additional information

Used simplifier rules: ⊦ gstepf(gs, ls, W2, τ) = (ls.loc = gs.glb ⊃ (gs.glb:= (ls.loc + 1)).w:= Some(ls.tid);gs); (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) ⊦ W2 ≠ W4; (s) ⊦ A ≠ W2; (s) ⊦ C ≠ W2; (s) ⊦ E3 ≠ W2; (s) ⊦ even(n) → ¬ odd(n); (s) ⊦ pre(gs, ls, W2, a) ↔ a = τ; (s) ⊦ m ≠ n → (m ≤ n ↔ m < n); (s) ⊦ W3 ≠ W4; (s) ⊦ pcstepf(gs, ls, W2, a) = (ls.loc = gs.glb ⊃ W4;W3); (s) ⊦ lstepf(gs, ls, W2, τ) = ls; (s)

Proof Tree for step-absstep-W2-W3-tau-other (View conclusion)

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.

the proof tree