(0) Obligation:

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

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

Q is empty.