The rewrite relation of the following TRS is considered.
f(0,1,X) | → | f(g(X,X),X,X) | (1) |
g(X,Y) | → | X | (2) |
g(X,Y) | → | Y | (3) |
f#(0,1,X) | → | f#(g(X,X),X,X) | (4) |
f#(0,1,X) | → | g#(X,X) | (5) |
f#(0,1,X) | → | g#(X,X) | (5) |
t0 | = | f#(g(g(0,1),g(0,1)),g(0,1),g(0,1)) |
→R | f#(g(g(0,1),g(0,1)),1,g(0,1)) | |
→R | f#(g(0,1),1,g(0,1)) | |
→R | f#(0,1,g(0,1)) | |
→P | f#(g(g(0,1),g(0,1)),g(0,1),g(0,1)) | |
= | t4 |