MAYBE We are left with following problem, upon which TcT provides the certificate MAYBE. Strict Trs: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) , gcd(x, 0()) -> x , gcd(0(), s(y)) -> s(y) , gcd(s(x), s(y)) -> gcd(mod(s(x), s(y)), mod(s(y), s(x))) } Obligation: innermost runtime complexity Answer: MAYBE We add following dependency tuples: Strict DPs: { minus^#(0(), x) -> c_1() , minus^#(s(x), 0()) -> c_2() , minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , mod^#(x, 0()) -> c_4() , mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , if^#(true(), x, y) -> c_6() , if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , lt^#(x, 0()) -> c_8() , lt^#(0(), s(x)) -> c_9() , lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , gcd^#(x, 0()) -> c_11() , gcd^#(0(), s(y)) -> c_12() , gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } and mark the set of starting terms. We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(0(), x) -> c_1() , minus^#(s(x), 0()) -> c_2() , minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , mod^#(x, 0()) -> c_4() , mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , if^#(true(), x, y) -> c_6() , if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , lt^#(x, 0()) -> c_8() , lt^#(0(), s(x)) -> c_9() , lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , gcd^#(x, 0()) -> c_11() , gcd^#(0(), s(y)) -> c_12() , gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } Weak Trs: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) , gcd(x, 0()) -> x , gcd(0(), s(y)) -> s(y) , gcd(s(x), s(y)) -> gcd(mod(s(x), s(y)), mod(s(y), s(x))) } Obligation: innermost runtime complexity Answer: MAYBE We estimate the number of application of {1,2,4,6,8,9,11,12} by applications of Pre({1,2,4,6,8,9,11,12}) = {3,5,7,10,13}. Here rules are labeled as follows: DPs: { 1: minus^#(0(), x) -> c_1() , 2: minus^#(s(x), 0()) -> c_2() , 3: minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , 4: mod^#(x, 0()) -> c_4() , 5: mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , 6: if^#(true(), x, y) -> c_6() , 7: if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , 8: lt^#(x, 0()) -> c_8() , 9: lt^#(0(), s(x)) -> c_9() , 10: lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , 11: gcd^#(x, 0()) -> c_11() , 12: gcd^#(0(), s(y)) -> c_12() , 13: gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } Weak DPs: { minus^#(0(), x) -> c_1() , minus^#(s(x), 0()) -> c_2() , mod^#(x, 0()) -> c_4() , if^#(true(), x, y) -> c_6() , lt^#(x, 0()) -> c_8() , lt^#(0(), s(x)) -> c_9() , gcd^#(x, 0()) -> c_11() , gcd^#(0(), s(y)) -> c_12() } Weak Trs: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) , gcd(x, 0()) -> x , gcd(0(), s(y)) -> s(y) , gcd(s(x), s(y)) -> gcd(mod(s(x), s(y)), mod(s(y), s(x))) } 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^#(0(), x) -> c_1() , minus^#(s(x), 0()) -> c_2() , mod^#(x, 0()) -> c_4() , if^#(true(), x, y) -> c_6() , lt^#(x, 0()) -> c_8() , lt^#(0(), s(x)) -> c_9() , gcd^#(x, 0()) -> c_11() , gcd^#(0(), s(y)) -> c_12() } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } Weak Trs: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) , gcd(x, 0()) -> x , gcd(0(), s(y)) -> s(y) , gcd(s(x), s(y)) -> gcd(mod(s(x), s(y)), mod(s(y), s(x))) } Obligation: innermost runtime complexity Answer: MAYBE We replace rewrite rules by usable rules: Weak Usable Rules: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) } We are left with following problem, upon which TcT provides the certificate MAYBE. Strict DPs: { minus^#(s(x), s(y)) -> c_3(minus^#(x, y)) , mod^#(x, s(y)) -> c_5(if^#(lt(x, s(y)), x, s(y)), lt^#(x, s(y))) , if^#(false(), x, y) -> c_7(mod^#(minus(x, y), y), minus^#(x, y)) , lt^#(s(x), s(y)) -> c_10(lt^#(x, y)) , gcd^#(s(x), s(y)) -> c_13(gcd^#(mod(s(x), s(y)), mod(s(y), s(x))), mod^#(s(x), s(y)), mod^#(s(y), s(x))) } Weak Trs: { minus(0(), x) -> 0() , minus(s(x), 0()) -> s(x) , minus(s(x), s(y)) -> minus(x, y) , mod(x, 0()) -> 0() , mod(x, s(y)) -> if(lt(x, s(y)), x, s(y)) , if(true(), x, y) -> x , if(false(), x, y) -> mod(minus(x, y), y) , lt(x, 0()) -> false() , lt(0(), s(x)) -> true() , lt(s(x), s(y)) -> lt(x, y) } 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..