| # r < #(σ0 + mem '), # σ0 = # r, # σ = # r1 + 1, ⟦re⟧ ((σ0 + mem ')[# r], ((σ0 + mem ') + σ)[1 + # r]) ⊦ ⟦re⟧ (mem, σ[0]) |
# σ = # r1 + 1, # σ0 = # r, ⟦re⟧ (mem, ((σ0 + mem ') + σ)[1 + # r]) ⊦ ⟦re⟧ (mem, σ[0])
Used simplifier rules: ler: ⊦ m ≤ m; from specification nat%lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%get-last: ⊦ n = # σ → (σ + mem ')[n] = mem; from specification list-del[memorylist]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%s: ⊦ m < n + 1 ↔ ¬ n < m; 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]