| # r = n + 1, # σ = # r0, # σ0 = n + 1, ⟦r[n]⟧ ((σ0 + mem ')[n], ((σ0 + mem ') + σ)[n + 1]) ⊦ r = [], ⟦r[n]⟧ (σ0[n], mem) |
⊦ ¬ n < # σ → (σ + σ0)[n] = σ0[n - # σ]
¬ ¬ n < # σ0, # r = n + 1, # σ = # r0, # σ0 = n + 1, ⟦r[n]⟧ ((σ0 + mem ')[n], ((σ0 + mem ') + σ)[n + 1]) ⊦ r = [], ⟦r[n]⟧ (σ0[n], mem)
Used simplifier rules: lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%eq: ⊦ m = n + 1 → ¬ m ≤ n; from specification nat Used terms: n, mem ', σ0