The rewrite relation of the following TRS is considered.
if(true,x,y) | → | x | (1) |
if(false,x,y) | → | y | (2) |
if(x,y,y) | → | y | (3) |
if(if(x,y,z),u,v) | → | if(x,if(y,u,v),if(z,u,v)) | (4) |
if(x,if(x,y,z),z) | → | if(x,y,z) | (5) |
if(x,y,if(x,y,z)) | → | if(x,y,z) | (6) |
if#(if(x,y,z),u,v) | → | if#(y,u,v) | (7) |
if#(if(x,y,z),u,v) | → | if#(z,u,v) | (8) |
if#(if(x,y,z),u,v) | → | if#(x,if(y,u,v),if(z,u,v)) | (9) |
The dependency pairs are split into 1 component.
if#(if(x,y,z),u,v) | → | if#(x,if(y,u,v),if(z,u,v)) | (9) |
if#(if(x,y,z),u,v) | → | if#(z,u,v) | (8) |
if#(if(x,y,z),u,v) | → | if#(y,u,v) | (7) |
[false] | = | 1 |
[true] | = | 7758 |
[if(x1, x2, x3)] | = | x1 + x2 + x3 + 1 |
[if#(x1, x2, x3)] | = | x1 + 0 |
if#(if(x,y,z),u,v) | → | if#(x,if(y,u,v),if(z,u,v)) | (9) |
if#(if(x,y,z),u,v) | → | if#(z,u,v) | (8) |
if#(if(x,y,z),u,v) | → | if#(y,u,v) | (7) |
The dependency pairs are split into 0 components.