| σ0 + mem ' = mklist(mem1, # σ0 + 1), # σ0 = # runevs(loc, loc0, r), mem ' + σ1 = mklist(mem0, # σ1 + 1), ts[n] = m .. m0, # σ1 = # cp(ts, r), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦cp(ts, r)⟧ (mem ' + σ1), nowrites(runevs(loc, loc0, r)), ctr(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem '), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem ' + σ1 = mklist(mem0, # σ0 + # σ1 + 1) |
⊦ n ≠ 0 → mklist(mem, n) = mklist(mem, n -1) + mem '
# σ0 + 1 ≠ 0, σ0 + mem ' = mklist(mem1, (# σ0 + 1)-1) + mem1 ', # σ0 = # runevs(loc, loc0, r), mem ' + σ1 = mklist(mem0, # σ1 + 1), ts[n] = m .. m0, # σ1 = # cp(ts, r), transseq(r, ts0 + ((loc .. loc0)' + ts) + ts2), ⟦cp(ts, r)⟧ (mem ' + σ1), nowrites(runevs(loc, loc0, r)), ctr(loc, loc0, r), ⟦runevs(loc, loc0, r)⟧ (σ0 + mem '), ∀ n. ¬ # ts < n → nowrites(runevs(((loc .. loc0)' + ts)[n].begin, ((loc .. loc0)' + ts)[n].end, r)) ⊦ σ0 + mem ' + σ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: # σ0 + 1, mem1