(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
if(if(x, y, z), u, v) → if(x, if(y, u, v), if(z, u, v))
Rewrite Strategy: INNERMOST
(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)
Converted CpxTRS to CDT
(2) Obligation:
Complexity Dependency Tuples Problem
Rules:
if(if(z0, z1, z2), z3, z4) → if(z0, if(z1, z3, z4), if(z2, z3, z4))
Tuples:
IF(if(z0, z1, z2), z3, z4) → c(IF(z0, if(z1, z3, z4), if(z2, z3, z4)), IF(z1, z3, z4), IF(z2, z3, z4))
S tuples:
IF(if(z0, z1, z2), z3, z4) → c(IF(z0, if(z1, z3, z4), if(z2, z3, z4)), IF(z1, z3, z4), IF(z2, z3, z4))
K tuples:none
Defined Rule Symbols:
if
Defined Pair Symbols:
IF
Compound Symbols:
c
(3) CdtUnreachableProof (EQUIVALENT transformation)
The following tuples could be removed as they are not reachable from basic start terms:
IF(if(z0, z1, z2), z3, z4) → c(IF(z0, if(z1, z3, z4), if(z2, z3, z4)), IF(z1, z3, z4), IF(z2, z3, z4))
(4) Obligation:
Complexity Dependency Tuples Problem
Rules:
if(if(z0, z1, z2), z3, z4) → if(z0, if(z1, z3, z4), if(z2, z3, z4))
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:
if
Defined Pair Symbols:none
Compound Symbols:none
(5) SIsEmptyProof (EQUIVALENT transformation)
The set S is empty
(6) BOUNDS(O(1), O(1))