| # x = 1 ⊦ (y + x).last = x.head |
Used simplifier rules: lapp-01: ⊦ (x + a ' + y).last = (a ' + y).last;%last-one: ⊦ a '.last = a;% ⊦ a + x = a ' + x; (s)% ⊦ #(x + y) = # x + # y; (s)% ⊦ # a ' = 0 +1; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ 1 = m + 1 ↔ m = 0; (s)% ⊦ # x = 0 ↔ x = []; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ a ' + x ≠ []; (s)% ⊦ x + [] = x; (s)% ⊦ # [] = 0; (s)%x ≠ [] ⊦ a = x.head ∧ y = x.tail ↔ x = a + y; (elim) Used terms: x, a, y0