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