| ⊦ x ≠ [] → sublist(0, n + 1, x) = x.first + sublist(0, n, x.rest) |
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.first + firstn(n, x.rest);%a: ⊦ (x + y) + z = x + y + z; from specification list%app-08: ⊦ a ' + x = a ' + y ↔ x = y; from specification list%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ a + x = a ' + x; from specification list