(0) Obligation:

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

f(f(a, x), y) → f(y, f(x, f(a, f(h(a), a))))

Q is empty.