| #((σ to n0 + m) + σ0 from m) = #((σ to m + n0) from m) + # σ0, ⌜n⌝ < #((σ to m + n0) from m) + # σ0, ⌜n0⌝ + # σ0 < #((σ to m + n0) from m) + # σ0 ⊦ ((σ to n0 + m) + σ0 from m)[n] = (((σ to m + n0) from m) + σ0)[n], # σ < ⌜m⌝ + ⌜n0⌝ , # σ < ⌜n0⌝ + ⌜m⌝ , ⌜n⌝ < ⌜n0⌝ + # σ0 |
⊦ ⌜m⌝ < # σ → (σ + σ1)[m] = σ[m]
#((σ to n0 + m) + σ0 from m) = #((σ to m + n0) from m) + # σ0, ⌜n0⌝ + # σ0 < #((σ to m + n0) from m) + # σ0, ⌜n⌝ < #((σ to m + n0) from m) + # σ0 ⊦ ((σ to n0 + m) + σ0 from m)[n] = (((σ to m + n0) from m) + σ0)[n], ⌜n⌝ < ⌜n0⌝ + # σ0, # σ < ⌜n0⌝ + ⌜m⌝ , # σ < ⌜m⌝ + ⌜n0⌝ , ⌜n⌝ < #((σ to m + n0) from m)
Used simplifier rules: size-to: ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ;%size-empty-equiv: ⊦ # σ = ⌜0⌝ ↔ σ = [];%ton-fromn: ⊦ ¬ # σ < ⌜n⌝ → (σ to n) from n = [];%size-empty: ⊦ # [] = ⌜0⌝ ;%less-size-from: ⌜n⌝ < # σ ⊦ ⌜n0⌝ < #(σ from n) ↔ ⌜n0 + n⌝ < # σ;% ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (s)% ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ m + m0 ≤ m ↔ m0 = 0; (s)%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf% ⊦ n + 0 = n; (s)% ⊦ n∞ + ⌜0⌝ = n∞; (s)% ⊦ n∞1 < n∞ + n∞1 ↔ n∞ ≠ ⌜0⌝ ∧ n∞1 ≠ ∞; (s)% ⊦ ⌜n⌝ + n∞1 < ⌜n⌝ + n∞2 ↔ n∞1 < n∞2; (s)% ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s)% ⊦ m < n → ⌜m⌝ < ⌜n⌝ + n∞0; (s) Used terms: n, σ0, (σ to m + n0) from m