(0) Obligation:

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

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

Q is empty.