The rewrite relation of the following TRS is considered.
f(s(a),s(b),x) | → | f(x,x,x) | (1) |
g(f(s(x),s(y),z)) | → | g(f(x,y,z)) | (2) |
cons(x,y) | → | x | (3) |
cons(x,y) | → | y | (4) |
f#(s(a),s(b),x) | → | f#(x,x,x) | (5) |
g#(f(s(x),s(y),z)) | → | g#(f(x,y,z)) | (6) |
g#(f(s(x),s(y),z)) | → | f#(x,y,z) | (7) |
g#(f(s(x),s(y),z)) | → | g#(f(x,y,z)) | (6) |
g#(f(s(x),s(y),z)) | → | f#(x,y,z) | (7) |
t0 | = | f#(cons(s(a),s(b)),cons(s(a),s(b)),cons(s(a),s(b))) |
→R | f#(cons(s(a),s(b)),s(b),cons(s(a),s(b))) | |
→R | f#(s(a),s(b),cons(s(a),s(b))) | |
→P | f#(cons(s(a),s(b)),cons(s(a),s(b)),cons(s(a),s(b))) | |
= | t3 |