The rewrite relation of the following TRS is considered.
plus(s(s(x)),y) | → | s(plus(x,s(y))) | (1) |
plus(x,s(s(y))) | → | s(plus(s(x),y)) | (2) |
plus(s(0),y) | → | s(y) | (3) |
plus(0,y) | → | y | (4) |
ack(0,y) | → | s(y) | (5) |
ack(s(x),0) | → | ack(x,s(0)) | (6) |
ack(s(x),s(y)) | → | ack(x,plus(y,ack(s(x),y))) | (7) |
ack#(s(x),0) | → | ack#(x,s(0)) | (8) |
plus#(s(s(x)),y) | → | plus#(x,s(y)) | (9) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (10) |
ack#(s(x),s(y)) | → | ack#(x,plus(y,ack(s(x),y))) | (11) |
plus#(x,s(s(y))) | → | plus#(s(x),y) | (12) |
ack#(s(x),s(y)) | → | plus#(y,ack(s(x),y)) | (13) |
The dependency pairs are split into 2 components.
ack#(s(x),s(y)) | → | ack#(x,plus(y,ack(s(x),y))) | (11) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (10) |
ack#(s(x),0) | → | ack#(x,s(0)) | (8) |
[s(x1)] | = | x1 + 2 |
[ack(x1, x2)] | = | x2 + 1 |
[plus#(x1, x2)] | = | 0 |
[0] | = | 7720 |
[plus(x1, x2)] | = | 21241 |
[ack#(x1, x2)] | = | x1 + 0 |
ack#(s(x),s(y)) | → | ack#(x,plus(y,ack(s(x),y))) | (11) |
ack#(s(x),0) | → | ack#(x,s(0)) | (8) |
The dependency pairs are split into 1 component.
ack#(s(x),s(y)) | → | ack#(s(x),y) | (10) |
[s(x1)] | = | x1 + 1 |
[ack(x1, x2)] | = | max(0) |
[plus#(x1, x2)] | = | max(0) |
[0] | = | 0 |
[plus(x1, x2)] | = | max(0) |
[ack#(x1, x2)] | = | max(x2 + 1, 0) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (10) |
The dependency pairs are split into 0 components.
plus#(x,s(s(y))) | → | plus#(s(x),y) | (12) |
plus#(s(s(x)),y) | → | plus#(x,s(y)) | (9) |
[s(x1)] | = | x1 + 35658 |
[ack(x1, x2)] | = | x2 + 35657 |
[plus#(x1, x2)] | = | x1 + x2 + 0 |
[0] | = | 1 |
[plus(x1, x2)] | = | x1 + x2 + 2 |
[ack#(x1, x2)] | = | 0 |
plus#(x,s(s(y))) | → | plus#(s(x),y) | (12) |
plus#(s(s(x)),y) | → | plus#(x,s(y)) | (9) |
The dependency pairs are split into 0 components.