The rewrite relation of the following TRS is considered.
+(x,0) | → | x | (1) |
+(x,s(y)) | → | s(+(x,y)) | (2) |
+(0,y) | → | y | (3) |
+(s(x),y) | → | s(+(x,y)) | (4) |
+(x,+(y,z)) | → | +(+(x,y),z) | (5) |
f(g(f(x))) | → | f(h(s(0),x)) | (6) |
f(g(h(x,y))) | → | f(h(s(x),y)) | (7) |
f(h(x,h(y,z))) | → | f(h(+(x,y),z)) | (8) |
f#(g(f(x))) | → | f#(h(s(0),x)) | (9) |
f#(h(x,h(y,z))) | → | f#(h(+(x,y),z)) | (10) |
f#(h(x,h(y,z))) | → | +#(x,y) | (11) |
+#(x,+(y,z)) | → | +#(x,y) | (12) |
f#(g(h(x,y))) | → | f#(h(s(x),y)) | (13) |
+#(x,s(y)) | → | +#(x,y) | (14) |
+#(s(x),y) | → | +#(x,y) | (15) |
+#(x,+(y,z)) | → | +#(+(x,y),z) | (16) |
The dependency pairs are split into 2 components.
f#(h(x,h(y,z))) | → | f#(h(+(x,y),z)) | (10) |
[h(x1, x2)] | = | x2 + 1 |
[s(x1)] | = | x1 + 1 |
[f(x1)] | = | 0 |
[0] | = | 1 |
[f#(x1)] | = | x1 + 0 |
[+(x1, x2)] | = | x1 + 1 |
[g(x1)] | = | 0 |
[+#(x1, x2)] | = | 0 |
f#(h(x,h(y,z))) | → | f#(h(+(x,y),z)) | (10) |
The dependency pairs are split into 0 components.
+#(x,+(y,z)) | → | +#(+(x,y),z) | (16) |
+#(s(x),y) | → | +#(x,y) | (15) |
+#(x,s(y)) | → | +#(x,y) | (14) |
+#(x,+(y,z)) | → | +#(x,y) | (12) |
[h(x1, x2)] | = | 1 |
[s(x1)] | = | x1 + 1 |
[f(x1)] | = | 0 |
[0] | = | 0 |
[f#(x1)] | = | x1 + 0 |
[+(x1, x2)] | = | x1 + x2 + 2438 |
[g(x1)] | = | 0 |
[+#(x1, x2)] | = | x1 + x2 + 0 |
+(s(x),y) | → | s(+(x,y)) | (4) |
+(x,0) | → | x | (1) |
+(0,y) | → | y | (3) |
+(x,+(y,z)) | → | +(+(x,y),z) | (5) |
+(x,s(y)) | → | s(+(x,y)) | (2) |
+#(s(x),y) | → | +#(x,y) | (15) |
+#(x,s(y)) | → | +#(x,y) | (14) |
+#(x,+(y,z)) | → | +#(x,y) | (12) |
The dependency pairs are split into 1 component.
+#(x,+(y,z)) | → | +#(+(x,y),z) | (16) |
[h(x1, x2)] | = | 1 |
[s(x1)] | = | x1 + 1 |
[f(x1)] | = | 0 |
[0] | = | 0 |
[f#(x1)] | = | x1 + 0 |
[+(x1, x2)] | = | x1 + x2 + 20163 |
[g(x1)] | = | 0 |
[+#(x1, x2)] | = | x2 + 0 |
+(s(x),y) | → | s(+(x,y)) | (4) |
+(x,0) | → | x | (1) |
+(0,y) | → | y | (3) |
+(x,+(y,z)) | → | +(+(x,y),z) | (5) |
+(x,s(y)) | → | s(+(x,y)) | (2) |
+#(x,+(y,z)) | → | +#(+(x,y),z) | (16) |
The dependency pairs are split into 0 components.