MAYBE We are left with following problem, upon which TcT provides the certificate MAYBE. Strict Trs: { minus(x, x) -> 0() , minus(x, y) -> cond(min(x, y), x, y) , cond(y, x, y) -> s(minus(x, s(y))) , min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } Obligation: innermost runtime complexity Answer: MAYBE We add following dependency tuples: Strict DPs: { minus^#(x, x) -> c_1() , minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , min^#(u, 0()) -> c_4() , min^#(0(), v) -> c_5() , min^#(s(u), s(v)) -> c_6(min^#(u, v)) } and mark the set of starting terms. We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(x, x) -> c_1() , minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , min^#(u, 0()) -> c_4() , min^#(0(), v) -> c_5() , min^#(s(u), s(v)) -> c_6(min^#(u, v)) } Weak Trs: { minus(x, x) -> 0() , minus(x, y) -> cond(min(x, y), x, y) , cond(y, x, y) -> s(minus(x, s(y))) , min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } Obligation: innermost runtime complexity Answer: MAYBE We estimate the number of application of {1,4,5} by applications of Pre({1,4,5}) = {2,3,6}. Here rules are labeled as follows: DPs: { 1: minus^#(x, x) -> c_1() , 2: minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , 3: cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , 4: min^#(u, 0()) -> c_4() , 5: min^#(0(), v) -> c_5() , 6: min^#(s(u), s(v)) -> c_6(min^#(u, v)) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , min^#(s(u), s(v)) -> c_6(min^#(u, v)) } Weak DPs: { minus^#(x, x) -> c_1() , min^#(u, 0()) -> c_4() , min^#(0(), v) -> c_5() } Weak Trs: { minus(x, x) -> 0() , minus(x, y) -> cond(min(x, y), x, y) , cond(y, x, y) -> s(minus(x, s(y))) , min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } 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. { minus^#(x, x) -> c_1() , min^#(u, 0()) -> c_4() , min^#(0(), v) -> c_5() } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , min^#(s(u), s(v)) -> c_6(min^#(u, v)) } Weak Trs: { minus(x, x) -> 0() , minus(x, y) -> cond(min(x, y), x, y) , cond(y, x, y) -> s(minus(x, s(y))) , min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } Obligation: innermost runtime complexity Answer: MAYBE We replace rewrite rules by usable rules: Weak Usable Rules: { min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(x, y) -> c_2(cond^#(min(x, y), x, y), min^#(x, y)) , cond^#(y, x, y) -> c_3(minus^#(x, s(y))) , min^#(s(u), s(v)) -> c_6(min^#(u, v)) } Weak Trs: { min(u, 0()) -> 0() , min(0(), v) -> 0() , min(s(u), s(v)) -> s(min(u, v)) } Obligation: innermost runtime complexity Answer: MAYBE The input cannot be shown compatible Arrrr..