| ⊦ ¬ ordered<(x + a ' + y + a ' + z) |
ordered<(x + a ' + y + a ' + z) ⊦
| ordered<(x + a ' + y + a ' + z) ⊦ |
⊦ y ≠ [] → (ordered<(x + a ' + y) ↔ ordered<(x + a ') ∧ ordered<(y) ∧ a < y.head)
y + a ' + z ≠ [], a < (y + a ' + z).head, ordered<(x + a '), ordered<(y + a ' + z) ⊦
Used simplifier rules: ⊦ x + y = [] ↔ x = [] ∧ y = []; (as) ⊦ a ' + x ≠ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: x, a, y + a ' + z
| ⊦ y ≠ [] → (ordered<(x + a ' + y) ↔ ordered<(x + a ') ∧ ordered<(y) ∧ a < y.head) |
| y + a ' + z ≠ [], a < (y + a ' + z).head, ordered<(x + a '), ordered<(y + a ' + z) ⊦ |
a < (y + a ').head, ordered<(y + a ' + z), ordered<(x + a ') ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ (x + a ' + y).head = (x + a ').head; (s) ⊦ x + a ' + y ≠ []; (s)
| a < (y + a ').head, ordered<(y + a ' + z), ordered<(x + a ') ⊦ |
y + a ' = a0 + y0, y + a ' ≠ [], a < a0, ordered<(x + a '), ordered<(y + a ' + z) ⊦
Used simplifier rules: ⊦ x + y = [] ↔ x = [] ∧ y = []; (as) ⊦ a ' ≠ []; (s) a: ⊦ (x + y) + z = x + y + z; from specification list x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: y + a ', a0, y0
| y + a ' = a0 + y0, y + a ' ≠ [], a < a0, ordered<(x + a '), ordered<(y + a ' + z) ⊦ |
y + y0.last ' = a0 ' + y0, y0.last ≠ a0, y0 ≠ [], y0.last < a0, ordered<(x + y0.last '), ordered<(y + y0.last ' + z), a0 ∈ y ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ x → a ∈ x + y; (s) ⊦ x.last ∈ x ↔ x ≠ []; (s) ⊦ a ≠ b → (a ∈ b ' + x ↔ a ∈ x); (s) in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list in-15: ⊦ x + a ' = y → a ∈ y; (forward) from specification list inapp-10: ⊦ a ' + x = y + b ' ∧ a ≠ b → a ∈ y ∧ b ∈ x; (forward) from specification list lapp-04: ⊦ a ' + x = y + b ' ∧ a ≠ b → x.last = b; (forward) from specification list-last ⊦ a ∈ b ' ↔ a = b; (s) ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ ¬ a < a; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ x + a ' ≠ []; (s) ⊦ a + x = a ' + x; (s)
| y + y0.last ' = a0 ' + y0, y0.last ≠ a0, y0 ≠ [], y0.last < a0, ordered<(x + y0.last '), ordered<(y + y0.last ' + z), a0 ∈ y ⊦ |
y + a ' = a0 ' + y0, y0 = y1 + a ', a ≠ a0, y0 ≠ [], a < a0, ordered<(y + a ' + z), ordered<(x + a '), a0 ∈ y ⊦
Used simplifier rules: x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: y0, a, y1
| y + a ' = a0 ' + y0, y0 = y1 + a ', a ≠ a0, y0 ≠ [], a < a0, ordered<(y + a ' + z), ordered<(x + a '), a0 ∈ y ⊦ |
a ≠ a0, a < a0, ordered<((a0 ' + y1) + a ' + z), ordered<(x + a ') ⊦
Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list ⊦ x + a ' ≠ []; (s) ⊦ # y = # y0 → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws)
| a ≠ a0, a < a0, ordered<((a0 ' + y1) + a ' + z), ordered<(x + a ') ⊦ |
⊦ ¬ a < a0 ∧ a0 ∈ x → ¬ ordered<(a ' + x)
Used simplifier rules: ⊦ a ∈ x + y ↔ a ∈ x ∨ a ∈ y; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list transitivity: ⊦ a < b ∧ b < c → a < c; (forward) from specification oelem ⊦ ¬ a < a; (s) Used terms: a, a0, y1 + a ' + z
| ⊦ ¬ a < a0 ∧ a0 ∈ x → ¬ ordered<(a ' + x) |
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.