(0) Obligation:

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

p(a(x0), p(x1, p(x2, x3))) → p(x1, p(x0, p(a(x3), x3)))

Q is empty.