WORST_CASE(Omega(n^1),O(n^1)) * Step 1: Sum WORST_CASE(Omega(n^1),O(n^1)) + Considered Problem: - Strict TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0} - Obligation: innermost runtime complexity wrt. defined symbols {D} and constructors {*,+,-,0,1,constant,t} + Applied Processor: Sum {left = someStrategy, right = someStrategy} + Details: () ** Step 1.a:1: DecreasingLoops WORST_CASE(Omega(n^1),?) + Considered Problem: - Strict TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0} - Obligation: innermost runtime complexity wrt. defined symbols {D} and constructors {*,+,-,0,1,constant,t} + Applied Processor: DecreasingLoops {bound = AnyLoop, narrow = 10} + Details: The system has following decreasing Loops: D(x){x -> *(x,y)} = D(*(x,y)) ->^+ +(*(y,D(x)),*(x,D(y))) = C[D(x) = D(x){}] ** Step 1.b:1: DependencyPairs WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0} - Obligation: innermost runtime complexity wrt. defined symbols {D} and constructors {*,+,-,0,1,constant,t} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) D#(constant()) -> c_4() D#(t()) -> c_5() Weak DPs and mark the set of starting terms. ** Step 1.b:2: PredecessorEstimation WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) D#(constant()) -> c_4() D#(t()) -> c_5() - Weak TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {4,5} by application of Pre({4,5}) = {1,2,3}. Here rules are labelled as follows: 1: D#(*(x,y)) -> c_1(D#(x),D#(y)) 2: D#(+(x,y)) -> c_2(D#(x),D#(y)) 3: D#(-(x,y)) -> c_3(D#(x),D#(y)) 4: D#(constant()) -> c_4() 5: D#(t()) -> c_5() ** Step 1.b:3: RemoveWeakSuffixes WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) - Weak DPs: D#(constant()) -> c_4() D#(t()) -> c_5() - Weak TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:D#(*(x,y)) -> c_1(D#(x),D#(y)) -->_2 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_1 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_2 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_1 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_2 D#(t()) -> c_5():5 -->_1 D#(t()) -> c_5():5 -->_2 D#(constant()) -> c_4():4 -->_1 D#(constant()) -> c_4():4 -->_2 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 -->_1 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 2:S:D#(+(x,y)) -> c_2(D#(x),D#(y)) -->_2 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_1 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_2 D#(t()) -> c_5():5 -->_1 D#(t()) -> c_5():5 -->_2 D#(constant()) -> c_4():4 -->_1 D#(constant()) -> c_4():4 -->_2 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_1 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_2 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 -->_1 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 3:S:D#(-(x,y)) -> c_3(D#(x),D#(y)) -->_2 D#(t()) -> c_5():5 -->_1 D#(t()) -> c_5():5 -->_2 D#(constant()) -> c_4():4 -->_1 D#(constant()) -> c_4():4 -->_2 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_1 D#(-(x,y)) -> c_3(D#(x),D#(y)):3 -->_2 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_1 D#(+(x,y)) -> c_2(D#(x),D#(y)):2 -->_2 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 -->_1 D#(*(x,y)) -> c_1(D#(x),D#(y)):1 4:W:D#(constant()) -> c_4() 5:W:D#(t()) -> c_5() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 4: D#(constant()) -> c_4() 5: D#(t()) -> c_5() ** Step 1.b:4: UsableRules WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) - Weak TRS: D(*(x,y)) -> +(*(y,D(x)),*(x,D(y))) D(+(x,y)) -> +(D(x),D(y)) D(-(x,y)) -> -(D(x),D(y)) D(constant()) -> 0() D(t()) -> 1() - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: UsableRules + Details: We replace rewrite rules by usable rules: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) ** Step 1.b:5: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: WeightGap {wgDimension = 1, wgDegree = 1, wgKind = Algebraic, wgUArgs = UArgs, wgOn = WgOnAny} + Details: The weightgap principle applies using the following constant growth matrix-interpretation: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(c_1) = {1,2}, uargs(c_2) = {1,2}, uargs(c_3) = {1,2} Following symbols are considered usable: all TcT has computed the following interpretation: p(*) = [1] x1 + [1] x2 + [0] p(+) = [1] x1 + [1] x2 + [0] p(-) = [1] x1 + [1] x2 + [3] p(0) = [0] p(1) = [0] p(D) = [0] p(constant) = [0] p(t) = [1] p(D#) = [7] x1 + [4] p(c_1) = [1] x1 + [1] x2 + [4] p(c_2) = [1] x1 + [1] x2 + [2] p(c_3) = [1] x1 + [1] x2 + [0] p(c_4) = [0] p(c_5) = [0] Following rules are strictly oriented: D#(-(x,y)) = [7] x + [7] y + [25] > [7] x + [7] y + [8] = c_3(D#(x),D#(y)) Following rules are (at-least) weakly oriented: D#(*(x,y)) = [7] x + [7] y + [4] >= [7] x + [7] y + [12] = c_1(D#(x),D#(y)) D#(+(x,y)) = [7] x + [7] y + [4] >= [7] x + [7] y + [10] = c_2(D#(x),D#(y)) Further, it can be verified that all rules not oriented are covered by the weightgap condition. ** Step 1.b:6: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) - Weak DPs: D#(-(x,y)) -> c_3(D#(x),D#(y)) - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: WeightGap {wgDimension = 1, wgDegree = 1, wgKind = Algebraic, wgUArgs = UArgs, wgOn = WgOnAny} + Details: The weightgap principle applies using the following constant growth matrix-interpretation: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(c_1) = {1,2}, uargs(c_2) = {1,2}, uargs(c_3) = {1,2} Following symbols are considered usable: all TcT has computed the following interpretation: p(*) = [1] x1 + [1] x2 + [0] p(+) = [1] x1 + [1] x2 + [9] p(-) = [1] x1 + [1] x2 + [0] p(0) = [0] p(1) = [0] p(D) = [0] p(constant) = [0] p(t) = [0] p(D#) = [1] x1 + [0] p(c_1) = [1] x1 + [1] x2 + [0] p(c_2) = [1] x1 + [1] x2 + [0] p(c_3) = [1] x1 + [1] x2 + [0] p(c_4) = [0] p(c_5) = [0] Following rules are strictly oriented: D#(+(x,y)) = [1] x + [1] y + [9] > [1] x + [1] y + [0] = c_2(D#(x),D#(y)) Following rules are (at-least) weakly oriented: D#(*(x,y)) = [1] x + [1] y + [0] >= [1] x + [1] y + [0] = c_1(D#(x),D#(y)) D#(-(x,y)) = [1] x + [1] y + [0] >= [1] x + [1] y + [0] = c_3(D#(x),D#(y)) Further, it can be verified that all rules not oriented are covered by the weightgap condition. ** Step 1.b:7: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) - Weak DPs: D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: NaturalMI {miDimension = 1, miDegree = 1, miKind = Algebraic, uargs = UArgs, urules = URules, selector = Just any strict-rules} + Details: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(c_1) = {1,2}, uargs(c_2) = {1,2}, uargs(c_3) = {1,2} Following symbols are considered usable: {D#} TcT has computed the following interpretation: p(*) = [1] x1 + [1] x2 + [2] p(+) = [1] x1 + [1] x2 + [4] p(-) = [1] x1 + [1] x2 + [4] p(0) = [1] p(1) = [4] p(D) = [1] x1 + [0] p(constant) = [1] p(t) = [0] p(D#) = [1] x1 + [0] p(c_1) = [1] x1 + [1] x2 + [0] p(c_2) = [1] x1 + [1] x2 + [4] p(c_3) = [1] x1 + [1] x2 + [4] p(c_4) = [1] p(c_5) = [1] Following rules are strictly oriented: D#(*(x,y)) = [1] x + [1] y + [2] > [1] x + [1] y + [0] = c_1(D#(x),D#(y)) Following rules are (at-least) weakly oriented: D#(+(x,y)) = [1] x + [1] y + [4] >= [1] x + [1] y + [4] = c_2(D#(x),D#(y)) D#(-(x,y)) = [1] x + [1] y + [4] >= [1] x + [1] y + [4] = c_3(D#(x),D#(y)) ** Step 1.b:8: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak DPs: D#(*(x,y)) -> c_1(D#(x),D#(y)) D#(+(x,y)) -> c_2(D#(x),D#(y)) D#(-(x,y)) -> c_3(D#(x),D#(y)) - Signature: {D/1,D#/1} / {*/2,+/2,-/2,0/0,1/0,constant/0,t/0,c_1/2,c_2/2,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {D#} and constructors {*,+,-,0,1,constant,t} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(Omega(n^1),O(n^1))