WORST_CASE(?,O(n^1)) * Step 1: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: goal(x,xs) -> member(x,xs) member(x,Nil()) -> False() member(x',Cons(x,xs)) -> member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Weak TRS: !EQ(0(),0()) -> True() !EQ(0(),S(y)) -> False() !EQ(S(x),0()) -> False() !EQ(S(x),S(y)) -> !EQ(x,y) member[Ite][True][Ite](False(),x',Cons(x,xs)) -> member(x',xs) member[Ite][True][Ite](True(),x,xs) -> True() - Signature: {!EQ/2,goal/2,member/2,member[Ite][True][Ite]/3,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {!EQ,goal,member,member[Ite][True][Ite] ,notEmpty} and constructors {0,Cons,False,Nil,S,True} + Applied Processor: NaturalMI {miDimension = 1, miDegree = 1, miKind = Algebraic, uargs = UArgs, urules = URules, selector = Just any strict-rules} + Details: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(member[Ite][True][Ite]) = {1} Following symbols are considered usable: {!EQ,goal,member,member[Ite][True][Ite],notEmpty} TcT has computed the following interpretation: p(!EQ) = [0] p(0) = [0] p(Cons) = [0] p(False) = [0] p(Nil) = [0] p(S) = [0] p(True) = [0] p(goal) = [8] p(member) = [0] p(member[Ite][True][Ite]) = [8] x1 + [0] p(notEmpty) = [0] Following rules are strictly oriented: goal(x,xs) = [8] > [0] = member(x,xs) Following rules are (at-least) weakly oriented: !EQ(0(),0()) = [0] >= [0] = True() !EQ(0(),S(y)) = [0] >= [0] = False() !EQ(S(x),0()) = [0] >= [0] = False() !EQ(S(x),S(y)) = [0] >= [0] = !EQ(x,y) member(x,Nil()) = [0] >= [0] = False() member(x',Cons(x,xs)) = [0] >= [0] = member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) member[Ite][True][Ite](False(),x',Cons(x,xs)) = [0] >= [0] = member(x',xs) member[Ite][True][Ite](True(),x,xs) = [0] >= [0] = True() notEmpty(Cons(x,xs)) = [0] >= [0] = True() notEmpty(Nil()) = [0] >= [0] = False() * Step 2: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: member(x,Nil()) -> False() member(x',Cons(x,xs)) -> member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Weak TRS: !EQ(0(),0()) -> True() !EQ(0(),S(y)) -> False() !EQ(S(x),0()) -> False() !EQ(S(x),S(y)) -> !EQ(x,y) goal(x,xs) -> member(x,xs) member[Ite][True][Ite](False(),x',Cons(x,xs)) -> member(x',xs) member[Ite][True][Ite](True(),x,xs) -> True() - Signature: {!EQ/2,goal/2,member/2,member[Ite][True][Ite]/3,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {!EQ,goal,member,member[Ite][True][Ite] ,notEmpty} and constructors {0,Cons,False,Nil,S,True} + Applied Processor: WeightGap {wgDimension = 1, wgDegree = 1, wgKind = Algebraic, wgUArgs = UArgs, wgOn = WgOnAny} + Details: The weightgap principle applies using the following nonconstant growth matrix-interpretation: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(member[Ite][True][Ite]) = {1} Following symbols are considered usable: all TcT has computed the following interpretation: p(!EQ) = [1] p(0) = [1] p(Cons) = [1] x1 + [1] x2 + [0] p(False) = [0] p(Nil) = [0] p(S) = [1] p(True) = [1] p(goal) = [2] x1 + [3] x2 + [1] p(member) = [2] x2 + [0] p(member[Ite][True][Ite]) = [1] x1 + [2] x3 + [0] p(notEmpty) = [2] x1 + [6] Following rules are strictly oriented: notEmpty(Cons(x,xs)) = [2] x + [2] xs + [6] > [1] = True() notEmpty(Nil()) = [6] > [0] = False() Following rules are (at-least) weakly oriented: !EQ(0(),0()) = [1] >= [1] = True() !EQ(0(),S(y)) = [1] >= [0] = False() !EQ(S(x),0()) = [1] >= [0] = False() !EQ(S(x),S(y)) = [1] >= [1] = !EQ(x,y) goal(x,xs) = [2] x + [3] xs + [1] >= [2] xs + [0] = member(x,xs) member(x,Nil()) = [0] >= [0] = False() member(x',Cons(x,xs)) = [2] x + [2] xs + [0] >= [2] x + [2] xs + [1] = member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) member[Ite][True][Ite](False(),x',Cons(x,xs)) = [2] x + [2] xs + [0] >= [2] xs + [0] = member(x',xs) member[Ite][True][Ite](True(),x,xs) = [2] xs + [1] >= [1] = True() Further, it can be verified that all rules not oriented are covered by the weightgap condition. * Step 3: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: member(x,Nil()) -> False() member(x',Cons(x,xs)) -> member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) - Weak TRS: !EQ(0(),0()) -> True() !EQ(0(),S(y)) -> False() !EQ(S(x),0()) -> False() !EQ(S(x),S(y)) -> !EQ(x,y) goal(x,xs) -> member(x,xs) member[Ite][True][Ite](False(),x',Cons(x,xs)) -> member(x',xs) member[Ite][True][Ite](True(),x,xs) -> True() notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {!EQ/2,goal/2,member/2,member[Ite][True][Ite]/3,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {!EQ,goal,member,member[Ite][True][Ite] ,notEmpty} and constructors {0,Cons,False,Nil,S,True} + Applied Processor: NaturalMI {miDimension = 1, miDegree = 1, miKind = Algebraic, uargs = UArgs, urules = URules, selector = Just any strict-rules} + Details: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(member[Ite][True][Ite]) = {1} Following symbols are considered usable: {!EQ,goal,member,member[Ite][True][Ite],notEmpty} TcT has computed the following interpretation: p(!EQ) = [2] p(0) = [1] p(Cons) = [1] p(False) = [2] p(Nil) = [2] p(S) = [1] p(True) = [2] p(goal) = [4] p(member) = [4] p(member[Ite][True][Ite]) = [2] x1 + [0] p(notEmpty) = [6] Following rules are strictly oriented: member(x,Nil()) = [4] > [2] = False() Following rules are (at-least) weakly oriented: !EQ(0(),0()) = [2] >= [2] = True() !EQ(0(),S(y)) = [2] >= [2] = False() !EQ(S(x),0()) = [2] >= [2] = False() !EQ(S(x),S(y)) = [2] >= [2] = !EQ(x,y) goal(x,xs) = [4] >= [4] = member(x,xs) member(x',Cons(x,xs)) = [4] >= [4] = member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) member[Ite][True][Ite](False(),x',Cons(x,xs)) = [4] >= [4] = member(x',xs) member[Ite][True][Ite](True(),x,xs) = [4] >= [2] = True() notEmpty(Cons(x,xs)) = [6] >= [2] = True() notEmpty(Nil()) = [6] >= [2] = False() * Step 4: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: member(x',Cons(x,xs)) -> member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) - Weak TRS: !EQ(0(),0()) -> True() !EQ(0(),S(y)) -> False() !EQ(S(x),0()) -> False() !EQ(S(x),S(y)) -> !EQ(x,y) goal(x,xs) -> member(x,xs) member(x,Nil()) -> False() member[Ite][True][Ite](False(),x',Cons(x,xs)) -> member(x',xs) member[Ite][True][Ite](True(),x,xs) -> True() notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {!EQ/2,goal/2,member/2,member[Ite][True][Ite]/3,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {!EQ,goal,member,member[Ite][True][Ite] ,notEmpty} and constructors {0,Cons,False,Nil,S,True} + Applied Processor: NaturalMI {miDimension = 1, miDegree = 1, miKind = Algebraic, uargs = UArgs, urules = URules, selector = Just any strict-rules} + Details: We apply a matrix interpretation of kind constructor based matrix interpretation: The following argument positions are considered usable: uargs(member[Ite][True][Ite]) = {1} Following symbols are considered usable: {!EQ,goal,member,member[Ite][True][Ite],notEmpty} TcT has computed the following interpretation: p(!EQ) = [0] p(0) = [8] p(Cons) = [1] x2 + [1] p(False) = [0] p(Nil) = [2] p(S) = [1] x1 + [1] p(True) = [0] p(goal) = [8] x1 + [5] x2 + [14] p(member) = [3] x1 + [4] x2 + [14] p(member[Ite][True][Ite]) = [8] x1 + [3] x2 + [4] x3 + [12] p(notEmpty) = [6] x1 + [2] Following rules are strictly oriented: member(x',Cons(x,xs)) = [3] x' + [4] xs + [18] > [3] x' + [4] xs + [16] = member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) Following rules are (at-least) weakly oriented: !EQ(0(),0()) = [0] >= [0] = True() !EQ(0(),S(y)) = [0] >= [0] = False() !EQ(S(x),0()) = [0] >= [0] = False() !EQ(S(x),S(y)) = [0] >= [0] = !EQ(x,y) goal(x,xs) = [8] x + [5] xs + [14] >= [3] x + [4] xs + [14] = member(x,xs) member(x,Nil()) = [3] x + [22] >= [0] = False() member[Ite][True][Ite](False(),x',Cons(x,xs)) = [3] x' + [4] xs + [16] >= [3] x' + [4] xs + [14] = member(x',xs) member[Ite][True][Ite](True(),x,xs) = [3] x + [4] xs + [12] >= [0] = True() notEmpty(Cons(x,xs)) = [6] xs + [8] >= [0] = True() notEmpty(Nil()) = [14] >= [0] = False() * Step 5: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: !EQ(0(),0()) -> True() !EQ(0(),S(y)) -> False() !EQ(S(x),0()) -> False() !EQ(S(x),S(y)) -> !EQ(x,y) goal(x,xs) -> member(x,xs) member(x,Nil()) -> False() member(x',Cons(x,xs)) -> member[Ite][True][Ite](!EQ(x',x),x',Cons(x,xs)) member[Ite][True][Ite](False(),x',Cons(x,xs)) -> member(x',xs) member[Ite][True][Ite](True(),x,xs) -> True() notEmpty(Cons(x,xs)) -> True() notEmpty(Nil()) -> False() - Signature: {!EQ/2,goal/2,member/2,member[Ite][True][Ite]/3,notEmpty/1} / {0/0,Cons/2,False/0,Nil/0,S/1,True/0} - Obligation: innermost runtime complexity wrt. defined symbols {!EQ,goal,member,member[Ite][True][Ite] ,notEmpty} and constructors {0,Cons,False,Nil,S,True} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(n^1))