The rewrite relation of the following TRS is considered.
f(f(y,z),f(x,f(a,x))) | → | f(f(f(a,z),f(x,a)),f(a,y)) | (1) |
f#(f(y,z),f(x,f(a,x))) | → | f#(f(f(a,z),f(x,a)),f(a,y)) | (2) |
f#(f(y,z),f(x,f(a,x))) | → | f#(f(a,z),f(x,a)) | (3) |
f#(f(y,z),f(x,f(a,x))) | → | f#(a,z) | (4) |
f#(f(y,z),f(x,f(a,x))) | → | f#(x,a) | (5) |
f#(f(y,z),f(x,f(a,x))) | → | f#(a,y) | (6) |
The dependency pairs are split into 1 component.
f#(f(y,z),f(x,f(a,x))) | → | f#(f(f(a,z),f(x,a)),f(a,y)) | (2) |
[f(x1, x2)] | = | 1 · x1 + 1 · x2 |
[a] | = | 0 |
[f#(x1, x2)] | = | 1 · x1 + 1 · x2 |
f#(f(f(a,z1),f(z2,a)),f(a,f(a,a))) | → | f#(f(f(a,f(z2,a)),f(a,a)),f(a,f(a,z1))) | (7) |
f#(f(f(a,f(z1,a)),f(a,a)),f(a,f(a,a))) | → | f#(f(f(a,f(a,a)),f(a,a)),f(a,f(a,f(z1,a)))) | (8) |
There are no rules.
There are no pairs anymore.