| # σ0 + 1 ≠ 0, # σ0 = # r0 + 1, ⟦re⟧ (σ0[0], σ0[0]), ∀ n0. ¬ # r0 < n0 → ⟦(re ' + r0)[n0]⟧ ((σ0[0] ' + σ0)[n0], σ0[n0]), (re0 ∈ r0 → ¬ write?(re0)) ∧ (n < # r0 → ⟦r0[n]⟧ (σ0[n], σ0[n + 1])) → σ0 = mklist(mem, # σ0), ∀ re0. re0 ∈ r0 → ¬ write?(re0) ⊦ write?(re), σ0[0] ' + σ0 = σ0[0] + mklist(σ0[0], # σ0 + 1 - 1) |
# σ0 = # r0 + 1, ⟦re⟧ (σ0[0], σ0[0]), ∀ n0. ¬ # r0 < n0 → ⟦(re ' + r0)[n0]⟧ ((σ0[0] ' + σ0)[n0], σ0[n0]), (re0 ∈ r0 → ¬ write?(re0)) ∧ (n < # r0 → ⟦r0[n]⟧ (σ0[n], σ0[n + 1])) → σ0 = mklist(mem, # σ0), ∀ re0. re0 ∈ r0 → ¬ write?(re0) ⊦ σ0 = mklist(σ0[0], # σ0), write?(re)
Used simplifier rules: oz: ⊦ m + 1 ≠ 0; from specification nat-basic2%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%app-08: ⊦ mem ' + σ = mem ' + σ0 ↔ σ = σ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