The rewrite relation of the following TRS is considered.
p(p(b(a(x0)),x1),p(x2,x3)) | → | p(p(x3,a(x2)),p(b(a(x1)),b(x0))) | (1) |
p#(p(b(a(x0)),x1),p(x2,x3)) | → | p#(p(x3,a(x2)),p(b(a(x1)),b(x0))) | (2) |
p#(p(b(a(x0)),x1),p(x2,x3)) | → | p#(x3,a(x2)) | (3) |
p#(p(b(a(x0)),x1),p(x2,x3)) | → | p#(b(a(x1)),b(x0)) | (4) |
The dependency pairs are split into 1 component.
p#(p(b(a(x0)),x1),p(x2,x3)) | → | p#(p(x3,a(x2)),p(b(a(x1)),b(x0))) | (2) |
[p(x1, x2)] | = | 1 · x1 + 1 · x2 |
[b(x1)] | = | 1 · x1 |
[a(x1)] | = | 1 · x1 |
[p#(x1, x2)] | = | 1 · x1 + 1 · x2 |
[p#(x1, x2)] | = |
|
|||||||||||||||||||
[p(x1, x2)] | = |
|
|||||||||||||||||||
[b(x1)] | = |
|
|||||||||||||||||||
[a(x1)] | = |
|
p#(p(b(a(x0)),x1),p(x2,x3)) | → | p#(p(x3,a(x2)),p(b(a(x1)),b(x0))) | (2) |
There are no pairs anymore.