(0) Obligation:

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

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

Q is empty.