(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
if(true, x, y) → x
if(false, x, y) → y
if(x, y, y) → y
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(true, z0, z1) → z0
if(false, z0, z1) → z1
if(z0, z1, z1) → z1
if(if(z0, z1, z2), u, v) → if(z0, if(z1, u, v), if(z2, u, v))
Tuples:
IF(if(z0, z1, z2), u, v) → c3(IF(z0, if(z1, u, v), if(z2, u, v)), IF(z1, u, v), IF(z2, u, v))
S tuples:
IF(if(z0, z1, z2), u, v) → c3(IF(z0, if(z1, u, v), if(z2, u, v)), IF(z1, u, v), IF(z2, u, v))
K tuples:none
Defined Rule Symbols:
if
Defined Pair Symbols:
IF
Compound Symbols:
c3
(3) CdtUnreachableProof (EQUIVALENT transformation)
The following tuples could be removed as they are not reachable from basic start terms:
IF(if(z0, z1, z2), u, v) → c3(IF(z0, if(z1, u, v), if(z2, u, v)), IF(z1, u, v), IF(z2, u, v))
(4) Obligation:
Complexity Dependency Tuples Problem
Rules:
if(true, z0, z1) → z0
if(false, z0, z1) → z1
if(z0, z1, z1) → z1
if(if(z0, z1, z2), u, v) → if(z0, if(z1, u, v), if(z2, u, v))
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))