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) |
f(s(x),y) | → | f(x,s(x)) | (4) |
f(x,s(y)) | → | f(y,x) | (5) |
f(x,y) | → | ack(x,y) | (6) |
ack(s(x),y) | → | f(x,x) | (7) |
f#(x,y) | → | ack#(x,y) | (8) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (9) |
f#(s(x),y) | → | f#(x,s(x)) | (10) |
ack#(s(x),s(y)) | → | ack#(x,ack(s(x),y)) | (11) |
ack#(s(x),y) | → | f#(x,x) | (12) |
ack#(s(x),0) | → | ack#(x,s(0)) | (13) |
f#(x,s(y)) | → | f#(y,x) | (14) |
The dependency pairs are split into 1 component.
f#(x,s(y)) | → | f#(y,x) | (14) |
ack#(s(x),0) | → | ack#(x,s(0)) | (13) |
ack#(s(x),y) | → | f#(x,x) | (12) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (9) |
ack#(s(x),s(y)) | → | ack#(x,ack(s(x),y)) | (11) |
f#(s(x),y) | → | f#(x,s(x)) | (10) |
f#(x,y) | → | ack#(x,y) | (8) |
[s(x1)] | = | x1 + 2 |
[ack(x1, x2)] | = | max(0) |
[f(x1, x2)] | = | max(x1 + 1, 0) |
[0] | = | 14235 |
[f#(x1, x2)] | = | max(x1 + 8857, x2 + 8856, 0) |
[ack#(x1, x2)] | = | max(x1 + 8857, 0) |
f#(x,s(y)) | → | f#(y,x) | (14) |
ack#(s(x),0) | → | ack#(x,s(0)) | (13) |
ack#(s(x),y) | → | f#(x,x) | (12) |
ack#(s(x),s(y)) | → | ack#(x,ack(s(x),y)) | (11) |
f#(s(x),y) | → | f#(x,s(x)) | (10) |
The dependency pairs are split into 1 component.
ack#(s(x),s(y)) | → | ack#(s(x),y) | (9) |
prec(s) | = | 0 | status(s) | = | [1] | list-extension(s) | = | Lex | ||
prec(ack) | = | 0 | status(ack) | = | [1, 2] | list-extension(ack) | = | Lex | ||
prec(f) | = | 0 | status(f) | = | [1, 2] | list-extension(f) | = | Lex | ||
prec(0) | = | 0 | status(0) | = | [] | list-extension(0) | = | Lex | ||
prec(f#) | = | 0 | status(f#) | = | [1, 2] | list-extension(f#) | = | Lex | ||
prec(ack#) | = | 0 | status(ack#) | = | [1, 2] | list-extension(ack#) | = | Lex |
[s(x1)] | = | x1 + 0 |
[ack(x1, x2)] | = | max(x1 + 0, x2 + 0, 0) |
[f(x1, x2)] | = | max(x1 + 0, x2 + 0, 0) |
[0] | = | 0 |
[f#(x1, x2)] | = | max(x1 + 0, x2 + 0, 0) |
[ack#(x1, x2)] | = | max(x1 + 0, x2 + 0, 0) |
ack#(s(x),s(y)) | → | ack#(s(x),y) | (9) |
The dependency pairs are split into 0 components.