(0) Obligation:

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

f(h(x)) → f(i(x))
g(i(x)) → g(h(x))
h(a) → b
i(a) → b

Q is empty.