(0) Obligation:

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

f(f(s(x), 0), f(y, z)) → f(f(y, z), f(y, s(z)))
f(f(s(x), s(y)), f(z, w)) → f(f(x, y), f(z, w))

Q is empty.