| ⊦ ¬ # σ < ⌜m⌝ + ⌜n⌝ → (σ from m) to n = (σ to m + n) from m |
(σ from m) to n ≠ (σ to m + n) from m, ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| (σ from m) to n ≠ (σ to m + n) from m, ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
(σ from m) to n ≠ (σ to m + n) from m, ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| (σ from m) to n ≠ (σ to m + n) from m, ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ⌜n⌝ < # σ0 → σ0[n] = σ1[n])
¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ (∃ n0. ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0])) ⊦
Used terms: (σ to m + n) from m, (σ from m) to n
| ⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ⌜n⌝ < # σ0 → σ0[n] = σ1[n]) |
| ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ (∃ n0. ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0])) ⊦ |
¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦
| ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦ |
#((σ from m) to n) = #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦
#((σ from m) to n) ≠ #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦
Used formulas: #((σ from m) to n) = #((σ to m + n) from m)
| #((σ from m) to n) = #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦ |
#((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| #((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝
#((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], #(σ from m) < ⌜n⌝ , ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
⌜n⌝ = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
Used terms: n, σ from m
| ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ |
| #((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], #(σ from m) < ⌜n⌝ , ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
#((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| #((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
⊦ ⌜n⌝ < # σ ∧ finp(σ) → #(σ from n) = ⌜(# σ).n - n⌝
#((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], #(σ from m) < ⌜n⌝ , ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ)
Used simplifier rules: sel-fin: ⊦ ⌜x⌝ [n] = x[n]; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; to-fin: ⊦ ⌜x⌝ to n = ⌜x to n⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; length-to: ¬ # x < n ⊦ #(x to n) = n; get-from-01: m + m0 < # x ⊦ (x from m)[m0] = x[m + m0]; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; get-finto: ¬ # x < n, m < n ⊦ (x to n)[m] = x[m]; stream-fin-forward: ⊦ finp(σ) → (∃ x. ⌜x⌝ = σ); (forward) from specification stream-basic ⊦ m < n → n ≠ 0; (s) ⊦ ¬ m + n < m; (s) ⊦ m + n - m = n; (s) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (s) ⊦ finp(⌜x⌝ ); (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < n → ¬ n < m; (s) n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; (s) let: ⊦ n ≤ n0 ∧ n0 ≤ n1 → n ≤ n1; (forward) from specification nat f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat ⊦ # x = 0 ↔ x = []; (s) ⊦ m + n ≤ m + n0 ↔ n ≤ n0; (s) ⊦ m + n < m + n0 ↔ n < n0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ⌜n⌝ .n = n; (s) ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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 Used terms: m, σ
| ⊦ ⌜n⌝ < # σ ∧ finp(σ) → #(σ from n) = ⌜(# σ).n - n⌝ |
| #((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], #(σ from m) < ⌜n⌝ , ⌜n0⌝ < #((σ from m) to n), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ) |
#((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ)
| #((σ from m) to n) = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < #((σ from m) to n), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ) |
Used simplifier rules: sel-fin: ⊦ ⌜x⌝ [n] = x[n]; length-to: ¬ # x < n ⊦ #(x to n) = n; get-from-01: m + m0 < # x ⊦ (x from m)[m0] = x[m + m0]; get-finto: ¬ # x < n, m < n ⊦ (x to n)[m] = x[m]; to-fin: ⊦ ⌜x⌝ to n = ⌜x to n⌝ ; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; sel-fin: ⊦ ⌜x⌝ [n] = x[n]; to-inf: ⊦ ⌜nf⌝ to n = ⌜nf to n⌝ ; inf-size-to: ⊦ # ⌜nf to n⌝ = ⌜n⌝ ; size-inf-to: ⊦ #(nf to n) = n; get-from-01: m + m0 < # x ⊦ (x from m)[m0] = x[m + m0]; from-inf: ⊦ ⌜nf⌝ from n = ⌜nf from n⌝ ; size-inf: ⊦ # ⌜nf⌝ = ∞; stream freely generated by ⌜ ⌝, ⌜ ⌝;; ⊦ ¬ m + n < m; (s) ⊦ m + n - m = n; (s) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m + n < m + n0 ↔ n < n0; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ¬ ∞ < n∞; (s) fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic ⊦ m < n → n ≠ 0; (s) ⊦ # x = 0 ↔ x = []; (s) ⊦ m ≤ n → (n < m ↔ false); (s) ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < n → ⌜m⌝ < ⌜n⌝ + n∞0; (s) n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; (s) ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (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⌝ = #((σ to m + n) from m), ((σ from m) to n)[n0] ≠ ((σ to m + n) from m)[n0], ⌜n0⌝ < ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
⌜n⌝ = #((σ to m + n) from m), (σ from m)[n0] ≠ ((σ to m + n) from m)[n0], n0 < n, ¬ # σ < ⌜m⌝ + ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ ⊦
Used simplifier rules: get-to: m < n, ¬ # σ < ⌜n⌝ ⊦ (σ to n)[m] = σ[m]; ⊦ m < n → n ≠ 0; (s) f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m < n → (n ≤ m ↔ false); (s) ⊦ m < n ↔ ¬ n ≤ m; (ss)
| ⌜n⌝ = #((σ to m + n) from m), (σ from m)[n0] ≠ ((σ to m + n) from m)[n0], n0 < n, ¬ # σ < ⌜m⌝ + ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ ⊦ |
⊦ ⌜n⌝ + ⌜m⌝ < # σ → (σ from n)[m] = σ[n + m]
⌜n⌝ = #((σ to m + n) from m), σ[m + n0] ≠ ((σ to m + n) from m)[n0], n0 < n, ⌜m⌝ + ⌜n0⌝ < # σ, ¬ # σ < ⌜m⌝ + ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ ⊦
Used simplifier rules: lele-trans: ⊦ ¬ n∞1 < n∞ ∧ ¬ n∞2 < n∞1 → ¬ n∞2 < n∞; (forward) from specification nat-inf ⊦ ⌜n⌝ + n∞1 < ⌜n⌝ + n∞2 ↔ n∞1 < n∞2; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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 Used terms: n0, m, σ
| ⊦ ⌜n⌝ + ⌜m⌝ < # σ → (σ from n)[m] = σ[n + m] |
| ⌜n⌝ = #((σ to m + n) from m), σ[m + n0] ≠ ((σ to m + n) from m)[n0], n0 < n, ⌜m⌝ + ⌜n0⌝ < # σ, ¬ # σ < ⌜m⌝ + ⌜n⌝ , ¬ #(σ from m) < ⌜n⌝ ⊦ |
⊦ ⌜n⌝ + ⌜m⌝ < # σ → (σ from n)[m] = σ[n + m]
Used simplifier rules: size-to: ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; get-to: m < n, ¬ # σ < ⌜n⌝ ⊦ (σ to n)[m] = σ[m]; ⊦ m + n < m + n0 ↔ n < n0; (s) ⊦ ⌜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⌝ + n∞1 < ⌜n⌝ + n∞2 ↔ n∞1 < n∞2; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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 Used terms: n0, m, σ to m + n
| ⊦ ⌜n⌝ + ⌜m⌝ < # σ → (σ from n)[m] = σ[n + m] |
| #((σ from m) to n) ≠ #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ , #((σ from m) to n) ≠ #((σ to m + n) from m) ∨ ¬(⌜n0⌝ < #((σ from m) to n) → ((σ from m) to n)[n0] = ((σ to m + n) from m)[n0]) ⊦ |
#((σ from m) to n) ≠ #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| #((σ from m) to n) ≠ #((σ to m + n) from m), ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝
#((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
⌜n⌝ ≠ #((σ to m + n) from m), ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
Used terms: n, σ from m
| ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ |
| #((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
#((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| #((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
⊦ ⌜n⌝ < # σ ∧ finp(σ) → #(σ from n) = ⌜(# σ).n - n⌝
#((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ)
Used simplifier rules: to-fin: ⊦ ⌜x⌝ to n = ⌜x to n⌝ ; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; length-to: ¬ # x < n ⊦ #(x to n) = n; f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic stream-fin-forward: ⊦ finp(σ) → (∃ x. ⌜x⌝ = σ); (forward) from specification stream-basic ⊦ m < n → n ≠ 0; (s) ⊦ m < n → ¬ n < m; (s) ⊦ m < n → m ≤ n; (s) n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; (s) ⊦ ¬ m + n < m; (s) ⊦ finp(⌜x⌝ ); (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ⌜n⌝ .n = n; (s) ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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 ⊦ 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⌝ = ⌜n0⌝ ↔ n = n0; (s) Used terms: m, σ
| ⊦ ⌜n⌝ < # σ ∧ finp(σ) → #(σ from n) = ⌜(# σ).n - n⌝ |
| #((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ) |
#((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ)
| #((σ from m) to n) ≠ #((σ to m + n) from m), #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ ⌜m⌝ < # σ ∧ finp(σ) |
Used simplifier rules: to-fin: ⊦ ⌜x⌝ to n = ⌜x to n⌝ ; length-to: ¬ # x < n ⊦ #(x to n) = n; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; from-inf: ⊦ ⌜nf⌝ from n = ⌜nf from n⌝ ; inf-size-to: ⊦ # ⌜nf to n⌝ = ⌜n⌝ ; to-inf: ⊦ ⌜nf⌝ to n = ⌜nf to n⌝ ; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; size-inf-to: ⊦ #(nf to n) = n; stream freely generated by ⌜ ⌝, ⌜ ⌝;; ⊦ ¬ m + n < m; (s) ⊦ 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⌝ = ⌜n0⌝ ↔ n = n0; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < n → ⌜m⌝ < ⌜n⌝ + n∞0; (s) n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; (s) ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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⌝ ≠ #((σ to m + n) from m), ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
⌜n⌝ ≠ #((σ to m + n) from m), ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦
| ⌜n⌝ ≠ #((σ to m + n) from m), ¬ #(σ from m) < ⌜n⌝ , ¬ # σ < ⌜m⌝ + ⌜n⌝ ⊦ |
Used simplifier rules: to-fin: ⊦ ⌜x⌝ to n = ⌜x to n⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; length-to: ¬ # x < n ⊦ #(x to n) = n; to-inf: ⊦ ⌜nf⌝ to n = ⌜nf to n⌝ ; from-fin: ⊦ ⌜x⌝ from n = ⌜x from n⌝ ; size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ; length-from: ¬ # x < n ⊦ #(x from n) = # x - n; size-inf-to: ⊦ #(nf to n) = n; stream freely generated by ⌜ ⌝, ⌜ ⌝;; ⊦ ¬ m + n < m; (s) ⊦ 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⌝ = ⌜n0⌝ ↔ n = n0; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ⌜n⌝ < ⌜m⌝ + ⌜n0⌝ ↔ n < m + n0; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ m < n → (n ≤ m ↔ false); (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
The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.