The rewrite relation of the following TRS is considered.
f(s(x),y) | → | f(x,s(x)) | (1) |
f(x,s(y)) | → | f(y,x) | (2) |
f#(s(x),y) | → | f#(x,s(x)) | (3) |
f#(x,s(y)) | → | f#(y,x) | (4) |
The dependency pairs are split into 1 component.
f#(x,s(y)) | → | f#(y,x) | (4) |
f#(s(x),y) | → | f#(x,s(x)) | (3) |
[s(x1)] | = | x1 + 2 |
[f(x1, x2)] | = | max(0) |
[f#(x1, x2)] | = | max(x1 + 2, x2 + 1, 0) |
f#(x,s(y)) | → | f#(y,x) | (4) |
f#(s(x),y) | → | f#(x,s(x)) | (3) |
The dependency pairs are split into 0 components.