/export/starexec/sandbox/solver/bin/starexec_run_rcdcRelativeAlsoLower /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?, O(n^1)) proof of /export/starexec/sandbox/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), 172 ms] (4) CpxRelTRS (5) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (6) CpxTRS (7) CpxTrsMatchBoundsTAProof [FINISHED, 139 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: p(p(b(a(x0)), x1), p(x2, x3)) -> p(p(b(x2), a(a(b(x1)))), p(x3, x0)) 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(b(x_1)) -> b(encArg(x_1)) encArg(a(x_1)) -> a(encArg(x_1)) encArg(cons_p(x_1, x_2)) -> p(encArg(x_1), encArg(x_2)) encode_p(x_1, x_2) -> p(encArg(x_1), encArg(x_2)) encode_b(x_1) -> b(encArg(x_1)) encode_a(x_1) -> a(encArg(x_1)) ---------------------------------------- (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: p(p(b(a(x0)), x1), p(x2, x3)) -> p(p(b(x2), a(a(b(x1)))), p(x3, x0)) The (relative) TRS S consists of the following rules: encArg(b(x_1)) -> b(encArg(x_1)) encArg(a(x_1)) -> a(encArg(x_1)) encArg(cons_p(x_1, x_2)) -> p(encArg(x_1), encArg(x_2)) encode_p(x_1, x_2) -> p(encArg(x_1), encArg(x_2)) encode_b(x_1) -> b(encArg(x_1)) encode_a(x_1) -> a(encArg(x_1)) 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: p(p(b(a(x0)), x1), p(x2, x3)) -> p(p(b(x2), a(a(b(x1)))), p(x3, x0)) The (relative) TRS S consists of the following rules: encArg(b(x_1)) -> b(encArg(x_1)) encArg(a(x_1)) -> a(encArg(x_1)) encArg(cons_p(x_1, x_2)) -> p(encArg(x_1), encArg(x_2)) encode_p(x_1, x_2) -> p(encArg(x_1), encArg(x_2)) encode_b(x_1) -> b(encArg(x_1)) encode_a(x_1) -> a(encArg(x_1)) 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: p(p(b(a(x0)), x1), p(x2, x3)) -> p(p(b(x2), a(a(b(x1)))), p(x3, x0)) encArg(b(x_1)) -> b(encArg(x_1)) encArg(a(x_1)) -> a(encArg(x_1)) encArg(cons_p(x_1, x_2)) -> p(encArg(x_1), encArg(x_2)) encode_p(x_1, x_2) -> p(encArg(x_1), encArg(x_2)) encode_b(x_1) -> b(encArg(x_1)) encode_a(x_1) -> a(encArg(x_1)) 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, 5] transitions: b0(0) -> 0 a0(0) -> 0 cons_p0(0, 0) -> 0 p0(0, 0) -> 1 encArg0(0) -> 2 encode_p0(0, 0) -> 3 encode_b0(0) -> 4 encode_a0(0) -> 5 encArg1(0) -> 6 b1(6) -> 2 encArg1(0) -> 7 a1(7) -> 2 encArg1(0) -> 8 encArg1(0) -> 9 p1(8, 9) -> 2 p1(8, 9) -> 3 b1(6) -> 4 a1(7) -> 5 b1(6) -> 6 b1(6) -> 7 b1(6) -> 8 b1(6) -> 9 a1(7) -> 6 a1(7) -> 7 a1(7) -> 8 a1(7) -> 9 p1(8, 9) -> 6 p1(8, 9) -> 7 p1(8, 9) -> 8 p1(8, 9) -> 9 b2(8) -> 11 b2(9) -> 14 a2(14) -> 13 a2(13) -> 12 p2(11, 12) -> 10 p2(9, 7) -> 15 p2(10, 15) -> 2 p2(10, 15) -> 3 p2(10, 15) -> 6 p2(10, 15) -> 7 p2(10, 15) -> 8 p2(10, 15) -> 9 b2(10) -> 11 p2(15, 7) -> 15 p2(10, 15) -> 15 b2(9) -> 11 b2(12) -> 14 p2(7, 7) -> 15 b2(7) -> 14 b2(15) -> 11 b2(7) -> 11 ---------------------------------------- (8) BOUNDS(1, n^1)