| # σ0 = # r, # σ = # r0, ∀ n. n < # r + # r0 → ⟦(r + r0)[n]⟧ (((σ0 + mem ') + σ)[n], ((σ0 + mem ') + σ)[n + 1]) ⊦ #(σ0 + mem ') = # r + 1 ∧ (∀ n. n < # r → ⟦r[n]⟧ ((σ0 + mem ')[n], (σ0 + mem ')[n + 1])) |
# σ = # r0, # σ0 = # r, n < # r, ∀ n. n < # r + # r0 → ⟦(r + r0)[n]⟧ (((σ0 + mem ') + σ)[n], ((σ0 + mem ') + σ)[n + 1]) ⊦ r = [], ⟦r[n]⟧ (σ0[n], (σ0 + mem ')[n + 1])
Used simplifier rules: get-butlast: ⊦ n < # σ → (σ + mem ')[n] = σ[n]; from specification list-del[memorylist]%l: ⊦ # r = 0 ↔ r = []; from specification list-data[run]%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic1%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%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]%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%len: ⊦ #(σ + σ0) = # σ + # σ0; from specification list[memorylist]