WORST_CASE(?,O(n^2)) * Step 1: NaturalPI WORST_CASE(?,O(n^2)) + Considered Problem: - Strict TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(x,1()) -> x *(+(x,y),z) -> +(*(x,z),*(y,z)) *(1(),y) -> y - Signature: {*/2} / {+/2,1/0} - Obligation: innermost runtime complexity wrt. defined symbols {*} and constructors {+,1} + Applied Processor: NaturalPI {shape = Mixed 2, restrict = Restrict, uargs = UArgs, urules = URules, selector = Just any strict-rules} + Details: We apply a polynomial interpretation of kind constructor-based(mixed(2)): The following argument positions are considered usable: uargs(+) = {1,2} Following symbols are considered usable: {*} TcT has computed the following interpretation: p(*) = 1 + 2*x1 + 3*x1*x2 + 5*x2 p(+) = 2 + x1 + x2 p(1) = 1 Following rules are strictly oriented: *(x,+(y,z)) = 11 + 8*x + 3*x*y + 3*x*z + 5*y + 5*z > 4 + 4*x + 3*x*y + 3*x*z + 5*y + 5*z = +(*(x,y),*(x,z)) *(x,1()) = 6 + 5*x > x = x *(+(x,y),z) = 5 + 2*x + 3*x*z + 2*y + 3*y*z + 11*z > 4 + 2*x + 3*x*z + 2*y + 3*y*z + 10*z = +(*(x,z),*(y,z)) *(1(),y) = 3 + 8*y > y = y Following rules are (at-least) weakly oriented: * Step 2: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(x,1()) -> x *(+(x,y),z) -> +(*(x,z),*(y,z)) *(1(),y) -> y - Signature: {*/2} / {+/2,1/0} - Obligation: innermost runtime complexity wrt. defined symbols {*} and constructors {+,1} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(n^2))