YES
0 QTRS
↳1 FlatCCProof (⇔, 0 ms)
↳2 QTRS
↳3 RootLabelingProof (⇔, 0 ms)
↳4 QTRS
↳5 QTRSRRRProof (⇔, 36 ms)
↳6 QTRS
↳7 QTRSRRRProof (⇔, 0 ms)
↳8 QTRS
↳9 RisEmptyProof (⇔, 0 ms)
↳10 YES
a(a(x)) → a(b(a(x)))
b(b(x)) → a(a(x))
a(b(b(a(x)))) → x
a(a(x)) → a(b(a(x)))
a(b(b(x))) → a(a(a(x)))
b(b(b(x))) → b(a(a(x)))
a(a(b(b(a(x))))) → a(x)
b(a(b(b(a(x))))) → b(x)
a_{a_1}(a_{a_1}(x)) → a_{b_1}(b_{a_1}(a_{a_1}(x)))
a_{a_1}(a_{b_1}(x)) → a_{b_1}(b_{a_1}(a_{b_1}(x)))
a_{b_1}(b_{b_1}(b_{a_1}(x))) → a_{a_1}(a_{a_1}(a_{a_1}(x)))
a_{b_1}(b_{b_1}(b_{b_1}(x))) → a_{a_1}(a_{a_1}(a_{b_1}(x)))
b_{b_1}(b_{b_1}(b_{a_1}(x))) → b_{a_1}(a_{a_1}(a_{a_1}(x)))
b_{b_1}(b_{b_1}(b_{b_1}(x))) → b_{a_1}(a_{a_1}(a_{b_1}(x)))
a_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{a_1}(x))))) → a_{a_1}(x)
a_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{b_1}(x))))) → a_{b_1}(x)
b_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{a_1}(x))))) → b_{a_1}(x)
b_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{b_1}(x))))) → b_{b_1}(x)
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(a_{a_1}(x1)) = 1 + x1
POL(a_{b_1}(x1)) = 1 + x1
POL(b_{a_1}(x1)) = x1
POL(b_{b_1}(x1)) = 3 + x1
a_{b_1}(b_{b_1}(b_{a_1}(x))) → a_{a_1}(a_{a_1}(a_{a_1}(x)))
a_{b_1}(b_{b_1}(b_{b_1}(x))) → a_{a_1}(a_{a_1}(a_{b_1}(x)))
b_{b_1}(b_{b_1}(b_{a_1}(x))) → b_{a_1}(a_{a_1}(a_{a_1}(x)))
b_{b_1}(b_{b_1}(b_{b_1}(x))) → b_{a_1}(a_{a_1}(a_{b_1}(x)))
a_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{a_1}(x))))) → a_{a_1}(x)
a_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{b_1}(x))))) → a_{b_1}(x)
b_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{a_1}(x))))) → b_{a_1}(x)
b_{a_1}(a_{b_1}(b_{b_1}(b_{a_1}(a_{b_1}(x))))) → b_{b_1}(x)
a_{a_1}(a_{a_1}(x)) → a_{b_1}(b_{a_1}(a_{a_1}(x)))
a_{a_1}(a_{b_1}(x)) → a_{b_1}(b_{a_1}(a_{b_1}(x)))
With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly:
POL(a_{a_1}(x1)) = 1 + x1
POL(a_{b_1}(x1)) = x1
POL(b_{a_1}(x1)) = x1
a_{a_1}(a_{a_1}(x)) → a_{b_1}(b_{a_1}(a_{a_1}(x)))
a_{a_1}(a_{b_1}(x)) → a_{b_1}(b_{a_1}(a_{b_1}(x)))