Used simplifier rules: sublist-def: ⊦ sublist(m, n, x) = firstn(n, restn(m, x));%restn-apprec: ⊦ restn(m, restn(n, x)) = restn(m + n, x);