| ¬ # x < n ⊦ #(x from n) = # x - n |
#(x from n) ≠ # x - n, ¬ # x < n ⊦
| #(x from n) ≠ # x - n, ¬ # x < n ⊦ |
#(x from n) ≠ # x - n, n ≤ # x ⊦
Used simplifier rules: ⊦ m < n ↔ ¬ n ≤ m; (ss)
| #(x from n) ≠ # x - n, n ≤ # x ⊦ |
# x = n0 + n, #(x from n) ≠ n0, n ≤ # x ⊦
Used simplifier rules: n ≤ m ⊦ n0 = m - n ↔ m = n0 + n; (elim) Used terms: # x, n, n0
| # x = n0 + n, #(x from n) ≠ n0, n ≤ # x ⊦ |
# x = n0 + n, #(x from n) ≠ n0 ⊦
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ m ≤ m + n; (s)
| # x = n0 + n, #(x from n) ≠ n0 ⊦ |
# x = n0 + n1 +1, #(x from n1 +1) ≠ n0, ∀ x, n0. ¬(# x = n0 + n1 ∧ #(x from n1) ≠ n0) ⊦
Used simplifier rules: from-zero-l: ⊦ x from 0 = x; nat freely generated by 0, +1;; ⊦ 0 + m = m; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic
| # x = n0 + n1 +1, #(x from n1 +1) ≠ n0, ∀ x, n0. ¬(# x = n0 + n1 ∧ #(x from n1) ≠ n0) ⊦ |
# x = n0 + n1 + 1, #(x from n1 + 1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n ⊦
Used simplifier rules: ⊦ m +1 = m + 1; (s)
| # x = n0 + n1 + 1, #(x from n1 + 1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n ⊦ |
#(a + x0) = n0 + n1 + 1, #(a + x0 from n1 + 1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n, ∀ n0, n1. ¬(# x0 = n0 + n1 + 1 ∧ #(x0 from n1 + 1) ≠ n0 ∧ (∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n)) ⊦
Used simplifier rules: list('a) freely generated by [], +;; ⊦ # [] = 0; (s) ⊦ m + 1 ≠ 0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic
| #(a + x0) = n0 + n1 + 1, #(a + x0 from n1 + 1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n, ∀ n0, n1. ¬(# x0 = n0 + n1 + 1 ∧ #(x0 from n1 + 1) ≠ n0 ∧ (∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n)) ⊦ |
# x0 = n0 + n1, #(x0 from n1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n, ∀ n, n2. n0 + n1 ≠ n + n2 + 1 ∨ #(x0 from n2 + 1) = n ∨ ¬(∀ x0, n. # x0 ≠ n + n2 ∨ #(x0 from n2) = n) ⊦
Used simplifier rules: from-succ-cons-l-lem: ⊦ a ' + x from n + 1 = x from n; a: ⊦ (x + y) + z = x + y + z; from specification list c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ a + x = a ' + x; (s) ⊦ m + n = m + n0 ↔ n = n0; (s) ⊦ # a ' = 0 +1; (s) ⊦ #(x + y) = # x + # y; (s)
| # x0 = n0 + n1, #(x0 from n1) ≠ n0, ∀ x0, n. # x0 ≠ n + n1 ∨ #(x0 from n1) = n, ∀ n, n2. n0 + n1 ≠ n + n2 + 1 ∨ #(x0 from n2 + 1) = n ∨ ¬(∀ x0, n. # x0 ≠ n + n2 ∨ #(x0 from n2) = n) ⊦ |
Used terms: x0, n0
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.