| m = m0 + 1, m ≤ # x ⊦ firstn(m, x).last = x[m0], m = 0 |
m0 < # x ⊦ (x.head ' + firstn(m0, x.tail)).last = x[m0], x = []
Used simplifier rules: firstN-rec: ⊦ firstn(n + 1, x) = x.head + firstn(n, x.tail);% ⊦ # x = 0 ↔ x = []; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ m + 1 ≤ n ↔ m < n; (s)% ⊦ a + x = a ' + x; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m + 1 ≠ 0; (s)