Used simplifier rules: sublist-def: ⊦ sublist(m, n, x) = firstn(n, restn(m, x));%firstN-empty: ⊦ firstn(n, x) = [] ↔ n = 0;