/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), 72 ms] (4) CpxRelTRS (5) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (6) CpxTRS (7) CpxTrsMatchBoundsProof [FINISHED, 7 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: 4(2(4(x1))) -> 2(0(0(5(3(3(5(2(0(4(x1)))))))))) 4(4(2(4(2(x1))))) -> 2(0(5(2(1(4(0(2(0(1(x1)))))))))) 0(5(4(2(4(3(x1)))))) -> 5(1(5(5(3(5(3(0(0(0(x1)))))))))) 1(1(4(5(3(3(x1)))))) -> 1(3(1(1(3(0(1(2(2(1(x1)))))))))) 3(1(4(3(1(2(x1)))))) -> 0(0(1(1(4(2(3(0(0(3(x1)))))))))) 3(2(4(2(4(1(x1)))))) -> 0(2(1(1(1(5(3(1(3(3(x1)))))))))) 3(3(0(4(1(2(x1)))))) -> 3(5(1(2(0(2(0(5(3(1(x1)))))))))) 4(1(4(5(0(5(4(x1))))))) -> 4(1(5(3(1(0(5(3(1(0(x1)))))))))) 4(4(0(5(4(2(2(x1))))))) -> 4(0(4(3(4(4(4(5(4(1(x1)))))))))) 5(4(5(3(2(4(3(x1))))))) -> 2(5(5(5(0(4(5(0(1(4(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(2(x_1)) -> 2(encArg(x_1)) encArg(cons_4(x_1)) -> 4(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encArg(cons_1(x_1)) -> 1(encArg(x_1)) encArg(cons_3(x_1)) -> 3(encArg(x_1)) encArg(cons_5(x_1)) -> 5(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_5(x_1) -> 5(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_1(x_1) -> 1(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: 4(2(4(x1))) -> 2(0(0(5(3(3(5(2(0(4(x1)))))))))) 4(4(2(4(2(x1))))) -> 2(0(5(2(1(4(0(2(0(1(x1)))))))))) 0(5(4(2(4(3(x1)))))) -> 5(1(5(5(3(5(3(0(0(0(x1)))))))))) 1(1(4(5(3(3(x1)))))) -> 1(3(1(1(3(0(1(2(2(1(x1)))))))))) 3(1(4(3(1(2(x1)))))) -> 0(0(1(1(4(2(3(0(0(3(x1)))))))))) 3(2(4(2(4(1(x1)))))) -> 0(2(1(1(1(5(3(1(3(3(x1)))))))))) 3(3(0(4(1(2(x1)))))) -> 3(5(1(2(0(2(0(5(3(1(x1)))))))))) 4(1(4(5(0(5(4(x1))))))) -> 4(1(5(3(1(0(5(3(1(0(x1)))))))))) 4(4(0(5(4(2(2(x1))))))) -> 4(0(4(3(4(4(4(5(4(1(x1)))))))))) 5(4(5(3(2(4(3(x1))))))) -> 2(5(5(5(0(4(5(0(1(4(x1)))))))))) The (relative) TRS S consists of the following rules: encArg(2(x_1)) -> 2(encArg(x_1)) encArg(cons_4(x_1)) -> 4(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encArg(cons_1(x_1)) -> 1(encArg(x_1)) encArg(cons_3(x_1)) -> 3(encArg(x_1)) encArg(cons_5(x_1)) -> 5(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_5(x_1) -> 5(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_1(x_1) -> 1(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: 4(2(4(x1))) -> 2(0(0(5(3(3(5(2(0(4(x1)))))))))) 4(4(2(4(2(x1))))) -> 2(0(5(2(1(4(0(2(0(1(x1)))))))))) 0(5(4(2(4(3(x1)))))) -> 5(1(5(5(3(5(3(0(0(0(x1)))))))))) 1(1(4(5(3(3(x1)))))) -> 1(3(1(1(3(0(1(2(2(1(x1)))))))))) 3(1(4(3(1(2(x1)))))) -> 0(0(1(1(4(2(3(0(0(3(x1)))))))))) 3(2(4(2(4(1(x1)))))) -> 0(2(1(1(1(5(3(1(3(3(x1)))))))))) 3(3(0(4(1(2(x1)))))) -> 3(5(1(2(0(2(0(5(3(1(x1)))))))))) 4(1(4(5(0(5(4(x1))))))) -> 4(1(5(3(1(0(5(3(1(0(x1)))))))))) 4(4(0(5(4(2(2(x1))))))) -> 4(0(4(3(4(4(4(5(4(1(x1)))))))))) 5(4(5(3(2(4(3(x1))))))) -> 2(5(5(5(0(4(5(0(1(4(x1)))))))))) The (relative) TRS S consists of the following rules: encArg(2(x_1)) -> 2(encArg(x_1)) encArg(cons_4(x_1)) -> 4(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encArg(cons_1(x_1)) -> 1(encArg(x_1)) encArg(cons_3(x_1)) -> 3(encArg(x_1)) encArg(cons_5(x_1)) -> 5(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_5(x_1) -> 5(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_1(x_1) -> 1(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: 4(2(4(x1))) -> 2(0(0(5(3(3(5(2(0(4(x1)))))))))) 4(4(2(4(2(x1))))) -> 2(0(5(2(1(4(0(2(0(1(x1)))))))))) 0(5(4(2(4(3(x1)))))) -> 5(1(5(5(3(5(3(0(0(0(x1)))))))))) 1(1(4(5(3(3(x1)))))) -> 1(3(1(1(3(0(1(2(2(1(x1)))))))))) 3(1(4(3(1(2(x1)))))) -> 0(0(1(1(4(2(3(0(0(3(x1)))))))))) 3(2(4(2(4(1(x1)))))) -> 0(2(1(1(1(5(3(1(3(3(x1)))))))))) 3(3(0(4(1(2(x1)))))) -> 3(5(1(2(0(2(0(5(3(1(x1)))))))))) 4(1(4(5(0(5(4(x1))))))) -> 4(1(5(3(1(0(5(3(1(0(x1)))))))))) 4(4(0(5(4(2(2(x1))))))) -> 4(0(4(3(4(4(4(5(4(1(x1)))))))))) 5(4(5(3(2(4(3(x1))))))) -> 2(5(5(5(0(4(5(0(1(4(x1)))))))))) encArg(2(x_1)) -> 2(encArg(x_1)) encArg(cons_4(x_1)) -> 4(encArg(x_1)) encArg(cons_0(x_1)) -> 0(encArg(x_1)) encArg(cons_1(x_1)) -> 1(encArg(x_1)) encArg(cons_3(x_1)) -> 3(encArg(x_1)) encArg(cons_5(x_1)) -> 5(encArg(x_1)) encode_4(x_1) -> 4(encArg(x_1)) encode_2(x_1) -> 2(encArg(x_1)) encode_0(x_1) -> 0(encArg(x_1)) encode_5(x_1) -> 5(encArg(x_1)) encode_3(x_1) -> 3(encArg(x_1)) encode_1(x_1) -> 1(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. "[67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171] {(67,68,[4_1|0, 0_1|0, 1_1|0, 3_1|0, 5_1|0, encArg_1|0, encode_4_1|0, encode_2_1|0, encode_0_1|0, encode_5_1|0, encode_3_1|0, encode_1_1|0]), (67,69,[2_1|1, 4_1|1, 0_1|1, 1_1|1, 3_1|1, 5_1|1]), (67,70,[2_1|2]), (67,79,[2_1|2]), (67,88,[4_1|2]), (67,97,[4_1|2]), (67,106,[5_1|2]), (67,115,[1_1|2]), (67,124,[0_1|2]), (67,133,[0_1|2]), (67,142,[3_1|2]), (67,163,[2_1|2]), (68,68,[2_1|0, cons_4_1|0, cons_0_1|0, cons_1_1|0, cons_3_1|0, cons_5_1|0]), (69,68,[encArg_1|1]), (69,69,[2_1|1, 4_1|1, 0_1|1, 1_1|1, 3_1|1, 5_1|1]), (69,70,[2_1|2]), (69,79,[2_1|2]), (69,88,[4_1|2]), (69,97,[4_1|2]), (69,106,[5_1|2]), (69,115,[1_1|2]), (69,124,[0_1|2]), (69,133,[0_1|2]), (69,142,[3_1|2]), (69,163,[2_1|2]), (70,71,[0_1|2]), (71,72,[0_1|2]), (72,73,[5_1|2]), (73,74,[3_1|2]), (74,75,[3_1|2]), (75,76,[5_1|2]), (76,77,[2_1|2]), (77,78,[0_1|2]), (78,69,[4_1|2]), (78,88,[4_1|2]), (78,97,[4_1|2]), (78,70,[2_1|2]), (78,79,[2_1|2]), (79,80,[0_1|2]), (80,81,[5_1|2]), (81,82,[2_1|2]), (82,83,[1_1|2]), (83,84,[4_1|2]), (84,85,[0_1|2]), (85,86,[2_1|2]), (86,87,[0_1|2]), (87,69,[1_1|2]), (87,70,[1_1|2]), (87,79,[1_1|2]), (87,163,[1_1|2]), (87,115,[1_1|2]), (88,89,[0_1|2]), (89,90,[4_1|2]), (90,91,[3_1|2]), (91,92,[4_1|2]), (92,93,[4_1|2]), (93,94,[4_1|2]), (94,95,[5_1|2]), (95,96,[4_1|2]), (95,97,[4_1|2]), (96,69,[1_1|2]), (96,70,[1_1|2]), (96,79,[1_1|2]), (96,163,[1_1|2]), (96,115,[1_1|2]), (97,98,[1_1|2]), (98,99,[5_1|2]), (99,100,[3_1|2]), (100,101,[1_1|2]), (101,102,[0_1|2]), (102,103,[5_1|2]), (103,104,[3_1|2]), (104,105,[1_1|2]), (105,69,[0_1|2]), (105,88,[0_1|2]), (105,97,[0_1|2]), (105,106,[5_1|2]), (106,107,[1_1|2]), (107,108,[5_1|2]), (108,109,[5_1|2]), (109,110,[3_1|2]), (110,111,[5_1|2]), (111,112,[3_1|2]), (112,113,[0_1|2]), (113,114,[0_1|2]), (114,69,[0_1|2]), (114,142,[0_1|2]), (114,106,[5_1|2]), (115,116,[3_1|2]), (116,117,[1_1|2]), (117,118,[1_1|2]), (118,119,[3_1|2]), (119,120,[0_1|2]), (120,121,[1_1|2]), (121,122,[2_1|2]), (122,123,[2_1|2]), (123,69,[1_1|2]), (123,142,[1_1|2]), (123,115,[1_1|2]), (124,125,[0_1|2]), (125,126,[1_1|2]), (126,127,[1_1|2]), (127,128,[4_1|2]), (128,129,[2_1|2]), (129,130,[3_1|2]), (130,131,[0_1|2]), (131,132,[0_1|2]), (132,69,[3_1|2]), (132,70,[3_1|2]), (132,79,[3_1|2]), (132,163,[3_1|2]), (132,124,[0_1|2]), (132,133,[0_1|2]), (132,142,[3_1|2]), (133,134,[2_1|2]), (134,135,[1_1|2]), (135,136,[1_1|2]), (136,137,[1_1|2]), (137,138,[5_1|2]), (138,139,[3_1|2]), (139,140,[1_1|2]), (140,141,[3_1|2]), (140,142,[3_1|2]), (141,69,[3_1|2]), (141,115,[3_1|2]), (141,98,[3_1|2]), (141,124,[0_1|2]), (141,133,[0_1|2]), (141,142,[3_1|2]), (142,143,[5_1|2]), (143,156,[1_1|2]), (156,157,[2_1|2]), (157,158,[0_1|2]), (158,159,[2_1|2]), (159,160,[0_1|2]), (160,161,[5_1|2]), (161,162,[3_1|2]), (161,124,[0_1|2]), (162,69,[1_1|2]), (162,70,[1_1|2]), (162,79,[1_1|2]), (162,163,[1_1|2]), (162,115,[1_1|2]), (163,164,[5_1|2]), (164,165,[5_1|2]), (165,166,[5_1|2]), (166,167,[0_1|2]), (167,168,[4_1|2]), (168,169,[5_1|2]), (169,170,[0_1|2]), (170,171,[1_1|2]), (171,69,[4_1|2]), (171,142,[4_1|2]), (171,70,[2_1|2]), (171,79,[2_1|2]), (171,88,[4_1|2]), (171,97,[4_1|2])}" ---------------------------------------- (8) BOUNDS(1, n^1)