The rewrite relation of the following TRS is considered.
| ack(0,y) | → | s(y) | (1) |
| ack(s(x),0) | → | ack(x,s(0)) | (2) |
| ack(s(x),s(y)) | → | ack(x,ack(s(x),y)) | (3) |
| init | → | ack(s(s(s(s(s(s(s(0))))))),0) | (4) |
| run_again(x) | → | run_again(init) | (5) |
| ack#(s(x),0) | → | ack#(x,s(0)) | (6) |
| ack#(s(x),s(y)) | → | ack#(x,ack(s(x),y)) | (7) |
| ack#(s(x),s(y)) | → | ack#(s(x),y) | (8) |
| init# | → | ack#(s(s(s(s(s(s(s(0))))))),0) | (9) |
| run_again#(x) | → | run_again#(init) | (10) |
| run_again#(x) | → | init# | (11) |
| ack#(s(x),0) | → | ack#(x,s(0)) | (6) |
| ack#(s(x),s(y)) | → | ack#(x,ack(s(x),y)) | (7) |
| ack#(s(x),s(y)) | → | ack#(s(x),y) | (8) |
| init# | → | ack#(s(s(s(s(s(s(s(0))))))),0) | (9) |
| run_again#(x) | → | init# | (11) |
| run_again(x) | → | run_again(init) | (5) |
We restrict the innermost strategy to the following left hand sides.
| ack(0,x0) |
| ack(s(x0),0) |
| ack(s(x0),s(x1)) |
| init |
| → |
| init | → | ack(s(s(s(s(s(s(s(0))))))),0) | (4) |
We restrict the innermost strategy to the following left hand sides.
| ack(0,x0) |
| ack(s(x0),0) |
| ack(s(x0),s(x1)) |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| → |
| run_again#(y0) | → | run_again#(ack(s(s(s(s(s(0))))),ack(s(s(s(s(0)))),ack(s(s(0)),ack(s(s(s(0))),ack(s(0),ack(s(0),ack(0,ack(s(0),ack(s(0),ack(0,ack(s(0),0)))))))))))) | (62) |
| t0 | = | run_again#(y0) |
| →P | run_again#(ack(s(s(s(s(s(0))))),ack(s(s(s(s(0)))),ack(s(s(0)),ack(s(s(s(0))),ack(s(0),ack(s(0),ack(0,ack(s(0),ack(s(0),ack(0,ack(s(0),0)))))))))))) | |
| = | t1 |