| # y0 = m + 1 ⊦ y0.butlast = firstn(m, y0.butlast), y0 = [] |
⊦ # x = n → firstn(n, x) = x
Used simplifier rules: ⊦ x ≠ [] → # x.butlast = # x - 1; (s)% ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s)% ⊦ n + 0 = n; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic Used terms: y0.butlast, m