MAYBE We are left with following problem, upon which TcT provides the certificate MAYBE. Strict Trs: { cond1(true(), x, y, z) -> cond2(gr(x, 0()), x, y, z) , cond2(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), p(x), y, z) , cond2(false(), x, y, z) -> cond3(gr(y, 0()), x, y, z) , gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x , cond3(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, p(y), z) , cond3(false(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, y, z) } Obligation: innermost runtime complexity Answer: MAYBE We add following dependency tuples: Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , gr^#(0(), x) -> c_4() , gr^#(s(x), 0()) -> c_5() , gr^#(s(x), s(y)) -> c_6(gr^#(x, y)) , or^#(x, true()) -> c_7() , or^#(true(), x) -> c_8() , or^#(false(), false()) -> c_9() , p^#(0()) -> c_10() , p^#(s(x)) -> c_11() , cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } and mark the set of starting terms. We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , gr^#(0(), x) -> c_4() , gr^#(s(x), 0()) -> c_5() , gr^#(s(x), s(y)) -> c_6(gr^#(x, y)) , or^#(x, true()) -> c_7() , or^#(true(), x) -> c_8() , or^#(false(), false()) -> c_9() , p^#(0()) -> c_10() , p^#(s(x)) -> c_11() , cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } Weak Trs: { cond1(true(), x, y, z) -> cond2(gr(x, 0()), x, y, z) , cond2(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), p(x), y, z) , cond2(false(), x, y, z) -> cond3(gr(y, 0()), x, y, z) , gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x , cond3(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, p(y), z) , cond3(false(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, y, z) } Obligation: innermost runtime complexity Answer: MAYBE We estimate the number of application of {4,5,7,8,9,10,11} by applications of Pre({4,5,7,8,9,10,11}) = {1,2,3,6,12,13}. Here rules are labeled as follows: DPs: { 1: cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , 2: cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , 3: cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , 4: gr^#(0(), x) -> c_4() , 5: gr^#(s(x), 0()) -> c_5() , 6: gr^#(s(x), s(y)) -> c_6(gr^#(x, y)) , 7: or^#(x, true()) -> c_7() , 8: or^#(true(), x) -> c_8() , 9: or^#(false(), false()) -> c_9() , 10: p^#(0()) -> c_10() , 11: p^#(s(x)) -> c_11() , 12: cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , 13: cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , gr^#(s(x), s(y)) -> c_6(gr^#(x, y)) , cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } Weak DPs: { gr^#(0(), x) -> c_4() , gr^#(s(x), 0()) -> c_5() , or^#(x, true()) -> c_7() , or^#(true(), x) -> c_8() , or^#(false(), false()) -> c_9() , p^#(0()) -> c_10() , p^#(s(x)) -> c_11() } Weak Trs: { cond1(true(), x, y, z) -> cond2(gr(x, 0()), x, y, z) , cond2(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), p(x), y, z) , cond2(false(), x, y, z) -> cond3(gr(y, 0()), x, y, z) , gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x , cond3(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, p(y), z) , cond3(false(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, y, z) } Obligation: innermost runtime complexity Answer: MAYBE The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. { gr^#(0(), x) -> c_4() , gr^#(s(x), 0()) -> c_5() , or^#(x, true()) -> c_7() , or^#(true(), x) -> c_8() , or^#(false(), false()) -> c_9() , p^#(0()) -> c_10() , p^#(s(x)) -> c_11() } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , gr^#(s(x), s(y)) -> c_6(gr^#(x, y)) , cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } Weak Trs: { cond1(true(), x, y, z) -> cond2(gr(x, 0()), x, y, z) , cond2(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), p(x), y, z) , cond2(false(), x, y, z) -> cond3(gr(y, 0()), x, y, z) , gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x , cond3(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, p(y), z) , cond3(false(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, y, z) } Obligation: innermost runtime complexity Answer: MAYBE Due to missing edges in the dependency-graph, the right-hand sides of following rules could be simplified: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z), gr^#(x, 0())) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(x)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z), gr^#(y, 0())) , cond3^#(true(), x, y, z) -> c_12(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z), p^#(y)) , cond3^#(false(), x, y, z) -> c_13(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), or^#(gr(x, z), gr(y, z)), gr^#(x, z), gr^#(y, z)) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z)) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), gr^#(x, z), gr^#(y, z)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z)) , gr^#(s(x), s(y)) -> c_4(gr^#(x, y)) , cond3^#(true(), x, y, z) -> c_5(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), gr^#(x, z), gr^#(y, z)) , cond3^#(false(), x, y, z) -> c_6(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), gr^#(x, z), gr^#(y, z)) } Weak Trs: { cond1(true(), x, y, z) -> cond2(gr(x, 0()), x, y, z) , cond2(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), p(x), y, z) , cond2(false(), x, y, z) -> cond3(gr(y, 0()), x, y, z) , gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x , cond3(true(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, p(y), z) , cond3(false(), x, y, z) -> cond1(or(gr(x, z), gr(y, z)), x, y, z) } Obligation: innermost runtime complexity Answer: MAYBE We replace rewrite rules by usable rules: Weak Usable Rules: { gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { cond1^#(true(), x, y, z) -> c_1(cond2^#(gr(x, 0()), x, y, z)) , cond2^#(true(), x, y, z) -> c_2(cond1^#(or(gr(x, z), gr(y, z)), p(x), y, z), gr^#(x, z), gr^#(y, z)) , cond2^#(false(), x, y, z) -> c_3(cond3^#(gr(y, 0()), x, y, z)) , gr^#(s(x), s(y)) -> c_4(gr^#(x, y)) , cond3^#(true(), x, y, z) -> c_5(cond1^#(or(gr(x, z), gr(y, z)), x, p(y), z), gr^#(x, z), gr^#(y, z)) , cond3^#(false(), x, y, z) -> c_6(cond1^#(or(gr(x, z), gr(y, z)), x, y, z), gr^#(x, z), gr^#(y, z)) } Weak Trs: { gr(0(), x) -> false() , gr(s(x), 0()) -> true() , gr(s(x), s(y)) -> gr(x, y) , or(x, true()) -> true() , or(true(), x) -> true() , or(false(), false()) -> false() , p(0()) -> 0() , p(s(x)) -> x } Obligation: innermost runtime complexity Answer: MAYBE None of the processors succeeded. Details of failed attempt(s): ----------------------------- 1) 'matrices' failed due to the following reason: None of the processors succeeded. Details of failed attempt(s): ----------------------------- 1) 'matrix interpretation of dimension 4' failed due to the following reason: Following exception was raised: stack overflow 2) 'matrix interpretation of dimension 3' failed due to the following reason: The input cannot be shown compatible 3) 'matrix interpretation of dimension 3' failed due to the following reason: The input cannot be shown compatible 4) 'matrix interpretation of dimension 2' failed due to the following reason: The input cannot be shown compatible 5) 'matrix interpretation of dimension 2' failed due to the following reason: The input cannot be shown compatible 6) 'matrix interpretation of dimension 1' failed due to the following reason: The input cannot be shown compatible 2) 'empty' failed due to the following reason: Empty strict component of the problem is NOT empty. Arrrr..