| ¬ ⌜m + n⌝ < #(σ to n0 + m), #((σ to n0 + m) + σ0 from m) = #((σ to m + n0) from m) + # σ0, ⌜n⌝ < #((σ to m + n0) from m), ⌜n⌝ < #((σ to m + n0) from m) + # σ0, ⌜n⌝ < ⌜n0⌝ + # σ0 ⊦ ((σ to n0 + m) + σ0)[m + n] = ((σ to m + n0) from m)[n], # σ < ⌜n0⌝ + ⌜m⌝ , # σ < ⌜m⌝ + ⌜n0⌝ |
#((σ to n0 + m) + σ0 from m) = #((σ to m + n0) from m) + # σ0, ⌜n⌝ < #((σ to m + n0) from m), ⌜n⌝ < #((σ to m + n0) from m) + # σ0, ⌜n⌝ < ⌜n0⌝ + # σ0, n0 ≤ n ⊦ σ0[n - n0] = ((σ to m + n0) from m)[n], # σ < ⌜n0⌝ + ⌜m⌝ , # σ < ⌜m⌝ + ⌜n0⌝
Used simplifier rules: get-append-notls: ⊦ ¬ ⌜m⌝ < # σ → (σ + σ1)[m] = σ1[m - (# σ).n];%size-to: ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ;%append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2;%lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%l: ⊦ m + n < m + n0 ↔ n < n0; from specification nat-basic2%ls-natinf-to-nat-2-2: ⊦ ⌜n⌝ + ⌜m⌝ < ⌜n0⌝ + ⌜n1⌝ ↔ n + m < n0 + n1; from specification nat-inf%cancel-01: ⊦ m + n - n + n1 = m - n1; from specification nat%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf%sel: ⊦ ⌜m⌝ .n = m; from specification nat-inf-basic%prime-add-fin: n∞ ≠ ∞ ⊦ (⌜m⌝ + n∞).n = m + n∞.n; from specification nat-inf%disj: ⊦ ⌜m⌝ ≠ ∞; from specification nat-inf-basic%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%add-fin: ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; from specification nat-inf