YES
0 QTRS
↳1 QTRSRRRProof (⇔, 13 ms)
↳2 QTRS
↳3 RisEmptyProof (⇔, 0 ms)
↳4 YES
f(f(x)) → g(f(x))
g(g(x)) → f(x)
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(f(x1)) = 3 + x1
POL(g(x1)) = 2 + x1
f(f(x)) → g(f(x))
g(g(x)) → f(x)