WORST_CASE(?,O(n^2)) * Step 1: Ara WORST_CASE(?,O(n^2)) + Considered Problem: - Strict TRS: a__f(X) -> f(X) a__f(0()) -> cons(0(),f(s(0()))) a__f(s(0())) -> a__f(a__p(s(0()))) a__p(X) -> p(X) a__p(s(0())) -> 0() mark(0()) -> 0() mark(cons(X1,X2)) -> cons(mark(X1),X2) mark(f(X)) -> a__f(mark(X)) mark(p(X)) -> a__p(mark(X)) mark(s(X)) -> s(mark(X)) - Signature: {a__f/1,a__p/1,mark/1} / {0/0,cons/2,f/1,p/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {a__f,a__p,mark} and constructors {0,cons,f,p,s} + Applied Processor: Ara {heuristics_ = NoHeuristics, minDegree = 1, maxDegree = 3, araTimeout = 60, araFindStrictRules = Nothing, araSmtSolver = MiniSMT} + Details: Signatures used: ---------------- 0 :: [] -(0)-> A(3, 0) 0 :: [] -(0)-> A(0, 0) 0 :: [] -(0)-> A(0, 4) 0 :: [] -(0)-> A(4, 0) 0 :: [] -(0)-> A(2, 0) 0 :: [] -(0)-> A(0, 6) 0 :: [] -(0)-> A(5, 0) 0 :: [] -(0)-> A(5, 4) a__f :: [A(3, 0)] -(3)-> A(3, 0) a__p :: [A(0, 0)] -(1)-> A(5, 0) cons :: [A(0, 4) x A(0, 4)] -(4)-> A(0, 4) cons :: [A(0, 0) x A(0, 0)] -(0)-> A(3, 0) cons :: [A(0, 0) x A(0, 0)] -(0)-> A(6, 0) f :: [A(0, 4)] -(4)-> A(0, 4) f :: [A(3, 0)] -(0)-> A(3, 0) f :: [A(0, 0)] -(0)-> A(0, 0) mark :: [A(0, 4)] -(1)-> A(3, 0) p :: [A(0, 4)] -(4)-> A(0, 4) p :: [A(0, 0)] -(0)-> A(6, 0) s :: [A(3, 0)] -(3)-> A(3, 0) s :: [A(0, 0)] -(0)-> A(0, 0) s :: [A(0, 4)] -(4)-> A(0, 4) Cost-free Signatures used: -------------------------- 0 :: [] -(0)-> A_cf(2, 0) 0 :: [] -(0)-> A_cf(4, 1) 0 :: [] -(0)-> A_cf(0, 1) 0 :: [] -(0)-> A_cf(0, 0) 0 :: [] -(0)-> A_cf(1, 1) a__f :: [A_cf(2, 0)] -(1)-> A_cf(0, 0) a__f :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) a__p :: [A_cf(0, 0)] -(0)-> A_cf(2, 0) a__p :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) cons :: [A_cf(0, 0) x A_cf(0, 0)] -(0)-> A_cf(0, 0) f :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) mark :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) p :: [A_cf(0, 0)] -(0)-> A_cf(4, 0) p :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) s :: [A_cf(2, 0)] -(2)-> A_cf(2, 0) s :: [A_cf(0, 0)] -(0)-> A_cf(0, 0) Base Constructor Signatures used: --------------------------------- 0_A :: [] -(0)-> A(1, 0) 0_A :: [] -(0)-> A(0, 1) cons_A :: [A(0, 0) x A(0, 0)] -(0)-> A(1, 0) cons_A :: [A(0, 1) x A(0, 1)] -(1)-> A(0, 1) f_A :: [A(1, 0)] -(0)-> A(1, 0) f_A :: [A(0, 1)] -(1)-> A(0, 1) p_A :: [A(0, 0)] -(0)-> A(1, 0) p_A :: [A(0, 1)] -(1)-> A(0, 1) s_A :: [A(1, 0)] -(1)-> A(1, 0) s_A :: [A(0, 1)] -(1)-> A(0, 1) * Step 2: Open MAYBE - Strict TRS: a__f(X) -> f(X) a__f(0()) -> cons(0(),f(s(0()))) a__f(s(0())) -> a__f(a__p(s(0()))) a__p(X) -> p(X) a__p(s(0())) -> 0() mark(0()) -> 0() mark(cons(X1,X2)) -> cons(mark(X1),X2) mark(f(X)) -> a__f(mark(X)) mark(p(X)) -> a__p(mark(X)) mark(s(X)) -> s(mark(X)) - Signature: {a__f/1,a__p/1,mark/1} / {0/0,cons/2,f/1,p/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {a__f,a__p,mark} and constructors {0,cons,f,p,s} Following problems could not be solved: - Strict TRS: a__f(X) -> f(X) a__f(0()) -> cons(0(),f(s(0()))) a__f(s(0())) -> a__f(a__p(s(0()))) a__p(X) -> p(X) a__p(s(0())) -> 0() mark(0()) -> 0() mark(cons(X1,X2)) -> cons(mark(X1),X2) mark(f(X)) -> a__f(mark(X)) mark(p(X)) -> a__p(mark(X)) mark(s(X)) -> s(mark(X)) - Signature: {a__f/1,a__p/1,mark/1} / {0/0,cons/2,f/1,p/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {a__f,a__p,mark} and constructors {0,cons,f,p,s} WORST_CASE(?,O(n^2))