| ⊦ 0 + n < # x → sublist(0, n + 1, x) = sublist(0, n, x) + x[0 + n] |
⊦ n < # x → sublist(0, n + 1, x) = sublist(0, n, x) + x[n]
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);%sublist-def: ⊦ sublist(m, n, x) = firstn(n, restn(m, x));%restN-zero: ⊦ restn(0, x) = x;%Last: ⊦ x + a = x + a '; from specification list%add-base: ⊦ n + 0 = n; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%app-01: ⊦ x + y = x + z ↔ y = z; from specification list%a: ⊦ (x + y) + z = x + y + z; from specification list%c: ⊦ a + x = a ' + x; from specification list Used terms: x, n