Used simplifier rules: rest-01: ⊦ str ≠ "" → (str + str0).rstring = str.rstring + str0;%app: ⊦ str + str0 = str + str1 ↔ str0 = str1;