/export/starexec/sandbox2/solver/bin/starexec_run_rcdcRelativeAlsoLower /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?, O(n^1)) proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty The Derivational Complexity (innermost) of the given DCpxTrs could be proven to be BOUNDS(1, n^1). (0) DCpxTrs (1) DerivationalComplexityToRuntimeComplexityProof [BOTH BOUNDS(ID, ID), 0 ms] (2) CpxRelTRS (3) SInnermostTerminationProof [BOTH CONCRETE BOUNDS(ID, ID), 195 ms] (4) CpxRelTRS (5) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (6) CpxTRS (7) CpxTrsMatchBoundsTAProof [FINISHED, 21 ms] (8) BOUNDS(1, n^1) ---------------------------------------- (0) Obligation: The Derivational Complexity (innermost) of the given DCpxTrs could be proven to be BOUNDS(1, n^1). The TRS R consists of the following rules: app(app(app(compose, f), g), x) -> app(f, app(g, x)) S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (1) DerivationalComplexityToRuntimeComplexityProof (BOTH BOUNDS(ID, ID)) The following rules have been added to S to convert the given derivational complexity problem to a runtime complexity problem: encArg(compose) -> compose encArg(cons_app(x_1, x_2)) -> app(encArg(x_1), encArg(x_2)) encode_app(x_1, x_2) -> app(encArg(x_1), encArg(x_2)) encode_compose -> compose ---------------------------------------- (2) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, n^1). The TRS R consists of the following rules: app(app(app(compose, f), g), x) -> app(f, app(g, x)) The (relative) TRS S consists of the following rules: encArg(compose) -> compose encArg(cons_app(x_1, x_2)) -> app(encArg(x_1), encArg(x_2)) encode_app(x_1, x_2) -> app(encArg(x_1), encArg(x_2)) encode_compose -> compose Rewrite Strategy: INNERMOST ---------------------------------------- (3) SInnermostTerminationProof (BOTH CONCRETE BOUNDS(ID, ID)) proved innermost termination of relative rules ---------------------------------------- (4) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, n^1). The TRS R consists of the following rules: app(app(app(compose, f), g), x) -> app(f, app(g, x)) The (relative) TRS S consists of the following rules: encArg(compose) -> compose encArg(cons_app(x_1, x_2)) -> app(encArg(x_1), encArg(x_2)) encode_app(x_1, x_2) -> app(encArg(x_1), encArg(x_2)) encode_compose -> compose Rewrite Strategy: INNERMOST ---------------------------------------- (5) RelTrsToTrsProof (UPPER BOUND(ID)) transformed relative TRS to TRS ---------------------------------------- (6) Obligation: The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, n^1). The TRS R consists of the following rules: app(app(app(compose, f), g), x) -> app(f, app(g, x)) encArg(compose) -> compose encArg(cons_app(x_1, x_2)) -> app(encArg(x_1), encArg(x_2)) encode_app(x_1, x_2) -> app(encArg(x_1), encArg(x_2)) encode_compose -> compose S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (7) CpxTrsMatchBoundsTAProof (FINISHED) A linear upper bound on the runtime complexity of the TRS R could be shown with a Match-Bound[TAB_LEFTLINEAR,TAB_NONLEFTLINEAR] (for contructor-based start-terms) of 2. The compatible tree automaton used to show the Match-Boundedness (for constructor-based start-terms) is represented by: final states : [1, 2, 3, 4] transitions: compose0() -> 0 cons_app0(0, 0) -> 0 app0(0, 0) -> 1 encArg0(0) -> 2 encode_app0(0, 0) -> 3 encode_compose0() -> 4 compose1() -> 2 encArg1(0) -> 5 encArg1(0) -> 6 app1(5, 6) -> 2 app1(5, 6) -> 3 compose1() -> 4 compose1() -> 5 compose1() -> 6 app1(5, 6) -> 5 app1(5, 6) -> 6 app2(6, 6) -> 7 app2(6, 7) -> 2 app2(6, 7) -> 3 app2(6, 7) -> 5 app2(6, 7) -> 6 app2(7, 7) -> 2 app2(7, 7) -> 3 app2(7, 7) -> 5 app2(7, 7) -> 6 app2(7, 6) -> 7 app2(6, 7) -> 7 app2(7, 7) -> 7 ---------------------------------------- (8) BOUNDS(1, n^1)