(0) Obligation:

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

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

Q is empty.