YES(?,O(n^1)) We are left with following problem, upon which TcT provides the certificate YES(?,O(n^1)). Strict Trs: { f(0()) -> cons(0()) , f(s(0())) -> f(p(s(0()))) , p(s(X)) -> X } Obligation: runtime complexity Answer: YES(?,O(n^1)) The input is overlay and right-linear. Switching to innermost rewriting. We are left with following problem, upon which TcT provides the certificate YES(?,O(n^1)). Strict Trs: { f(0()) -> cons(0()) , f(s(0())) -> f(p(s(0()))) , p(s(X)) -> X } Obligation: innermost runtime complexity Answer: YES(?,O(n^1)) The problem is match-bounded by 2. The enriched problem is compatible with the following automaton. { f_0(2) -> 1 , f_1(4) -> 1 , 0_0() -> 1 , 0_0() -> 2 , 0_1() -> 3 , 0_1() -> 4 , 0_2() -> 6 , cons_0(2) -> 1 , cons_0(2) -> 2 , cons_1(3) -> 1 , cons_2(6) -> 1 , s_0(2) -> 1 , s_0(2) -> 2 , s_1(3) -> 5 , p_0(2) -> 1 , p_1(5) -> 4 , 2 -> 1 , 3 -> 4 } Hurray, we answered YES(?,O(n^1))