(0) Obligation:

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

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

Q is empty.