The rewrite relation of the following TRS is considered.
f(s(x1),x2,x3,x4,x5) | → | f(x1,x2,x3,x4,x5) | (1) |
f(0,s(x2),x3,x4,x5) | → | f(x2,x2,x3,x4,x5) | (2) |
f(0,0,s(x3),x4,x5) | → | f(x3,x3,x3,x4,x5) | (3) |
f(0,0,0,s(x4),x5) | → | f(x4,x4,x4,x4,x5) | (4) |
f(0,0,0,0,s(x5)) | → | f(x5,x5,x5,x5,x5) | (5) |
f(0,0,0,0,0) | → | 0 | (6) |
f#(0,0,0,0,s(x5)) | → | f#(x5,x5,x5,x5,x5) | (7) |
f#(0,0,0,s(x4),x5) | → | f#(x4,x4,x4,x4,x5) | (8) |
f#(0,0,s(x3),x4,x5) | → | f#(x3,x3,x3,x4,x5) | (9) |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
The dependency pairs are split into 1 component.
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
f#(0,0,s(x3),x4,x5) | → | f#(x3,x3,x3,x4,x5) | (9) |
f#(0,0,0,s(x4),x5) | → | f#(x4,x4,x4,x4,x5) | (8) |
f#(0,0,0,0,s(x5)) | → | f#(x5,x5,x5,x5,x5) | (7) |
[s(x1)] | = | x1 + 1 |
[f(x1,...,x5)] | = | 0 |
[0] | = | 1 |
[f#(x1,...,x5)] | = | x5 + 0 |
f#(0,0,0,0,s(x5)) | → | f#(x5,x5,x5,x5,x5) | (7) |
The dependency pairs are split into 1 component.
f#(0,0,0,s(x4),x5) | → | f#(x4,x4,x4,x4,x5) | (8) |
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
f#(0,0,s(x3),x4,x5) | → | f#(x3,x3,x3,x4,x5) | (9) |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
[s(x1)] | = | x1 + 1 |
[f(x1,...,x5)] | = | 0 |
[0] | = | 1 |
[f#(x1,...,x5)] | = | x4 + 0 |
f#(0,0,0,s(x4),x5) | → | f#(x4,x4,x4,x4,x5) | (8) |
The dependency pairs are split into 1 component.
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
f#(0,0,s(x3),x4,x5) | → | f#(x3,x3,x3,x4,x5) | (9) |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
[s(x1)] | = | x1 + 1 |
[f(x1,...,x5)] | = | 0 |
[0] | = | 1 |
[f#(x1,...,x5)] | = | x3 + 0 |
f#(0,0,s(x3),x4,x5) | → | f#(x3,x3,x3,x4,x5) | (9) |
The dependency pairs are split into 1 component.
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
[s(x1)] | = | x1 + 1 |
[f(x1,...,x5)] | = | 0 |
[0] | = | 1 |
[f#(x1,...,x5)] | = | x2 + 0 |
f#(0,s(x2),x3,x4,x5) | → | f#(x2,x2,x3,x4,x5) | (10) |
The dependency pairs are split into 1 component.
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
[s(x1)] | = | x1 + 1 |
[f(x1,...,x5)] | = | 0 |
[0] | = | 1 |
[f#(x1,...,x5)] | = | x1 + 0 |
f#(s(x1),x2,x3,x4,x5) | → | f#(x1,x2,x3,x4,x5) | (11) |
The dependency pairs are split into 0 components.