| lastn(n, x) = [] ⊦ n = 0 |
Used simplifier rules: lastN-rec: ⊦ lastn(n + 1, x) = lastn(n, x.butlast) + x.last;%nat freely generated by 0, +1;;% ⊦ m +1 = m + 1; (s)% ⊦ x + a = x + a '; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic% ⊦ x + y = [] ↔ x = [] ∧ y = []; (as)% ⊦ a ' ≠ []; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list