| n < # x ⊦ firstn(n, x) = firstn(n, x.butlast), x = [] |
Used simplifier rules: first-append: ⊦ m ≤ # x → firstn(m, x + y) = firstn(m, x);%e-02: ⊦ x + a ' ≠ []; from specification list%a: ⊦ (x + y) + z = x + y + z; from specification list%len: ⊦ #(x + y) = # x + # y; from specification list%len-02: ⊦ # a ' = 0 +1; from specification list%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%x ≠ [] ⊦ a = x.last ∧ y = x.butlast ↔ x = y + a '; (elim) Used terms: x, a, y