WORST_CASE(?,O(n^1)) * Step 1: Ara WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: addlist(Cons(x,xs'),Cons(S(0()),xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Cons(S(0()),xs'),Cons(x,xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Nil(),ys) -> Nil() goal(xs,ys) -> addlist(xs,ys) notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {addlist/2,goal/2,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {addlist,goal,notEmpty} and constructors {0,Cons,False,Nil ,S,True} + Applied Processor: Ara {heuristics_ = NoHeuristics, minDegree = 1, maxDegree = 3, araTimeout = 60, araFindStrictRules = Nothing, araSmtSolver = MiniSMT} + Details: Signatures used: ---------------- 0 :: [] -(0)-> A(0) Cons :: [A(2) x A(2)] -(0)-> A(2) Cons :: [A(6) x A(6)] -(0)-> A(6) Cons :: [A(0) x A(0)] -(0)-> A(0) False :: [] -(0)-> A(0) Nil :: [] -(0)-> A(2) Nil :: [] -(0)-> A(0) Nil :: [] -(0)-> A(1) S :: [A(0)] -(6)-> A(6) S :: [A(0)] -(2)-> A(2) S :: [A(0)] -(0)-> A(0) True :: [] -(0)-> A(0) addlist :: [A(2) x A(6)] -(4)-> A(0) goal :: [A(2) x A(7)] -(5)-> A(0) notEmpty :: [A(0)] -(4)-> A(0) Cost-free Signatures used: -------------------------- 0 :: [] -(0)-> A_cf(0) Cons :: [A_cf(0) x A_cf(0)] -(0)-> A_cf(0) Nil :: [] -(0)-> A_cf(0) S :: [A_cf(0)] -(0)-> A_cf(0) addlist :: [A_cf(0) x A_cf(0)] -(0)-> A_cf(0) Base Constructor Signatures used: --------------------------------- 0_A :: [] -(1)-> A(1) Cons_A :: [A(1) x A(1)] -(0)-> A(1) False_A :: [] -(0)-> A(1) Nil_A :: [] -(0)-> A(1) S_A :: [A(0)] -(1)-> A(1) True_A :: [] -(0)-> A(1) * Step 2: Open MAYBE - Strict TRS: addlist(Cons(x,xs'),Cons(S(0()),xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Cons(S(0()),xs'),Cons(x,xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Nil(),ys) -> Nil() goal(xs,ys) -> addlist(xs,ys) notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {addlist/2,goal/2,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {addlist,goal,notEmpty} and constructors {0,Cons,False,Nil ,S,True} Following problems could not be solved: - Strict TRS: addlist(Cons(x,xs'),Cons(S(0()),xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Cons(S(0()),xs'),Cons(x,xs)) -> Cons(S(x),addlist(xs',xs)) addlist(Nil(),ys) -> Nil() goal(xs,ys) -> addlist(xs,ys) notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {addlist/2,goal/2,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {addlist,goal,notEmpty} and constructors {0,Cons,False,Nil ,S,True} WORST_CASE(?,O(n^1))