(0) Obligation:

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

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

Q is empty.