| σ0 = mklist(mem1, # σ0), # σ1 = # cp(ts, r), ts[n] = m .. m0, mem1 ' + σ1 = mklist(mem0, # σ1 + 1), # σ0 = # runevs(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem1 '), ctr(loc, loc0, r), nowrites(runevs(loc, loc0, r)), ⟦cp(ts, r)⟧ (mem1 ' + σ1), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem1 ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
⊦ m ≠ 0 → mklist(mem, m) = mem + mklist(mem, m - 1)
# σ1 + 1 ≠ 0, σ0 = mklist(mem1, # σ0), # σ1 = # cp(ts, r), ts[n] = m .. m0, mem1 ' + σ1 = mem0 + mklist(mem0, # σ1 + 1 - 1), # σ0 = # runevs(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem1 '), ctr(loc, loc0, r), nowrites(runevs(loc, loc0, r)), ⟦cp(ts, r)⟧ (mem1 ' + σ1), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem1 ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1)
Used simplifier rules: z-01: ⊦ m + n = 0 ↔ m = 0 ∧ n = 0; from specification nat-basic2%l: ⊦ # σ = 0 ↔ σ = []; from specification list-data[memorylist]%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2 Used terms: # σ1 + 1, mem0