| #((σ to n0 + m) + σ0 from m) = ⌜n1⌝ + # σ0, #((σ to m + n0) from m) = ⌜n1⌝ , ⌜n1⌝ < ⌜n0⌝ + # σ0, ⌜n2⌝ < # σ0, ⌜n2⌝ + ⌜n1⌝ < ⌜n0⌝ + # σ0, n0 ≤ n1 + n2 ⊦ σ0 = [], σ0[n2 + n1 - n0] = σ0[n2], # σ < ⌜n0⌝ + ⌜m⌝ , # σ < ⌜m⌝ + ⌜n0⌝ |
n2 + n1 = n3 + n0 ∧ n0 ≤ n2 + n1, #((σ to n0 + m) + σ0 from m) = ⌜n1⌝ + # σ0, #((σ to m + n0) from m) = ⌜n1⌝ , ⌜n1⌝ < ⌜n0⌝ + # σ0, ⌜n2⌝ < # σ0, ⌜n2⌝ + ⌜n1⌝ < ⌜n0⌝ + # σ0, n0 ≤ n1 + n2 ⊦ σ0 = [], σ0[n3] = σ0[n2], # σ < ⌜n0⌝ + ⌜m⌝ , # σ < ⌜m⌝ + ⌜n0⌝
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic2%n ≤ m ⊦ n0 = m - n ↔ m = n0 + n; (elim) Used terms: n2 + n1, n0, n