| # σ0 = # r, # σ = # r0, ⟦r + r0⟧ ((σ0 + mem ') + σ) ⊦ mem = ((σ0 + mem ') + σ)[# r] ∧ ⟦r⟧ (σ0 + ((σ0 + mem ') + σ)[# r] ') ∧ ⟦r0⟧ (((σ0 + mem ') + σ)[# r] ' + σ) |
⊦ n < # σ → (σ + σ0)[n] = σ[n]
# r < #(σ0 + mem '), # σ0 = # r, # σ = # r0, ⟦r + r0⟧ ((σ0 + mem ') + σ) ⊦ mem = (σ0 + mem ')[# r] ∧ ⟦r⟧ (σ0 + (σ0 + mem ')[# r] ') ∧ ⟦r0⟧ ((σ0 + mem ')[# r] ' + σ)
Used simplifier rules: len: ⊦ #(σ + σ0) = # σ + # σ0; from specification list[memorylist]%len-02: ⊦ # mem ' = 0 +1; from specification list[memorylist]%a: ⊦ (σ + σ0) + σ1 = σ + σ0 + σ1; from specification list[memorylist]%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic1%lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic1%l: ⊦ # r = 0 ↔ r = []; from specification list-data[run]%ls-02: ⊦ m < n → ¬ n < m; from specification nat-basic1 Used terms: # r, σ, σ0 + mem '