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