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