| # σ1 = # cp(ts, r), # σ0 = # (ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[]), ts[n] = m .. m0, nowrites(runevs(loc, loc0, r)), ⟦cp(ts, r)⟧ (mem ' + σ1), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦(ctr(loc, loc0, r) ⊃ runevs(loc, loc0, r);[])⟧ (σ0 + mem '), n < # ts, ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ ts = [], nowrites(runevs(m, m0, r)), ∃ mem0. σ0 + mem ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
Used simplifier rules: s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%get-succ: ⊦ (rg ' + ts)[n + 1] = ts[n]; from specification list-del[translist]%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%sel-01: ⊦ (m .. m0).begin = m; from specification range%sel-02: ⊦ (m .. m0).end = m0; from specification range%sem-fw: ⊦ ⟦r⟧ (σ) → # σ = # r + 1; (forward) from specification opaque%len: ⊦ #(σ + σ0) = # σ + # σ0; from specification list[memorylist]%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%size-01: ⊦ # [] = 0; from specification list-data[run]%l: ⊦ # σ = 0 ↔ σ = []; from specification list-data[memorylist] Used terms: n + 1