(0) Obligation:

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

f(f(a, a), x) → f(f(x, a), f(a, f(a, a)))

Q is empty.