WORST_CASE(?,O(1)) * Step 1: DependencyPairs WORST_CASE(?,O(1)) + Considered Problem: - Strict TRS: add(0(),X) -> X add(s(),Y) -> s() from(X) -> cons(X) fst(0(),Z) -> nil() fst(s(),cons(Y)) -> cons(Y) len(cons(X)) -> s() len(nil()) -> 0() - Signature: {add/2,from/1,fst/2,len/1} / {0/0,cons/1,nil/0,s/0} - Obligation: innermost runtime complexity wrt. defined symbols {add,from,fst,len} and constructors {0,cons,nil,s} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs add#(0(),X) -> c_1() add#(s(),Y) -> c_2() from#(X) -> c_3() fst#(0(),Z) -> c_4() fst#(s(),cons(Y)) -> c_5() len#(cons(X)) -> c_6() len#(nil()) -> c_7() Weak DPs and mark the set of starting terms. * Step 2: PredecessorEstimation WORST_CASE(?,O(1)) + Considered Problem: - Strict DPs: add#(0(),X) -> c_1() add#(s(),Y) -> c_2() from#(X) -> c_3() fst#(0(),Z) -> c_4() fst#(s(),cons(Y)) -> c_5() len#(cons(X)) -> c_6() len#(nil()) -> c_7() - Weak TRS: add(0(),X) -> X add(s(),Y) -> s() from(X) -> cons(X) fst(0(),Z) -> nil() fst(s(),cons(Y)) -> cons(Y) len(cons(X)) -> s() len(nil()) -> 0() - Signature: {add/2,from/1,fst/2,len/1,add#/2,from#/1,fst#/2,len#/1} / {0/0,cons/1,nil/0,s/0,c_1/0,c_2/0,c_3/0,c_4/0 ,c_5/0,c_6/0,c_7/0} - Obligation: innermost runtime complexity wrt. defined symbols {add#,from#,fst#,len#} and constructors {0,cons,nil,s} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {1,2,3,4,5,6,7} by application of Pre({1,2,3,4,5,6,7}) = {}. Here rules are labelled as follows: 1: add#(0(),X) -> c_1() 2: add#(s(),Y) -> c_2() 3: from#(X) -> c_3() 4: fst#(0(),Z) -> c_4() 5: fst#(s(),cons(Y)) -> c_5() 6: len#(cons(X)) -> c_6() 7: len#(nil()) -> c_7() * Step 3: RemoveWeakSuffixes WORST_CASE(?,O(1)) + Considered Problem: - Weak DPs: add#(0(),X) -> c_1() add#(s(),Y) -> c_2() from#(X) -> c_3() fst#(0(),Z) -> c_4() fst#(s(),cons(Y)) -> c_5() len#(cons(X)) -> c_6() len#(nil()) -> c_7() - Weak TRS: add(0(),X) -> X add(s(),Y) -> s() from(X) -> cons(X) fst(0(),Z) -> nil() fst(s(),cons(Y)) -> cons(Y) len(cons(X)) -> s() len(nil()) -> 0() - Signature: {add/2,from/1,fst/2,len/1,add#/2,from#/1,fst#/2,len#/1} / {0/0,cons/1,nil/0,s/0,c_1/0,c_2/0,c_3/0,c_4/0 ,c_5/0,c_6/0,c_7/0} - Obligation: innermost runtime complexity wrt. defined symbols {add#,from#,fst#,len#} and constructors {0,cons,nil,s} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:W:add#(0(),X) -> c_1() 2:W:add#(s(),Y) -> c_2() 3:W:from#(X) -> c_3() 4:W:fst#(0(),Z) -> c_4() 5:W:fst#(s(),cons(Y)) -> c_5() 6:W:len#(cons(X)) -> c_6() 7:W:len#(nil()) -> c_7() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 7: len#(nil()) -> c_7() 6: len#(cons(X)) -> c_6() 5: fst#(s(),cons(Y)) -> c_5() 4: fst#(0(),Z) -> c_4() 3: from#(X) -> c_3() 2: add#(s(),Y) -> c_2() 1: add#(0(),X) -> c_1() * Step 4: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: add(0(),X) -> X add(s(),Y) -> s() from(X) -> cons(X) fst(0(),Z) -> nil() fst(s(),cons(Y)) -> cons(Y) len(cons(X)) -> s() len(nil()) -> 0() - Signature: {add/2,from/1,fst/2,len/1,add#/2,from#/1,fst#/2,len#/1} / {0/0,cons/1,nil/0,s/0,c_1/0,c_2/0,c_3/0,c_4/0 ,c_5/0,c_6/0,c_7/0} - Obligation: innermost runtime complexity wrt. defined symbols {add#,from#,fst#,len#} and constructors {0,cons,nil,s} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(1))