| # σ6 = # cp(ts1, r), # σ7 = # runevs(m4, m5, r), mem2 ' + σ5 = σ6 + mem ' + σ7, (σ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 ' + σ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)), # ts0 < # ts0 + # ts1 + 1 ∧ ¬ # ts0 + # ts1 + 1 < # ts0 + # ts1 + 1 → nowrites (runevs((ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[# ts0 + # ts1 + 1].begin, (ts0 + (m2 .. m3)' + ts1 + (m4 .. m5)')[# ts0 + # ts1 + 1].end, r)), mem2 ∈ σ6 ∨ mem2 = mem ∨ mem2 ∈ σ7 ⊦ mem2(l) = (mem2 ' + σ5).last(l) |
# σ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: nowrites-sem-01: ⊦ nowrites(runevs(m, n, r)) ∧ ⟦runevs(m, n, r)⟧ (mem ' + σ) → σ = mklist(mem, # runevs(m, n, r));%in-rec: ⊦ mem ∈ mem0 ' + σ ↔ ¬ ¬(mem = mem0 ∨ mem ∈ σ); from specification list[memorylist]%in-append: ⊦ mem ∈ σ + σ0 ↔ ¬ ¬(mem ∈ σ ∨ mem ∈ σ0); from specification list[memorylist]%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(mem ' + σ) = (# σ)+1; from specification list[memorylist]%sem-fw: ⊦ ⟦r⟧ (σ) → # σ = # r + 1; (forward) from specification opaque%in-14: ⊦ mem ' + σ = σ0 → mem ∈ σ0; (forward) from specification list[memorylist]%mk-len: ⊦ # mklist(mem, n) = n; from specification list-last[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%sel-02: ⊦ (m .. m0).end = m0; from specification range%sel-01: ⊦ (m .. m0).begin = m; from specification range%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%get-last-03: ⊦ (ts + rg ')[# ts] = rg; from specification list-del[translist]%get-succ: ⊦ (rg ' + ts)[n + 1] = ts[n]; from specification list-del[translist]%get-append-grt-02: ⊦ (ts + ts0)[n + # ts] = ts0[n]; from specification list-del[translist]%l: ⊦ m + n < m + n0 ↔ n < n0; from specification nat-basic2%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%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2