| ⊦ restn(# x, a ' + x) = x.last ', x = [] |
Used simplifier rules: restN-rec: ⊦ restn(n + 1, x) = restn(n, x.tail);%restN-len: ⊦ restn(# x, x + y) = y;% ⊦ x + a ' ≠ []; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ #(x + y) = # x + # y; (s)% ⊦ # a ' = 0 +1; (s)% ⊦ (a ' + x).tail = x; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ a ' = b ' ↔ a = b; (s)%x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: x, a0, y