| ⊦ sublist(0, n + 1, x) = x.head + sublist(0, n, x.tail), x = [] |
Used simplifier rules: sublist-def: ⊦ sublist(m, n, x) = firstn(n, restn(m, x));%restN-zero: ⊦ restn(0, x) = x;%firstN-rec: ⊦ firstn(n + 1, x) = x.head + firstn(n, x.tail);%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ x + y = x + z ↔ y = z; (s)%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)