| σ = mem0 + σ0 ∧ σ ≠ [], # σ = 2 + # r0, ∀ re0. re0 = re ∨ re0 ∈ r0 → ¬ write?(re0), ∀ n. ¬ # r0 < n → ⟦(re ' + r0)[n]⟧ (σ[n], σ[n + 1]), # σ0 = # r0 + 1 ∧ (re0 ∈ r0 → ¬ write?(re0)) ∧ (n < # r0 → ⟦r0[n]⟧ (σ0[n], σ0[n + 1])) → σ0 = mklist(mem, # σ0) ⊦ ∃ mem. σ = mklist(mem, # σ) |
# σ0 = # r0 + 1, ∀ re0. re0 = re ∨ re0 ∈ r0 → ¬ write?(re0), ∀ n0. ¬ # r0 < n0 → ⟦(re ' + r0)[n0]⟧ ((mem0 ' + σ0)[n0], σ0[n0]), (re0 ∈ r0 → ¬ write?(re0)) ∧ (n < # r0 → ⟦r0[n]⟧ (σ0[n], σ0[n + 1])) → σ0 = mklist(mem, # σ0) ⊦ ∃ mem1. mem0 ' + σ0 = mklist(mem1, # σ0 + 1)
Used simplifier rules: get-succ: ⊦ (mem ' + σ)[n + 1] = σ[n]; from specification list-del[memorylist]%e-01: ⊦ 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-num-01: n < n0 ⊦ m + (* n) = m0 + (* n0) ↔ m = m0 + (n0 - n); from specification nat%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%succ: ⊦ m +1 = m + 1; from specification nat-basic2%len-05: ⊦ #(mem ' + σ) = (# σ)+1; from specification list[memorylist]%c: ⊦ mem + σ = mem ' + σ; from specification list[memorylist]