YES(O(1),O(n^1)) 0.00/0.27 YES(O(1),O(n^1)) 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(n^1)). 0.00/0.27 0.00/0.27 Strict Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(n^1)) 0.00/0.27 0.00/0.27 We add the following weak dependency pairs: 0.00/0.27 0.00/0.27 Strict DPs: 0.00/0.27 { f^#(0(), y) -> c_1() 0.00/0.27 , f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 0.00/0.27 and mark the set of starting terms. 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(n^1)). 0.00/0.27 0.00/0.27 Strict DPs: 0.00/0.27 { f^#(0(), y) -> c_1() 0.00/0.27 , f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 Strict Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(n^1)) 0.00/0.27 0.00/0.27 The weightgap principle applies (using the following constant 0.00/0.27 growth matrix-interpretation) 0.00/0.27 0.00/0.27 The following argument positions are usable: 0.00/0.27 Uargs(f) = {1}, Uargs(f^#) = {1}, Uargs(c_2) = {1} 0.00/0.27 0.00/0.27 TcT has computed the following constructor-restricted matrix 0.00/0.27 interpretation. 0.00/0.27 0.00/0.27 [f](x1, x2) = [1 1] x1 + [0] 0.00/0.27 [0 0] [1] 0.00/0.27 0.00/0.27 [0] = [0] 0.00/0.27 [1] 0.00/0.27 0.00/0.27 [s](x1) = [1 0] x1 + [2] 0.00/0.27 [0 1] [2] 0.00/0.27 0.00/0.27 [f^#](x1, x2) = [1 1] x1 + [2 2] x2 + [0] 0.00/0.27 [0 0] [2 2] [0] 0.00/0.27 0.00/0.27 [c_1] = [1] 0.00/0.27 [2] 0.00/0.27 0.00/0.27 [c_2](x1) = [1 0] x1 + [1] 0.00/0.27 [0 1] [2] 0.00/0.27 0.00/0.27 The order satisfies the following ordering constraints: 0.00/0.27 0.00/0.27 [f(0(), y)] = [1] 0.00/0.27 [1] 0.00/0.27 > [0] 0.00/0.27 [1] 0.00/0.27 = [0()] 0.00/0.27 0.00/0.27 [f(s(x), y)] = [1 1] x + [4] 0.00/0.27 [0 0] [1] 0.00/0.27 > [1 1] x + [1] 0.00/0.27 [0 0] [1] 0.00/0.27 = [f(f(x, y), y)] 0.00/0.27 0.00/0.27 [f^#(0(), y)] = [2 2] y + [1] 0.00/0.27 [2 2] [0] 0.00/0.27 ? [1] 0.00/0.27 [2] 0.00/0.27 = [c_1()] 0.00/0.27 0.00/0.27 [f^#(s(x), y)] = [2 2] y + [1 1] x + [4] 0.00/0.27 [2 2] [0 0] [0] 0.00/0.27 ? [2 2] y + [1 1] x + [2] 0.00/0.27 [2 2] [0 0] [2] 0.00/0.27 = [c_2(f^#(f(x, y), y))] 0.00/0.27 0.00/0.27 0.00/0.27 Further, it can be verified that all rules not oriented are covered by the weightgap condition. 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(1)). 0.00/0.27 0.00/0.27 Strict DPs: 0.00/0.27 { f^#(0(), y) -> c_1() 0.00/0.27 , f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 Weak Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(1)) 0.00/0.27 0.00/0.27 We estimate the number of application of {1} by applications of 0.00/0.27 Pre({1}) = {2}. Here rules are labeled as follows: 0.00/0.27 0.00/0.27 DPs: 0.00/0.27 { 1: f^#(0(), y) -> c_1() 0.00/0.27 , 2: f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(1)). 0.00/0.27 0.00/0.27 Strict DPs: { f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 Weak DPs: { f^#(0(), y) -> c_1() } 0.00/0.27 Weak Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(1)) 0.00/0.27 0.00/0.27 We estimate the number of application of {1} by applications of 0.00/0.27 Pre({1}) = {}. Here rules are labeled as follows: 0.00/0.27 0.00/0.27 DPs: 0.00/0.27 { 1: f^#(s(x), y) -> c_2(f^#(f(x, y), y)) 0.00/0.27 , 2: f^#(0(), y) -> c_1() } 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(1)). 0.00/0.27 0.00/0.27 Weak DPs: 0.00/0.27 { f^#(0(), y) -> c_1() 0.00/0.27 , f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 Weak Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(1)) 0.00/0.27 0.00/0.27 The following weak DPs constitute a sub-graph of the DG that is 0.00/0.27 closed under successors. The DPs are removed. 0.00/0.27 0.00/0.27 { f^#(0(), y) -> c_1() 0.00/0.27 , f^#(s(x), y) -> c_2(f^#(f(x, y), y)) } 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(1)). 0.00/0.27 0.00/0.27 Weak Trs: 0.00/0.27 { f(0(), y) -> 0() 0.00/0.27 , f(s(x), y) -> f(f(x, y), y) } 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(1)) 0.00/0.27 0.00/0.27 No rule is usable, rules are removed from the input problem. 0.00/0.27 0.00/0.27 We are left with following problem, upon which TcT provides the 0.00/0.27 certificate YES(O(1),O(1)). 0.00/0.27 0.00/0.27 Rules: Empty 0.00/0.27 Obligation: 0.00/0.27 innermost runtime complexity 0.00/0.27 Answer: 0.00/0.27 YES(O(1),O(1)) 0.00/0.27 0.00/0.27 Empty rules are trivially bounded 0.00/0.27 0.00/0.27 Hurray, we answered YES(O(1),O(n^1)) 0.00/0.28 EOF