| # σ6 = # cp(ts1, r), mem2 ' + σ5 = σ6 + mem ' + mklist(mem, # runevs(m4, m5, r)), (σ4 + mem2 ')[0] = ∅, ((m2 .. m3)' + ts1)[n] = m .. m0, # σ4 = # cp(ts0, r), σ6 = mklist(mem, # σ6), ⟦cp(ts1, r)⟧ (σ6 + mem '), ⟦cp(ts0, r)⟧ (σ4 + mem2 '), ⟦runevs(m2, m3, r)⟧ (mem2 ' + mklist(mem2, # runevs(m2, m3, r))), transseq(r, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), ltrans(m2, m3, p, r), ⟦[]⟧ (mem2 '), nowrites(runevs(m2, m3, r)), ⟦runevs(m4, m5, r)⟧ (mem ' + mklist(mem, # runevs(m4, m5, r))), nowrites(runevs(m4, m5, r)), ∀ n0. ¬ # ts0 + # ts1 + 1 < n0 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n0, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), r) + runevs((ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[n0].begin, (ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[n0].end, r) ⟧ (σ) ∧ (n0 = # ts0 + # ts1 + 1 → σ.last = (mem2 ' + σ5).last)), mem2 ∈ σ6 ∨ mem2 = mem ∨ mem2 ∈ mklist(mem, # runevs(m4, m5, r)) ⊦ mem2(l) = (mem2 ' + σ5).last(l) |
σ6 = mem0 + σ0, # σ6 = # cp(ts1, r), mem2 ' + σ5 = σ6 + mem ' + mklist(mem, # runevs(m4, m5, r)), (σ4 + mem2 ')[0] = ∅, ((m2 .. m3)' + ts1)[n] = m .. m0, # σ4 = # cp(ts0, r), σ6 = mklist(mem, # σ6), ⟦cp(ts1, r)⟧ (σ6 + mem '), ⟦cp(ts0, r)⟧ (σ4 + mem2 '), ⟦runevs(m2, m3, r)⟧ (mem2 ' + mklist(mem2, # runevs(m2, m3, r))), transseq(r, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), ltrans(m2, m3, p, r), ⟦[]⟧ (mem2 '), nowrites(runevs(m2, m3, r)), ⟦runevs(m4, m5, r)⟧ (mem ' + mklist(mem, # runevs(m4, m5, r))), nowrites(runevs(m4, m5, r)), ∀ n0. ¬ # ts0 + # ts1 + 1 < n0 → (∃ σ. σ[0] = ∅ ∧ ⟦ cp(firstn(n0, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), r) + runevs((ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[n0].begin, (ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[n0].end, r) ⟧ (σ) ∧ (n0 = # ts0 + # ts1 + 1 → σ.last = (mem2 ' + σ5).last)), mem2 ∈ σ6 ∨ mem2 = mem ∨ mem2 ∈ mklist(mem, # runevs(m4, m5, r)) ⊦ mem2(l) = (mem2 ' + σ5).last(l)
Used simplifier rules: memorylist freely generated by [], +;;%size-01: ⊦ # [] = 0; from specification list-data[memorylist]%l: ⊦ # r = 0 ↔ r = []; from specification list-data[run]%Nil: ⊦ [] + σ = σ; from specification list[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%c-06: ⊦ mem ' + σ = mem0 ' + σ0 ↔ mem = mem0 ∧ σ = σ0; from specification list[memorylist]%mk-zero: ⊦ mklist(mem, 0) = []; from specification list-last[memorylist]%in-empty: ⊦ ¬ mem ∈ []; from specification list[memorylist]%sem-fw: ⊦ ⟦r⟧ (σ) → # σ = # r + 1; (forward) from specification opaque%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%size-01: ⊦ # [] = 0; from specification list-data[run]%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%consmklist-last: ⊦ (mem ' + mklist(mem, n)).last = mem; from specification list-last[memorylist]