WORST_CASE(?,O(1)) * Step 1: Sum WORST_CASE(?,O(1)) + Considered Problem: - Strict TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2} / {0/0,i/1} - Obligation: innermost runtime complexity wrt. defined symbols {*,+} and constructors {0,i} + Applied Processor: Sum {left = someStrategy, right = someStrategy} + Details: () * Step 2: DependencyPairs WORST_CASE(?,O(1)) + Considered Problem: - Strict TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2} / {0/0,i/1} - Obligation: innermost runtime complexity wrt. defined symbols {*,+} and constructors {0,i} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) +#(x,0()) -> c_3() +#(x,i(x)) -> c_4() +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) Weak DPs and mark the set of starting terms. * Step 3: PredecessorEstimation WORST_CASE(?,O(1)) + Considered Problem: - Strict DPs: *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) +#(x,0()) -> c_3() +#(x,i(x)) -> c_4() +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) - Weak TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2,*#/2,+#/2} / {0/0,i/1,c_1/3,c_2/3,c_3/0,c_4/0,c_5/2} - Obligation: innermost runtime complexity wrt. defined symbols {*#,+#} and constructors {0,i} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {3,4} by application of Pre({3,4}) = {1,2,5}. Here rules are labelled as follows: 1: *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) 2: *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) 3: +#(x,0()) -> c_3() 4: +#(x,i(x)) -> c_4() 5: +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) * Step 4: RemoveWeakSuffixes WORST_CASE(?,O(1)) + Considered Problem: - Strict DPs: *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) - Weak DPs: +#(x,0()) -> c_3() +#(x,i(x)) -> c_4() - Weak TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2,*#/2,+#/2} / {0/0,i/1,c_1/3,c_2/3,c_3/0,c_4/0,c_5/2} - Obligation: innermost runtime complexity wrt. defined symbols {*#,+#} and constructors {0,i} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:*#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) -->_1 +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)):3 -->_3 *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)):2 -->_2 *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)):2 -->_1 +#(x,i(x)) -> c_4():5 -->_1 +#(x,0()) -> c_3():4 -->_3 *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)):1 -->_2 *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)):1 2:S:*#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) -->_1 +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)):3 -->_1 +#(x,i(x)) -> c_4():5 -->_1 +#(x,0()) -> c_3():4 -->_3 *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)):2 -->_2 *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)):2 -->_3 *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)):1 -->_2 *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)):1 3:S:+#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) -->_2 +#(x,i(x)) -> c_4():5 -->_1 +#(x,i(x)) -> c_4():5 -->_2 +#(x,0()) -> c_3():4 -->_1 +#(x,0()) -> c_3():4 -->_2 +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)):3 -->_1 +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)):3 4:W:+#(x,0()) -> c_3() 5:W:+#(x,i(x)) -> c_4() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 4: +#(x,0()) -> c_3() 5: +#(x,i(x)) -> c_4() * Step 5: RemoveInapplicable WORST_CASE(?,O(1)) + Considered Problem: - Strict DPs: *#(x,+(y,z)) -> c_1(+#(*(x,y),*(x,z)),*#(x,y),*#(x,z)) *#(+(x,y),z) -> c_2(+#(*(x,z),*(y,z)),*#(x,z),*#(y,z)) +#(+(x,y),z) -> c_5(+#(x,+(y,z)),+#(y,z)) - Weak TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2,*#/2,+#/2} / {0/0,i/1,c_1/3,c_2/3,c_3/0,c_4/0,c_5/2} - Obligation: innermost runtime complexity wrt. defined symbols {*#,+#} and constructors {0,i} + Applied Processor: RemoveInapplicable + Details: Only the nodes {} are reachable from nodes {} that start derivation from marked basic terms. The nodes not reachable are removed from the problem. * Step 6: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: *(x,+(y,z)) -> +(*(x,y),*(x,z)) *(+(x,y),z) -> +(*(x,z),*(y,z)) +(x,0()) -> x +(x,i(x)) -> 0() +(+(x,y),z) -> +(x,+(y,z)) - Signature: {*/2,+/2,*#/2,+#/2} / {0/0,i/1,c_1/3,c_2/3,c_3/0,c_4/0,c_5/2} - Obligation: innermost runtime complexity wrt. defined symbols {*#,+#} and constructors {0,i} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(1))