| σ0 = mem0 + σ, σ0 = mklist(mem, # σ0), # σ0 = # r0 + 1, ⟦re⟧ (σ0[0], σ0[0]), ∀ n0. ¬ # r0 < n0 → ⟦(re ' + r0)[n0]⟧ ((σ0[0] ' + σ0)[n0], σ0[n0]), ∀ re0. re0 ∈ r0 → ¬ write?(re0) ⊦ σ0 = mklist(σ0[0], # σ0), write?(re) |
mem0 ' + σ = mklist(mem, # r0 + 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)
Used simplifier rules: in-rec: ⊦ mem ∈ mem0 ' + σ ↔ ¬ ¬(mem = mem0 ∨ mem ∈ σ); from specification list[memorylist]%in-14: ⊦ mem ' + σ = σ0 → mem ∈ σ0; (forward) from specification list[memorylist]%get-zero-01: ⊦ (mem ' + σ)[0] = mem; from specification list-del[memorylist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%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]