(0) Obligation:

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

f(a, b) → f(a, c)
f(c, d) → f(b, d)

Q is empty.