/export/starexec/sandbox2/solver/bin/starexec_run_c /export/starexec/sandbox2/benchmark/theBenchmark.c /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.c # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination of the given C Problem could be proven: (0) C Problem (1) CToIRSProof [EQUIVALENT, 0 ms] (2) IntTRS (3) TerminationGraphProcessor [SOUND, 50 ms] (4) IntTRS (5) IntTRSCompressionProof [EQUIVALENT, 9 ms] (6) IntTRS (7) PolynomialOrderProcessor [EQUIVALENT, 0 ms] (8) AND (9) IntTRS (10) RankingReductionPairProof [EQUIVALENT, 0 ms] (11) YES (12) IntTRS (13) PolynomialOrderProcessor [EQUIVALENT, 2 ms] (14) YES ---------------------------------------- (0) Obligation: c file /export/starexec/sandbox2/benchmark/theBenchmark.c ---------------------------------------- (1) CToIRSProof (EQUIVALENT) Parsed C Integer Program as IRS. ---------------------------------------- (2) Obligation: Rules: f1(x, c) -> f2(x_1, c) :|: TRUE f2(x1, x2) -> f3(x1, 1) :|: TRUE f5(x3, x4) -> f8(arith, x4) :|: TRUE && arith = x3 - 10 f8(x25, x26) -> f9(x25, x27) :|: TRUE && x27 = x26 - 1 f6(x28, x29) -> f10(x30, x29) :|: TRUE && x30 = x28 + 11 f10(x31, x32) -> f11(x31, x33) :|: TRUE && x33 = x32 + 1 f4(x11, x12) -> f5(x11, x12) :|: x11 > 100 f4(x13, x14) -> f6(x13, x14) :|: x13 <= 100 f9(x15, x16) -> f7(x15, x16) :|: TRUE f11(x17, x18) -> f7(x17, x18) :|: TRUE f3(x19, x20) -> f4(x19, x20) :|: x20 > 0 f7(x21, x22) -> f3(x21, x22) :|: TRUE f3(x23, x24) -> f12(x23, x24) :|: x24 <= 0 Start term: f1(x, c) ---------------------------------------- (3) TerminationGraphProcessor (SOUND) Constructed the termination graph and obtained one non-trivial SCC. ---------------------------------------- (4) Obligation: Rules: f3(x19, x20) -> f4(x19, x20) :|: x20 > 0 f7(x21, x22) -> f3(x21, x22) :|: TRUE f9(x15, x16) -> f7(x15, x16) :|: TRUE f8(x25, x26) -> f9(x25, x27) :|: TRUE && x27 = x26 - 1 f5(x3, x4) -> f8(arith, x4) :|: TRUE && arith = x3 - 10 f4(x11, x12) -> f5(x11, x12) :|: x11 > 100 f11(x17, x18) -> f7(x17, x18) :|: TRUE f10(x31, x32) -> f11(x31, x33) :|: TRUE && x33 = x32 + 1 f6(x28, x29) -> f10(x30, x29) :|: TRUE && x30 = x28 + 11 f4(x13, x14) -> f6(x13, x14) :|: x13 <= 100 ---------------------------------------- (5) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (6) Obligation: Rules: f7(x21:0, x22:0) -> f7(x21:0 - 10, x22:0 - 1) :|: x22:0 > 0 && x21:0 > 100 f7(x, x1) -> f7(x + 11, x1 + 1) :|: x1 > 0 && x < 101 ---------------------------------------- (7) PolynomialOrderProcessor (EQUIVALENT) Found the following polynomial interpretation: [f7(x, x1)] = 89 - x + 11*x1 The following rules are decreasing: f7(x21:0, x22:0) -> f7(x21:0 - 10, x22:0 - 1) :|: x22:0 > 0 && x21:0 > 100 The following rules are bounded: f7(x, x1) -> f7(x + 11, x1 + 1) :|: x1 > 0 && x < 101 ---------------------------------------- (8) Complex Obligation (AND) ---------------------------------------- (9) Obligation: Rules: f7(x, x1) -> f7(x + 11, x1 + 1) :|: x1 > 0 && x < 101 ---------------------------------------- (10) RankingReductionPairProof (EQUIVALENT) Interpretation: [ f7 ] = -1/11*f7_1 The following rules are decreasing: f7(x, x1) -> f7(x + 11, x1 + 1) :|: x1 > 0 && x < 101 The following rules are bounded: f7(x, x1) -> f7(x + 11, x1 + 1) :|: x1 > 0 && x < 101 ---------------------------------------- (11) YES ---------------------------------------- (12) Obligation: Rules: f7(x21:0, x22:0) -> f7(x21:0 - 10, x22:0 - 1) :|: x22:0 > 0 && x21:0 > 100 ---------------------------------------- (13) PolynomialOrderProcessor (EQUIVALENT) Found the following polynomial interpretation: [f7(x, x1)] = x1 The following rules are decreasing: f7(x21:0, x22:0) -> f7(x21:0 - 10, x22:0 - 1) :|: x22:0 > 0 && x21:0 > 100 The following rules are bounded: f7(x21:0, x22:0) -> f7(x21:0 - 10, x22:0 - 1) :|: x22:0 > 0 && x21:0 > 100 ---------------------------------------- (14) YES