| # σ4 = # r0, # σ2 = # r0, 1 = # σ1, (σ3 + mem0 ' + σ4)[0] = (σ1 + mem ' + σ2)[0], 1 = # σ3, #(σ1 + mem ') = # re ' + 1 ∧ (∀ n. n < # re ' → ⟦re '[n]⟧ ((σ1 + mem ')[n], (σ1 + mem ')[n + 1])), ⟦r0⟧ (mem ' + σ2), ⟦r0⟧ (mem0 ' + σ4), ⟦re⟧ ((σ3 + mem0 ')[0], mem0), ∀ σ, σ0. # σ = # σ0 ∧ # σ0 = # r0 + 1 ∧ σ[0] = σ0[0] ∧ ⟦r0⟧ (σ0) ∧ ⟦r0⟧ (σ) → σ = σ0 ⊦ σ3 + mem0 ' + σ4 = σ1 + mem ' + σ2 |
# σ4 = # r0, # σ2 = # r0, (σ3 + mem0 ' + σ4)[0] = (σ1 + mem ' + σ2)[0], 1 = # σ3, 1 = # σ1, ⟦r0⟧ (mem ' + σ2), ⟦r0⟧ (mem0 ' + σ4), ⟦re⟧ ((σ3 + mem0 ')[0], mem0), ⟦re⟧ ((σ1 + mem ')[0], mem), ∀ σ, σ0. # σ = # σ0 ∧ # σ0 = # r0 + 1 ∧ σ[0] = σ0[0] ∧ ⟦r0⟧ (σ0) ∧ ⟦r0⟧ (σ) → σ = σ0 ⊦ σ3 + mem0 ' + σ4 = σ1 + mem ' + σ2
Used simplifier rules: one-03: ⊦ re '[0] = re; from specification list-del[run]%get-last: ⊦ n = # σ → (σ + mem ')[n] = mem; from specification list-del[memorylist]%one-01: ⊦ m < 1 ↔ m = 0; from specification nat-basic1%add-num-04: n0 < n ⊦ (* n) = m0 + (* n0) ↔ n - n0 = m0; from specification nat%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%len-02: ⊦ # re ' = 0 +1; from specification list[run]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%len: ⊦ #(σ + σ0) = # σ + # σ0; from specification list[memorylist]