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