The rewrite relation of the following TRS is considered.
| f(g(x),s(0),y) | → | f(g(s(0)),y,g(x)) | (1) |
| g(s(x)) | → | s(g(x)) | (2) |
| g(0) | → | 0 | (3) |
| f#(g(x),s(0),y) | → | f#(g(s(0)),y,g(x)) | (4) |
| f#(g(x),s(0),y) | → | g#(s(0)) | (5) |
| g#(s(x)) | → | g#(x) | (6) |
| f#(g(x),s(0),y) | → | g#(s(0)) | (5) |
| g#(s(x)) | → | g#(x) | (6) |
| f(g(x),s(0),y) | → | f(g(s(0)),y,g(x)) | (1) |
| 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 |