WORST_CASE(?,O(n^1)) * Step 1: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: a__b() -> a() a__b() -> b() a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) mark(a()) -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(a) = [0] p(a__b) = [1] p(a__f) = [1] x1 + [1] x2 + [0] p(b) = [4] p(f) = [1] x1 + [1] x2 + [0] p(mark) = [4] x1 + [0] Following rules are strictly oriented: a__b() = [1] > [0] = a() mark(b()) = [16] > [1] = a__b() Following rules are (at-least) weakly oriented: a__b() = [1] >= [4] = b() a__f(X1,X2,X3) = [1] X1 + [1] X2 + [0] >= [1] X1 + [1] X2 + [0] = f(X1,X2,X3) a__f(a(),X,X) = [1] X + [0] >= [1] X + [1] = a__f(X,a__b(),b()) mark(a()) = [0] >= [0] = a() mark(f(X1,X2,X3)) = [4] X1 + [4] X2 + [0] >= [1] X1 + [4] X2 + [0] = a__f(X1,mark(X2),X3) 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: a__b() -> b() a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) mark(a()) -> a() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Weak TRS: a__b() -> a() mark(b()) -> a__b() - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(a) = [0] p(a__b) = [0] p(a__f) = [1] x1 + [1] x2 + [0] p(b) = [0] p(f) = [1] x1 + [1] x2 + [11] p(mark) = [1] x1 + [0] Following rules are strictly oriented: mark(f(X1,X2,X3)) = [1] X1 + [1] X2 + [11] > [1] X1 + [1] X2 + [0] = a__f(X1,mark(X2),X3) Following rules are (at-least) weakly oriented: a__b() = [0] >= [0] = a() a__b() = [0] >= [0] = b() a__f(X1,X2,X3) = [1] X1 + [1] X2 + [0] >= [1] X1 + [1] X2 + [11] = f(X1,X2,X3) a__f(a(),X,X) = [1] X + [0] >= [1] X + [0] = a__f(X,a__b(),b()) mark(a()) = [0] >= [0] = a() mark(b()) = [0] >= [0] = a__b() 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: a__b() -> b() a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) mark(a()) -> a() - Weak TRS: a__b() -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: {a__b,a__f,mark} TcT has computed the following interpretation: p(a) = [1] p(a__b) = [1] p(a__f) = [1] x1 + [1] x2 + [0] p(b) = [1] p(f) = [1] x1 + [1] x2 + [0] p(mark) = [2] x1 + [0] Following rules are strictly oriented: mark(a()) = [2] > [1] = a() Following rules are (at-least) weakly oriented: a__b() = [1] >= [1] = a() a__b() = [1] >= [1] = b() a__f(X1,X2,X3) = [1] X1 + [1] X2 + [0] >= [1] X1 + [1] X2 + [0] = f(X1,X2,X3) a__f(a(),X,X) = [1] X + [1] >= [1] X + [1] = a__f(X,a__b(),b()) mark(b()) = [2] >= [1] = a__b() mark(f(X1,X2,X3)) = [2] X1 + [2] X2 + [0] >= [1] X1 + [2] X2 + [0] = a__f(X1,mark(X2),X3) * Step 4: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: a__b() -> b() a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) - Weak TRS: a__b() -> a() mark(a()) -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: {a__b,a__f,mark} TcT has computed the following interpretation: p(a) = [2] p(a__b) = [2] p(a__f) = [1] x1 + [1] x2 + [0] p(b) = [1] p(f) = [1] x1 + [1] x2 + [0] p(mark) = [8] x1 + [0] Following rules are strictly oriented: a__b() = [2] > [1] = b() Following rules are (at-least) weakly oriented: a__b() = [2] >= [2] = a() a__f(X1,X2,X3) = [1] X1 + [1] X2 + [0] >= [1] X1 + [1] X2 + [0] = f(X1,X2,X3) a__f(a(),X,X) = [1] X + [2] >= [1] X + [2] = a__f(X,a__b(),b()) mark(a()) = [16] >= [2] = a() mark(b()) = [8] >= [2] = a__b() mark(f(X1,X2,X3)) = [8] X1 + [8] X2 + [0] >= [1] X1 + [8] X2 + [0] = a__f(X1,mark(X2),X3) * Step 5: NaturalMI WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) - Weak TRS: a__b() -> a() a__b() -> b() mark(a()) -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: {a__b,a__f,mark} TcT has computed the following interpretation: p(a) = [1] p(a__b) = [1] p(a__f) = [2] x1 + [1] x2 + [2] x3 + [0] p(b) = [0] p(f) = [1] x1 + [1] x2 + [1] x3 + [0] p(mark) = [2] x1 + [1] Following rules are strictly oriented: a__f(a(),X,X) = [3] X + [2] > [2] X + [1] = a__f(X,a__b(),b()) Following rules are (at-least) weakly oriented: a__b() = [1] >= [1] = a() a__b() = [1] >= [0] = b() a__f(X1,X2,X3) = [2] X1 + [1] X2 + [2] X3 + [0] >= [1] X1 + [1] X2 + [1] X3 + [0] = f(X1,X2,X3) mark(a()) = [3] >= [1] = a() mark(b()) = [1] >= [1] = a__b() mark(f(X1,X2,X3)) = [2] X1 + [2] X2 + [2] X3 + [1] >= [2] X1 + [2] X2 + [2] X3 + [1] = a__f(X1,mark(X2),X3) * Step 6: WeightGap WORST_CASE(?,O(n^1)) + Considered Problem: - Strict TRS: a__f(X1,X2,X3) -> f(X1,X2,X3) - Weak TRS: a__b() -> a() a__b() -> b() a__f(a(),X,X) -> a__f(X,a__b(),b()) mark(a()) -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + 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(a__f) = {2} Following symbols are considered usable: all TcT has computed the following interpretation: p(a) = [0] p(a__b) = [0] p(a__f) = [1] x2 + [10] p(b) = [0] p(f) = [1] x2 + [7] p(mark) = [4] x1 + [0] Following rules are strictly oriented: a__f(X1,X2,X3) = [1] X2 + [10] > [1] X2 + [7] = f(X1,X2,X3) Following rules are (at-least) weakly oriented: a__b() = [0] >= [0] = a() a__b() = [0] >= [0] = b() a__f(a(),X,X) = [1] X + [10] >= [10] = a__f(X,a__b(),b()) mark(a()) = [0] >= [0] = a() mark(b()) = [0] >= [0] = a__b() mark(f(X1,X2,X3)) = [4] X2 + [28] >= [4] X2 + [10] = a__f(X1,mark(X2),X3) Further, it can be verified that all rules not oriented are covered by the weightgap condition. * Step 7: EmptyProcessor WORST_CASE(?,O(1)) + Considered Problem: - Weak TRS: a__b() -> a() a__b() -> b() a__f(X1,X2,X3) -> f(X1,X2,X3) a__f(a(),X,X) -> a__f(X,a__b(),b()) mark(a()) -> a() mark(b()) -> a__b() mark(f(X1,X2,X3)) -> a__f(X1,mark(X2),X3) - Signature: {a__b/0,a__f/3,mark/1} / {a/0,b/0,f/3} - Obligation: innermost runtime complexity wrt. defined symbols {a__b,a__f,mark} and constructors {a,b,f} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(?,O(n^1))