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