| m0 + n < # x ⊦ sublist(m0, n + 1, x).last = x[m0 + n] |
m0 + n < # x ⊦ (restn(m0, x).head ' + firstn(n, restn(m0, x).tail)).last = x[m0 + n], x = []
Used simplifier rules: sublist-def: ⊦ sublist(m, n, x) = firstn(n, restn(m, x));%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%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ a + x = a ' + x; (s)