| σ3 = mem1 + σ5, 1 = # σ3, 1 = # σ1, # σ4 = # r0, # σ2 = # r0, mem1 = (σ1 + mem ' + σ2)[0], ⟦re⟧ ((σ1 + mem ')[0], mem), ⟦r0⟧ (mem ' + σ2), ⟦r0⟧ (mem0 ' + σ4), ⟦re⟧ (mem1, mem0), ∀ σ, σ0. # σ = # σ0 ∧ # σ0 = # r0 + 1 ∧ σ[0] = σ0[0] ∧ ⟦r0⟧ (σ0) ∧ ⟦r0⟧ (σ) → σ = σ0 ⊦ mem = mem0, σ3 + mem0 ' + σ4 = σ1 + mem ' + σ2, σ3 = [] |
# σ2 = # r0, # σ4 = # r0, 1 = # σ1, ⟦re⟧ ((σ1 + mem ' + σ2)[0], mem0), ⟦r0⟧ (mem0 ' + σ4), ⟦r0⟧ (mem ' + σ2), ⟦re⟧ ((σ1 + mem ')[0], mem), ∀ σ, σ0. # σ = # σ0 ∧ # σ0 = # r0 + 1 ∧ σ[0] = σ0[0] ∧ ⟦r0⟧ (σ0) ∧ ⟦r0⟧ (σ) → σ = σ0 ⊦ mem = mem0, (σ1 + mem ' + σ2)[0] ' + mem0 ' + σ4 = σ1 + mem ' + σ2
Used simplifier rules: Nil: ⊦ [] + σ = σ; from specification list[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%l: ⊦ # σ = 0 ↔ σ = []; from specification list-data[memorylist]%one-03: ⊦ 1 = m + 1 ↔ m = 0; 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]