(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

a(a(x)) → b(b(x))
b(b(a(x))) → a(b(b(x)))

Q is empty.