YES(O(1),O(n^1)) 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict Trs: 0.00/0.67 { double(x) -> +(x, x) 0.00/0.67 , double(0()) -> 0() 0.00/0.67 , double(s(x)) -> s(s(double(x))) 0.00/0.67 , +(x, 0()) -> x 0.00/0.67 , +(x, s(y)) -> s(+(x, y)) 0.00/0.67 , +(s(x), y) -> s(+(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We add the following weak dependency pairs: 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(0()) -> c_2() 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 0.00/0.67 and mark the set of starting terms. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(0()) -> c_2() 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Strict Trs: 0.00/0.67 { double(x) -> +(x, x) 0.00/0.67 , double(0()) -> 0() 0.00/0.67 , double(s(x)) -> s(s(double(x))) 0.00/0.67 , +(x, 0()) -> x 0.00/0.67 , +(x, s(y)) -> s(+(x, y)) 0.00/0.67 , +(s(x), y) -> s(+(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 No rule is usable, rules are removed from the input problem. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(0()) -> c_2() 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 The weightgap principle applies (using the following constant 0.00/0.67 growth matrix-interpretation) 0.00/0.67 0.00/0.67 The following argument positions are usable: 0.00/0.67 Uargs(c_1) = {1}, Uargs(c_3) = {1}, Uargs(c_5) = {1}, 0.00/0.67 Uargs(c_6) = {1} 0.00/0.67 0.00/0.67 TcT has computed the following constructor-restricted matrix 0.00/0.67 interpretation. 0.00/0.67 0.00/0.67 [0] = [0] 0.00/0.67 [0] 0.00/0.67 0.00/0.67 [s](x1) = [1 0] x1 + [0] 0.00/0.67 [0 0] [0] 0.00/0.67 0.00/0.67 [double^#](x1) = [1] 0.00/0.67 [2] 0.00/0.67 0.00/0.67 [c_1](x1) = [1 0] x1 + [2] 0.00/0.67 [0 1] [1] 0.00/0.67 0.00/0.67 [+^#](x1, x2) = [0] 0.00/0.67 [1] 0.00/0.67 0.00/0.67 [c_2] = [0] 0.00/0.67 [1] 0.00/0.67 0.00/0.67 [c_3](x1) = [1 0] x1 + [1] 0.00/0.67 [0 1] [0] 0.00/0.67 0.00/0.67 [c_4](x1) = [1] 0.00/0.67 [1] 0.00/0.67 0.00/0.67 [c_5](x1) = [1 0] x1 + [2] 0.00/0.67 [0 1] [1] 0.00/0.67 0.00/0.67 [c_6](x1) = [1 0] x1 + [2] 0.00/0.67 [0 1] [1] 0.00/0.67 0.00/0.67 The order satisfies the following ordering constraints: 0.00/0.67 0.00/0.67 [double^#(x)] = [1] 0.00/0.67 [2] 0.00/0.67 ? [2] 0.00/0.67 [2] 0.00/0.67 = [c_1(+^#(x, x))] 0.00/0.67 0.00/0.67 [double^#(0())] = [1] 0.00/0.67 [2] 0.00/0.67 > [0] 0.00/0.67 [1] 0.00/0.67 = [c_2()] 0.00/0.67 0.00/0.67 [double^#(s(x))] = [1] 0.00/0.67 [2] 0.00/0.67 ? [2] 0.00/0.67 [2] 0.00/0.67 = [c_3(double^#(x))] 0.00/0.67 0.00/0.67 [+^#(x, 0())] = [0] 0.00/0.67 [1] 0.00/0.67 ? [1] 0.00/0.67 [1] 0.00/0.67 = [c_4(x)] 0.00/0.67 0.00/0.67 [+^#(x, s(y))] = [0] 0.00/0.67 [1] 0.00/0.67 ? [2] 0.00/0.67 [2] 0.00/0.67 = [c_5(+^#(x, y))] 0.00/0.67 0.00/0.67 [+^#(s(x), y)] = [0] 0.00/0.67 [1] 0.00/0.67 ? [2] 0.00/0.67 [2] 0.00/0.67 = [c_6(+^#(x, y))] 0.00/0.67 0.00/0.67 0.00/0.67 Further, it can be verified that all rules not oriented are covered by the weightgap condition. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Weak DPs: { double^#(0()) -> c_2() } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 The following weak DPs constitute a sub-graph of the DG that is 0.00/0.67 closed under successors. The DPs are removed. 0.00/0.67 0.00/0.67 { double^#(0()) -> c_2() } 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We use the processor 'matrix interpretation of dimension 1' to 0.00/0.67 orient following rules strictly. 0.00/0.67 0.00/0.67 DPs: 0.00/0.67 { 1: double^#(x) -> c_1(+^#(x, x)) } 0.00/0.67 0.00/0.67 Sub-proof: 0.00/0.67 ---------- 0.00/0.67 The following argument positions are usable: 0.00/0.67 Uargs(c_1) = {1}, Uargs(c_3) = {1}, Uargs(c_5) = {1}, 0.00/0.67 Uargs(c_6) = {1} 0.00/0.67 0.00/0.67 TcT has computed the following constructor-based matrix 0.00/0.67 interpretation satisfying not(EDA). 0.00/0.67 0.00/0.67 [0] = [7] 0.00/0.67 0.00/0.67 [s](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [double^#](x1) = [1] 0.00/0.67 0.00/0.67 [c_1](x1) = [2] x1 + [0] 0.00/0.67 0.00/0.67 [+^#](x1, x2) = [0] 0.00/0.67 0.00/0.67 [c_3](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_4](x1) = [0] 0.00/0.67 0.00/0.67 [c_5](x1) = [2] x1 + [0] 0.00/0.67 0.00/0.67 [c_6](x1) = [4] x1 + [0] 0.00/0.67 0.00/0.67 The order satisfies the following ordering constraints: 0.00/0.67 0.00/0.67 [double^#(x)] = [1] 0.00/0.67 > [0] 0.00/0.67 = [c_1(+^#(x, x))] 0.00/0.67 0.00/0.67 [double^#(s(x))] = [1] 0.00/0.67 >= [1] 0.00/0.67 = [c_3(double^#(x))] 0.00/0.67 0.00/0.67 [+^#(x, 0())] = [0] 0.00/0.67 >= [0] 0.00/0.67 = [c_4(x)] 0.00/0.67 0.00/0.67 [+^#(x, s(y))] = [0] 0.00/0.67 >= [0] 0.00/0.67 = [c_5(+^#(x, y))] 0.00/0.67 0.00/0.67 [+^#(s(x), y)] = [0] 0.00/0.67 >= [0] 0.00/0.67 = [c_6(+^#(x, y))] 0.00/0.67 0.00/0.67 0.00/0.67 The strictly oriented rules are moved into the weak component. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Weak DPs: { double^#(x) -> c_1(+^#(x, x)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We use the processor 'matrix interpretation of dimension 1' to 0.00/0.67 orient following rules strictly. 0.00/0.67 0.00/0.67 DPs: 0.00/0.67 { 2: +^#(x, 0()) -> c_4(x) } 0.00/0.67 0.00/0.67 Sub-proof: 0.00/0.67 ---------- 0.00/0.67 The following argument positions are usable: 0.00/0.67 Uargs(c_1) = {1}, Uargs(c_3) = {1}, Uargs(c_5) = {1}, 0.00/0.67 Uargs(c_6) = {1} 0.00/0.67 0.00/0.67 TcT has computed the following constructor-based matrix 0.00/0.67 interpretation satisfying not(EDA). 0.00/0.67 0.00/0.67 [0] = [4] 0.00/0.67 0.00/0.67 [s](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [double^#](x1) = [4] x1 + [0] 0.00/0.67 0.00/0.67 [c_1](x1) = [2] x1 + [0] 0.00/0.67 0.00/0.67 [+^#](x1, x2) = [2] x2 + [0] 0.00/0.67 0.00/0.67 [c_3](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_4](x1) = [6] 0.00/0.67 0.00/0.67 [c_5](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_6](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 The order satisfies the following ordering constraints: 0.00/0.67 0.00/0.67 [double^#(x)] = [4] x + [0] 0.00/0.67 >= [4] x + [0] 0.00/0.67 = [c_1(+^#(x, x))] 0.00/0.67 0.00/0.67 [double^#(s(x))] = [4] x + [0] 0.00/0.67 >= [4] x + [0] 0.00/0.67 = [c_3(double^#(x))] 0.00/0.67 0.00/0.67 [+^#(x, 0())] = [8] 0.00/0.67 > [6] 0.00/0.67 = [c_4(x)] 0.00/0.67 0.00/0.67 [+^#(x, s(y))] = [2] y + [0] 0.00/0.67 >= [2] y + [0] 0.00/0.67 = [c_5(+^#(x, y))] 0.00/0.67 0.00/0.67 [+^#(s(x), y)] = [2] y + [0] 0.00/0.67 >= [2] y + [0] 0.00/0.67 = [c_6(+^#(x, y))] 0.00/0.67 0.00/0.67 0.00/0.67 The strictly oriented rules are moved into the weak component. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: 0.00/0.67 { double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Weak DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We use the processor 'matrix interpretation of dimension 1' to 0.00/0.67 orient following rules strictly. 0.00/0.67 0.00/0.67 DPs: 0.00/0.67 { 1: double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , 2: +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , 5: +^#(x, 0()) -> c_4(x) } 0.00/0.67 0.00/0.67 Sub-proof: 0.00/0.67 ---------- 0.00/0.67 The following argument positions are usable: 0.00/0.67 Uargs(c_1) = {1}, Uargs(c_3) = {1}, Uargs(c_5) = {1}, 0.00/0.67 Uargs(c_6) = {1} 0.00/0.67 0.00/0.67 TcT has computed the following constructor-based matrix 0.00/0.67 interpretation satisfying not(EDA). 0.00/0.67 0.00/0.67 [0] = [1] 0.00/0.67 0.00/0.67 [s](x1) = [1] x1 + [4] 0.00/0.67 0.00/0.67 [double^#](x1) = [1] x1 + [4] 0.00/0.67 0.00/0.67 [c_1](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [+^#](x1, x2) = [1] x2 + [4] 0.00/0.67 0.00/0.67 [c_3](x1) = [1] x1 + [1] 0.00/0.67 0.00/0.67 [c_4](x1) = [4] 0.00/0.67 0.00/0.67 [c_5](x1) = [1] x1 + [3] 0.00/0.67 0.00/0.67 [c_6](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 The order satisfies the following ordering constraints: 0.00/0.67 0.00/0.67 [double^#(x)] = [1] x + [4] 0.00/0.67 >= [1] x + [4] 0.00/0.67 = [c_1(+^#(x, x))] 0.00/0.67 0.00/0.67 [double^#(s(x))] = [1] x + [8] 0.00/0.67 > [1] x + [5] 0.00/0.67 = [c_3(double^#(x))] 0.00/0.67 0.00/0.67 [+^#(x, 0())] = [5] 0.00/0.67 > [4] 0.00/0.67 = [c_4(x)] 0.00/0.67 0.00/0.67 [+^#(x, s(y))] = [1] y + [8] 0.00/0.67 > [1] y + [7] 0.00/0.67 = [c_5(+^#(x, y))] 0.00/0.67 0.00/0.67 [+^#(s(x), y)] = [1] y + [4] 0.00/0.67 >= [1] y + [4] 0.00/0.67 = [c_6(+^#(x, y))] 0.00/0.67 0.00/0.67 0.00/0.67 We return to the main proof. Consider the set of all dependency 0.00/0.67 pairs 0.00/0.67 0.00/0.67 : 0.00/0.67 { 1: double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , 2: +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , 3: +^#(s(x), y) -> c_6(+^#(x, y)) 0.00/0.67 , 4: double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , 5: +^#(x, 0()) -> c_4(x) } 0.00/0.67 0.00/0.67 Processor 'matrix interpretation of dimension 1' induces the 0.00/0.67 complexity certificate YES(?,O(n^1)) on application of dependency 0.00/0.67 pairs {1,2,5}. These cover all (indirect) predecessors of 0.00/0.67 dependency pairs {1,2,4,5}, their number of application is equally 0.00/0.67 bounded. The dependency pairs are shifted into the weak component. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(n^1)). 0.00/0.67 0.00/0.67 Strict DPs: { +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Weak DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(n^1)) 0.00/0.67 0.00/0.67 We use the processor 'matrix interpretation of dimension 1' to 0.00/0.67 orient following rules strictly. 0.00/0.67 0.00/0.67 DPs: 0.00/0.67 { 1: +^#(s(x), y) -> c_6(+^#(x, y)) 0.00/0.67 , 3: double^#(s(x)) -> c_3(double^#(x)) } 0.00/0.67 0.00/0.67 Sub-proof: 0.00/0.67 ---------- 0.00/0.67 The following argument positions are usable: 0.00/0.67 Uargs(c_1) = {1}, Uargs(c_3) = {1}, Uargs(c_5) = {1}, 0.00/0.67 Uargs(c_6) = {1} 0.00/0.67 0.00/0.67 TcT has computed the following constructor-based matrix 0.00/0.67 interpretation satisfying not(EDA). 0.00/0.67 0.00/0.67 [0] = [7] 0.00/0.67 0.00/0.67 [s](x1) = [1] x1 + [4] 0.00/0.67 0.00/0.67 [double^#](x1) = [2] x1 + [0] 0.00/0.67 0.00/0.67 [c_1](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [+^#](x1, x2) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_3](x1) = [1] x1 + [5] 0.00/0.67 0.00/0.67 [c_4](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_5](x1) = [1] x1 + [0] 0.00/0.67 0.00/0.67 [c_6](x1) = [1] x1 + [1] 0.00/0.67 0.00/0.67 The order satisfies the following ordering constraints: 0.00/0.67 0.00/0.67 [double^#(x)] = [2] x + [0] 0.00/0.67 >= [1] x + [0] 0.00/0.67 = [c_1(+^#(x, x))] 0.00/0.67 0.00/0.67 [double^#(s(x))] = [2] x + [8] 0.00/0.67 > [2] x + [5] 0.00/0.67 = [c_3(double^#(x))] 0.00/0.67 0.00/0.67 [+^#(x, 0())] = [1] x + [0] 0.00/0.67 >= [1] x + [0] 0.00/0.67 = [c_4(x)] 0.00/0.67 0.00/0.67 [+^#(x, s(y))] = [1] x + [0] 0.00/0.67 >= [1] x + [0] 0.00/0.67 = [c_5(+^#(x, y))] 0.00/0.67 0.00/0.67 [+^#(s(x), y)] = [1] x + [4] 0.00/0.67 > [1] x + [1] 0.00/0.67 = [c_6(+^#(x, y))] 0.00/0.67 0.00/0.67 0.00/0.67 The strictly oriented rules are moved into the weak component. 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(1)). 0.00/0.67 0.00/0.67 Weak DPs: 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(1)) 0.00/0.67 0.00/0.67 The following weak DPs constitute a sub-graph of the DG that is 0.00/0.67 closed under successors. The DPs are removed. 0.00/0.67 0.00/0.67 { double^#(x) -> c_1(+^#(x, x)) 0.00/0.67 , double^#(s(x)) -> c_3(double^#(x)) 0.00/0.67 , +^#(x, 0()) -> c_4(x) 0.00/0.67 , +^#(x, s(y)) -> c_5(+^#(x, y)) 0.00/0.67 , +^#(s(x), y) -> c_6(+^#(x, y)) } 0.00/0.67 0.00/0.67 We are left with following problem, upon which TcT provides the 0.00/0.67 certificate YES(O(1),O(1)). 0.00/0.67 0.00/0.67 Rules: Empty 0.00/0.67 Obligation: 0.00/0.67 runtime complexity 0.00/0.67 Answer: 0.00/0.67 YES(O(1),O(1)) 0.00/0.67 0.00/0.67 Empty rules are trivially bounded 0.00/0.67 0.00/0.67 Hurray, we answered YES(O(1),O(n^1)) 0.00/0.68 EOF