The rewrite relation of the following TRS is considered.
f(x,h(y)) | → | h(f(f(h(a),y),x)) | (1) |
f(x0,h(x1)) |
f#(x,h(y)) | → | f#(f(h(a),y),x) | (2) |
f#(x,h(y)) | → | f#(h(a),y) | (3) |
f#(x,h(y)) | → | f#(f(h(a),y),x) | (2) |
f#(x0,h(h(y_1))) | → | f#(h(a),h(y_1)) | (4) |
t0 | = | f#(f(h(y'''),f(x''',h(y'))),f(h(y''),f(x'',h(y)))) |
→R | f#(f(h(y'''),f(x''',h(y'))),f(h(y''),h(f(f(h(a),y),x'')))) | |
→R | f#(f(h(y'''),f(x''',h(y'))),h(f(f(h(a),f(f(h(a),y),x'')),h(y'')))) | |
→P | f#(f(h(a),f(f(h(a),f(f(h(a),y),x'')),h(y''))),f(h(y'''),f(x''',h(y')))) | |
= | t3 |