| # cp(ts1, r) = # σ0 + 1, (σ4 + mem0 ')[0] = ∅, ((m2 .. m3)' + ts1)[n] = m .. m0, # σ4 = # cp(ts0, r), mem0 ' + σ0 = mklist(mem, # σ0 + 1), ⟦cp(ts0, r)⟧ (σ4 + mem0 '), ⟦runevs(m2, m3, r)⟧ (mem0 ' + mklist(mem0, # runevs(m2, m3, r))), transseq(r, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), ltrans(m2, m3, p, r), ⟦[]⟧ (mem0 '), nowrites(runevs(m2, m3, r)), ⟦runevs(m4, m5, r)⟧ (mem ' + mklist(mem, # runevs(m4, m5, r))), nowrites(runevs(m4, m5, r)), ⟦cp(ts1, r)⟧ ((mem0 ' + σ0) + mem '), ∀ 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 = mem)) ⊦ mem0(l) = mem(l) |
⊦ m ≠ 0 → mklist(mem, m) = mem + mklist(mem, m - 1)
Used simplifier rules: add-01: ⊦ n ≤ m → m + n0 - n = (m - n) + n0; from specification nat%add-base: ⊦ n + 0 = n; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%c: ⊦ mem + σ = mem ' + σ; from specification list[memorylist]%c-06: ⊦ mem ' + σ = mem0 ' + σ0 ↔ mem = mem0 ∧ σ = σ0; from specification list[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%z-01: ⊦ m + n = 0 ↔ m = 0 ∧ n = 0; from specification nat-basic2%l: ⊦ # σ = 0 ↔ σ = []; from specification list-data[memorylist] Used terms: # σ0 + 1, mem