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