/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), 78 ms] (4) CpxRelTRS (5) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (6) CpxTRS (7) CpxTrsMatchBoundsProof [FINISHED, 0 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: 0(1(2(3(4(x1))))) -> 0(2(1(3(4(x1))))) 0(5(1(2(4(3(x1)))))) -> 0(5(2(1(4(3(x1)))))) 0(5(2(4(1(3(x1)))))) -> 0(1(5(2(4(3(x1)))))) 0(5(3(1(2(4(x1)))))) -> 0(1(5(3(2(4(x1)))))) 0(5(4(1(3(2(x1)))))) -> 0(5(4(3(1(2(x1)))))) 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(1(x_1)) -> 1(encArg(x_1)) encArg(2(x_1)) -> 2(encArg(x_1)) encArg(3(x_1)) -> 3(encArg(x_1)) encArg(4(x_1)) -> 4(encArg(x_1)) encArg(5(x_1)) -> 5(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_1(x_1) -> 1(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_5(x_1) -> 5(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: 0(1(2(3(4(x1))))) -> 0(2(1(3(4(x1))))) 0(5(1(2(4(3(x1)))))) -> 0(5(2(1(4(3(x1)))))) 0(5(2(4(1(3(x1)))))) -> 0(1(5(2(4(3(x1)))))) 0(5(3(1(2(4(x1)))))) -> 0(1(5(3(2(4(x1)))))) 0(5(4(1(3(2(x1)))))) -> 0(5(4(3(1(2(x1)))))) The (relative) TRS S consists of the following rules: encArg(1(x_1)) -> 1(encArg(x_1)) encArg(2(x_1)) -> 2(encArg(x_1)) encArg(3(x_1)) -> 3(encArg(x_1)) encArg(4(x_1)) -> 4(encArg(x_1)) encArg(5(x_1)) -> 5(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_1(x_1) -> 1(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_5(x_1) -> 5(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: 0(1(2(3(4(x1))))) -> 0(2(1(3(4(x1))))) 0(5(1(2(4(3(x1)))))) -> 0(5(2(1(4(3(x1)))))) 0(5(2(4(1(3(x1)))))) -> 0(1(5(2(4(3(x1)))))) 0(5(3(1(2(4(x1)))))) -> 0(1(5(3(2(4(x1)))))) 0(5(4(1(3(2(x1)))))) -> 0(5(4(3(1(2(x1)))))) The (relative) TRS S consists of the following rules: encArg(1(x_1)) -> 1(encArg(x_1)) encArg(2(x_1)) -> 2(encArg(x_1)) encArg(3(x_1)) -> 3(encArg(x_1)) encArg(4(x_1)) -> 4(encArg(x_1)) encArg(5(x_1)) -> 5(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_1(x_1) -> 1(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_5(x_1) -> 5(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: 0(1(2(3(4(x1))))) -> 0(2(1(3(4(x1))))) 0(5(1(2(4(3(x1)))))) -> 0(5(2(1(4(3(x1)))))) 0(5(2(4(1(3(x1)))))) -> 0(1(5(2(4(3(x1)))))) 0(5(3(1(2(4(x1)))))) -> 0(1(5(3(2(4(x1)))))) 0(5(4(1(3(2(x1)))))) -> 0(5(4(3(1(2(x1)))))) encArg(1(x_1)) -> 1(encArg(x_1)) encArg(2(x_1)) -> 2(encArg(x_1)) encArg(3(x_1)) -> 3(encArg(x_1)) encArg(4(x_1)) -> 4(encArg(x_1)) encArg(5(x_1)) -> 5(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_1(x_1) -> 1(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_5(x_1) -> 5(encArg(x_1)) S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (7) CpxTrsMatchBoundsProof (FINISHED) A linear upper bound on the runtime complexity of the TRS R could be shown with a Match Bound [MATCHBOUNDS1,MATCHBOUNDS2] of 2. The certificate found is represented by the following graph. "[9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59] {(9,10,[0_1|0, encArg_1|0, encode_0_1|0, encode_1_1|0, encode_2_1|0, encode_3_1|0, encode_4_1|0, encode_5_1|0]), (9,11,[0_1|1]), (9,15,[0_1|1]), (9,20,[0_1|1]), (9,25,[0_1|1]), (9,30,[0_1|1]), (9,35,[1_1|1, 2_1|1, 3_1|1, 4_1|1, 5_1|1, 0_1|1]), (9,36,[0_1|2]), (9,40,[0_1|2]), (9,45,[0_1|2]), (9,50,[0_1|2]), (9,55,[0_1|2]), (10,10,[1_1|0, 2_1|0, 3_1|0, 4_1|0, 5_1|0, cons_0_1|0]), (11,12,[2_1|1]), (12,13,[1_1|1]), (13,14,[3_1|1]), (14,10,[4_1|1]), (15,16,[5_1|1]), (16,17,[2_1|1]), (17,18,[1_1|1]), (18,19,[4_1|1]), (19,10,[3_1|1]), (20,21,[1_1|1]), (21,22,[5_1|1]), (22,23,[2_1|1]), (23,24,[4_1|1]), (24,10,[3_1|1]), (25,26,[1_1|1]), (26,27,[5_1|1]), (27,28,[3_1|1]), (28,29,[2_1|1]), (29,10,[4_1|1]), (30,31,[5_1|1]), (31,32,[4_1|1]), (32,33,[3_1|1]), (33,34,[1_1|1]), (34,10,[2_1|1]), (35,10,[encArg_1|1]), (35,35,[1_1|1, 2_1|1, 3_1|1, 4_1|1, 5_1|1, 0_1|1]), (35,36,[0_1|2]), (35,40,[0_1|2]), (35,45,[0_1|2]), (35,50,[0_1|2]), (35,55,[0_1|2]), (36,37,[2_1|2]), (37,38,[1_1|2]), (38,39,[3_1|2]), (39,35,[4_1|2]), (40,41,[5_1|2]), (41,42,[2_1|2]), (42,43,[1_1|2]), (43,44,[4_1|2]), (44,35,[3_1|2]), (45,46,[1_1|2]), (46,47,[5_1|2]), (47,48,[2_1|2]), (48,49,[4_1|2]), (49,35,[3_1|2]), (50,51,[1_1|2]), (51,52,[5_1|2]), (52,53,[3_1|2]), (53,54,[2_1|2]), (54,35,[4_1|2]), (55,56,[5_1|2]), (56,57,[4_1|2]), (57,58,[3_1|2]), (58,59,[1_1|2]), (59,35,[2_1|2])}" ---------------------------------------- (8) BOUNDS(1, n^1)