Used simplifier rules: firstN-len: ⊦ firstn(# x, x + y) = x;%a: ⊦ (x + y) + z = x + y + z; from specification list