| # r0 + 1 ≠ 0, mem0 ' + σ = mem + mklist(mem, # r0 + 1 - 1), # σ = # r0, ⟦re⟧ (mem0, mem0), ∀ re0. re0 ∈ r0 → ¬ write?(re0), ∀ n. ¬ # r0 < n → ⟦(re ' + r0)[n]⟧ ((mem0 ' + mem0 ' + σ)[n], (mem0 ' + σ)[n]) ⊦ mem0 ' + σ = mklist(mem0, # r0 + 1), write?(re) |
⟦re⟧ (mem, mem), ∀ n. ¬ # r0 < n → ⟦(re ' + r0)[n]⟧ ((mem ' + mem ' + mklist(mem, # r0))[n], (mem ' + mklist(mem, # r0))[n]), ∀ re0. re0 ∈ r0 → ¬ write?(re0) ⊦ mem ' + mklist(mem, # r0) = mklist(mem, # r0 + 1), write?(re)
Used simplifier rules: mk-len: ⊦ # mklist(mem, n) = n; from specification list-last[memorylist]%oz: ⊦ m + 1 ≠ 0; from specification nat-basic2%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%c-06: ⊦ mem ' + σ = mem0 ' + σ0 ↔ mem = mem0 ∧ σ = σ0; from specification list[memorylist]%c: ⊦ mem + σ = mem ' + σ; from specification list[memorylist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%add-base: ⊦ n + 0 = n; from specification nat-basic2%add-01: ⊦ n ≤ m → m + n0 - n = (m - n) + n0; from specification nat