/export/starexec/sandbox2/solver/bin/starexec_run_tct_rci /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- WORST_CASE(Omega(n^1),?) * Step 1: Sum. WORST_CASE(Omega(n^1),?) + Considered Problem: - Strict TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2} / {0/0,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {+,f,g} and constructors {0,s} + Applied Processor: Sum {left = someStrategy, right = someStrategy} + Details: () ** Step 1.a:1: Sum. WORST_CASE(Omega(n^1),?) + Considered Problem: - Strict TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2} / {0/0,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {+,f,g} and constructors {0,s} + Applied Processor: Sum {left = someStrategy, right = someStrategy} + Details: () ** Step 1.a:2: DecreasingLoops. WORST_CASE(Omega(n^1),?) + Considered Problem: - Strict TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2} / {0/0,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {+,f,g} and constructors {0,s} + Applied Processor: DecreasingLoops {bound = AnyLoop, narrow = 10} + Details: The system has following decreasing Loops: +(x,y){y -> s(y)} = +(x,s(y)) ->^+ s(+(x,y)) = C[+(x,y) = +(x,y){}] ** Step 1.b:1: DependencyPairs. MAYBE + Considered Problem: - Strict TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2} / {0/0,s/1} - Obligation: innermost runtime complexity wrt. defined symbols {+,f,g} and constructors {0,s} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs +#(X,0()) -> c_1() +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) g#(X,Y) -> c_4() g#(X,Y) -> c_5() Weak DPs and mark the set of starting terms. ** Step 1.b:2: PredecessorEstimation. MAYBE + Considered Problem: - Strict DPs: +#(X,0()) -> c_1() +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) g#(X,Y) -> c_4() g#(X,Y) -> c_5() - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {1,4,5} by application of Pre({1,4,5}) = {2,3}. Here rules are labelled as follows: 1: +#(X,0()) -> c_1() 2: +#(X,s(Y)) -> c_2(+#(X,Y)) 3: f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) 4: g#(X,Y) -> c_4() 5: g#(X,Y) -> c_5() ** Step 1.b:3: RemoveWeakSuffixes. MAYBE + Considered Problem: - Strict DPs: +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) - Weak DPs: +#(X,0()) -> c_1() g#(X,Y) -> c_4() g#(X,Y) -> c_5() - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:+#(X,s(Y)) -> c_2(+#(X,Y)) -->_1 +#(X,0()) -> c_1():3 -->_1 +#(X,s(Y)) -> c_2(+#(X,Y)):1 2:S:f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) -->_2 +#(X,0()) -> c_1():3 -->_1 f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)):2 -->_2 +#(X,s(Y)) -> c_2(+#(X,Y)):1 3:W:+#(X,0()) -> c_1() 4:W:g#(X,Y) -> c_4() 5:W:g#(X,Y) -> c_5() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 5: g#(X,Y) -> c_5() 4: g#(X,Y) -> c_4() 3: +#(X,0()) -> c_1() ** Step 1.b:4: UsableRules. MAYBE + Considered Problem: - Strict DPs: +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) f(0(),s(0()),X) -> f(X,+(X,X),X) g(X,Y) -> X g(X,Y) -> Y - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: UsableRules + Details: We replace rewrite rules by usable rules: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) ** Step 1.b:5: DecomposeDG. MAYBE + Considered Problem: - Strict DPs: +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: DecomposeDG {onSelection = all below first cut in WDG, onUpper = Nothing, onLower = Nothing} + Details: We decompose the input problem according to the dependency graph into the upper component f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) and a lower component +#(X,s(Y)) -> c_2(+#(X,Y)) Further, following extension rules are added to the lower component. f#(0(),s(0()),X) -> +#(X,X) f#(0(),s(0()),X) -> f#(X,+(X,X),X) *** Step 1.b:5.a:1: SimplifyRHS. MAYBE + Considered Problem: - Strict DPs: f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: SimplifyRHS + Details: Consider the dependency graph 1:S:f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)) -->_1 f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X),+#(X,X)):1 Due to missing edges in the depndency graph, the right-hand sides of following rules could be simplified: f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X)) *** Step 1.b:5.a:2: Failure MAYBE + Considered Problem: - Strict DPs: f#(0(),s(0()),X) -> c_3(f#(X,+(X,X),X)) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/1,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: EmptyProcessor + Details: The problem is still open. *** Step 1.b:5.b:1: NaturalMI. WORST_CASE(?,O(n^1)) + Considered Problem: - Strict DPs: +#(X,s(Y)) -> c_2(+#(X,Y)) - Weak DPs: f#(0(),s(0()),X) -> +#(X,X) f#(0(),s(0()),X) -> f#(X,+(X,X),X) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,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(c_2) = {1} Following symbols are considered usable: {+#,f#,g#} TcT has computed the following interpretation: p(+) = [0] p(0) = [12] p(f) = [1] x2 + [1] x3 + [8] p(g) = [2] x1 + [2] x2 + [1] p(s) = [1] x1 + [4] p(+#) = [4] x2 + [0] p(f#) = [5] x3 + [1] p(g#) = [1] x1 + [1] x2 + [4] p(c_1) = [0] p(c_2) = [1] x1 + [14] p(c_3) = [1] p(c_4) = [2] p(c_5) = [0] Following rules are strictly oriented: +#(X,s(Y)) = [4] Y + [16] > [4] Y + [14] = c_2(+#(X,Y)) Following rules are (at-least) weakly oriented: f#(0(),s(0()),X) = [5] X + [1] >= [4] X + [0] = +#(X,X) f#(0(),s(0()),X) = [5] X + [1] >= [5] X + [1] = f#(X,+(X,X),X) *** Step 1.b:5.b:2: EmptyProcessor. WORST_CASE(?,O(1)) + Considered Problem: - Weak DPs: +#(X,s(Y)) -> c_2(+#(X,Y)) f#(0(),s(0()),X) -> +#(X,X) f#(0(),s(0()),X) -> f#(X,+(X,X),X) - Weak TRS: +(X,0()) -> X +(X,s(Y)) -> s(+(X,Y)) - Signature: {+/2,f/3,g/2,+#/2,f#/3,g#/2} / {0/0,s/1,c_1/0,c_2/1,c_3/2,c_4/0,c_5/0} - Obligation: innermost runtime complexity wrt. defined symbols {+#,f#,g#} and constructors {0,s} + Applied Processor: EmptyProcessor + Details: The problem is already closed. The intended complexity is O(1). WORST_CASE(Omega(n^1),?)