| ¬ n < # (m2 .. m3)', ((m2 .. m3)' + ts1 + (m4 .. m5)')[n] = m1 .. m6, # σ6 = # cp(ts1, r), # σ7 = # runevs(m4, m5, r), mem2 ' + σ5 = σ6 + mem3 ' + σ7, (σ4 + mem2 ')[0] = ∅, ts1[n - # (m2 .. m3)'] = m .. m0, # σ4 = # cp(ts0, r), ⟦cp(ts1, r)⟧ (σ6 + mem3 '), ⟦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)⟧ (mem3 ' + σ7), n ≤ # ts1, ∀ 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 = mem3 ∨ mem2 ∈ σ7, n ≠ 0 ∧ ¬ # ts1 + 1 < n → nowrites(runevs(m1, m6, r)) ⊦ mem2(l) = (mem2 ' + σ5).last(l), nowrites(runevs(m, m0, r)) |
ts1[n - 1] = m .. m0, (σ4 + mem2 ')[0] = ∅, mem2 ' + σ5 = σ6 + mem3 ' + σ7, # σ7 = # runevs(m4, m5, r), # σ6 = # cp(ts1, r), (ts1 + (m4 .. m5)')[n - 1] = m1 .. m6, # σ4 = # cp(ts0, r), n ≤ # ts1, ⟦runevs(m4, m5, r)⟧ (mem3 ' + σ7), nowrites(runevs(m2, m3, r)), ⟦[]⟧ (mem2 '), ltrans(m2, m3, p, r), transseq(r, ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)'), ⟦runevs(m2, m3, r)⟧ (mem2 ' + mklist(mem2, # runevs(m2, m3, r))), ⟦cp(ts0, r)⟧ (σ4 + mem2 '), ⟦cp(ts1, r)⟧ (σ6 + mem3 '), nowrites(runevs(m1, m6, r)), n ≤ # ts1 + 1, mem2 ∈ σ6 ∨ mem2 = mem3 ∨ mem2 ∈ σ7, ∀ 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)) ⊦ n = 0, mem2(l) = (mem2 ' + σ5).last(l), nowrites(runevs(m, m0, r))
Used simplifier rules: lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%l-02: ⊦ ¬ m + n < m; from specification nat-basic2%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%one-01: ⊦ m < 1 ↔ m = 0; from specification nat-basic1%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%len-02: ⊦ # rg ' = 0 +1; from specification list[translist]%get-append-grt: ⊦ ¬ n < # ts → (ts + ts0)[n] = ts0[n - # ts]; from specification list-del[translist]