WORST_CASE(?,O(n^1)) * Step 1: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: activate(X) -> X activate(n__from(X)) -> from(X) after(0(),XS) -> XS after(s(N),cons(X,XS)) -> after(N,activate(XS)) from(X) -> cons(X,n__from(s(X))) from(X) -> n__from(X) - Signature: {activate/1,after/2,from/1} / {0/0,cons/2,n__from/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {activate,after,from} and constructors {0,cons,n__from,s} + 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(after) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(0) = [1] p(activate) = [1] x1 + [0] p(after) = [10] x1 + [1] x2 + [0] p(cons) = [1] x2 + [5] p(from) = [1] x1 + [1] p(n__from) = [1] x1 + [0] p(s) = [1] x1 + [0] Following rules are strictly oriented: after(0(),XS) = [1] XS + [10] > [1] XS + [0] = XS after(s(N),cons(X,XS)) = [10] N + [1] XS + [5] > [10] N + [1] XS + [0] = after(N,activate(XS)) from(X) = [1] X + [1] > [1] X + [0] = n__from(X) Following rules are (at-least) weakly oriented: activate(X) = [1] X + [0] >= [1] X + [0] = X activate(n__from(X)) = [1] X + [0] >= [1] X + [1] = from(X) from(X) = [1] X + [1] >= [1] X + [5] = cons(X,n__from(s(X))) Further, it can be verified that all rules not oriented are covered by the weightgap condition. * Step 2: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: activate(X) -> X activate(n__from(X)) -> from(X) from(X) -> cons(X,n__from(s(X))) - Weak TRS: after(0(),XS) -> XS after(s(N),cons(X,XS)) -> after(N,activate(XS)) from(X) -> n__from(X) - Signature: {activate/1,after/2,from/1} / {0/0,cons/2,n__from/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {activate,after,from} and constructors {0,cons,n__from,s} + 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(after) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(0) = [8] p(activate) = [1] x1 + [2] p(after) = [3] x1 + [1] x2 + [1] p(cons) = [1] x2 + [8] p(from) = [1] x1 + [5] p(n__from) = [1] x1 + [2] p(s) = [1] x1 + [3] Following rules are strictly oriented: activate(X) = [1] X + [2] > [1] X + [0] = X Following rules are (at-least) weakly oriented: activate(n__from(X)) = [1] X + [4] >= [1] X + [5] = from(X) after(0(),XS) = [1] XS + [25] >= [1] XS + [0] = XS after(s(N),cons(X,XS)) = [3] N + [1] XS + [18] >= [3] N + [1] XS + [3] = after(N,activate(XS)) from(X) = [1] X + [5] >= [1] X + [13] = cons(X,n__from(s(X))) from(X) = [1] X + [5] >= [1] X + [2] = n__from(X) Further, it can be verified that all rules not oriented are covered by the weightgap condition. * Step 3: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: activate(n__from(X)) -> from(X) from(X) -> cons(X,n__from(s(X))) - Weak TRS: activate(X) -> X after(0(),XS) -> XS after(s(N),cons(X,XS)) -> after(N,activate(XS)) from(X) -> n__from(X) - Signature: {activate/1,after/2,from/1} / {0/0,cons/2,n__from/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {activate,after,from} and constructors {0,cons,n__from,s} + 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(after) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(0) = [8] p(activate) = [1] x1 + [4] p(after) = [3] x1 + [1] x2 + [7] p(cons) = [1] x2 + [8] p(from) = [1] x1 + [12] p(n__from) = [1] x1 + [0] p(s) = [1] x1 + [1] Following rules are strictly oriented: from(X) = [1] X + [12] > [1] X + [9] = cons(X,n__from(s(X))) Following rules are (at-least) weakly oriented: activate(X) = [1] X + [4] >= [1] X + [0] = X activate(n__from(X)) = [1] X + [4] >= [1] X + [12] = from(X) after(0(),XS) = [1] XS + [31] >= [1] XS + [0] = XS after(s(N),cons(X,XS)) = [3] N + [1] XS + [18] >= [3] N + [1] XS + [11] = after(N,activate(XS)) from(X) = [1] X + [12] >= [1] X + [0] = n__from(X) Further, it can be verified that all rules not oriented are covered by the weightgap condition. * Step 4: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: activate(n__from(X)) -> from(X) - Weak TRS: activate(X) -> X after(0(),XS) -> XS after(s(N),cons(X,XS)) -> after(N,activate(XS)) from(X) -> cons(X,n__from(s(X))) from(X) -> n__from(X) - Signature: {activate/1,after/2,from/1} / {0/0,cons/2,n__from/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {activate,after,from} and constructors {0,cons,n__from,s} + 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(after) = {2} Following symbols are considered usable: {activate,after,from} TcT has computed the following interpretation: p(0) = [1] p(activate) = [1] x1 + [2] p(after) = [2] x1 + [8] x2 + [0] p(cons) = [1] x2 + [0] p(from) = [8] p(n__from) = [8] p(s) = [1] x1 + [8] Following rules are strictly oriented: activate(n__from(X)) = [10] > [8] = from(X) Following rules are (at-least) weakly oriented: activate(X) = [1] X + [2] >= [1] X + [0] = X after(0(),XS) = [8] XS + [2] >= [1] XS + [0] = XS after(s(N),cons(X,XS)) = [2] N + [8] XS + [16] >= [2] N + [8] XS + [16] = after(N,activate(XS)) from(X) = [8] >= [8] = cons(X,n__from(s(X))) from(X) = [8] >= [8] = n__from(X) * Step 5: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: activate(X) -> X activate(n__from(X)) -> from(X) after(0(),XS) -> XS after(s(N),cons(X,XS)) -> after(N,activate(XS)) from(X) -> cons(X,n__from(s(X))) from(X) -> n__from(X) - Signature: {activate/1,after/2,from/1} / {0/0,cons/2,n__from/1,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {activate,after,from} and constructors {0,cons,n__from,s} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(n^1))