/export/starexec/sandbox/solver/bin/starexec_run_c /export/starexec/sandbox/benchmark/theBenchmark.c /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox/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, 47 ms] (4) IntTRS (5) IntTRSCompressionProof [EQUIVALENT, 0 ms] (6) IntTRS (7) IntTRSUnneededArgumentFilterProof [EQUIVALENT, 0 ms] (8) IntTRS (9) RankingReductionPairProof [EQUIVALENT, 26 ms] (10) YES ---------------------------------------- (0) Obligation: c file /export/starexec/sandbox/benchmark/theBenchmark.c ---------------------------------------- (1) CToIRSProof (EQUIVALENT) Parsed C Integer Program as IRS. ---------------------------------------- (2) Obligation: Rules: f1(i, c) -> f2(0, c) :|: TRUE f2(x, x1) -> f3(x, 0) :|: TRUE f4(x2, x3) -> f5(arith, x3) :|: TRUE && arith = x2 + 1 f7(x20, x21) -> f9(x20, x22) :|: TRUE && x22 = x21 + 1 f5(x6, x7) -> f6(x6, x7) :|: x6 <= 10 f5(x8, x9) -> f7(x8, x9) :|: x8 > 10 f6(x10, x11) -> f8(x10, x11) :|: TRUE f9(x12, x13) -> f8(x12, x13) :|: TRUE f3(x14, x15) -> f4(x14, x15) :|: x14 < 20 f8(x16, x17) -> f3(x16, x17) :|: TRUE f3(x18, x19) -> f10(x18, x19) :|: x18 >= 20 Start term: f1(i, c) ---------------------------------------- (3) TerminationGraphProcessor (SOUND) Constructed the termination graph and obtained one non-trivial SCC. ---------------------------------------- (4) Obligation: Rules: f3(x14, x15) -> f4(x14, x15) :|: x14 < 20 f8(x16, x17) -> f3(x16, x17) :|: TRUE f6(x10, x11) -> f8(x10, x11) :|: TRUE f5(x6, x7) -> f6(x6, x7) :|: x6 <= 10 f4(x2, x3) -> f5(arith, x3) :|: TRUE && arith = x2 + 1 f9(x12, x13) -> f8(x12, x13) :|: TRUE f7(x20, x21) -> f9(x20, x22) :|: TRUE && x22 = x21 + 1 f5(x8, x9) -> f7(x8, x9) :|: x8 > 10 ---------------------------------------- (5) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (6) Obligation: Rules: f5(x8:0, x9:0) -> f5(x8:0 + 1, x9:0 + 1) :|: x8:0 > 10 && x8:0 < 20 f5(x6:0, x7:0) -> f5(x6:0 + 1, x7:0) :|: x6:0 < 11 && x6:0 < 20 ---------------------------------------- (7) IntTRSUnneededArgumentFilterProof (EQUIVALENT) Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements: f5(x1, x2) -> f5(x1) ---------------------------------------- (8) Obligation: Rules: f5(x8:0) -> f5(x8:0 + 1) :|: x8:0 > 10 && x8:0 < 20 f5(x6:0) -> f5(x6:0 + 1) :|: x6:0 < 11 && x6:0 < 20 ---------------------------------------- (9) RankingReductionPairProof (EQUIVALENT) Interpretation: [ f5 ] = -1*f5_1 The following rules are decreasing: f5(x8:0) -> f5(x8:0 + 1) :|: x8:0 > 10 && x8:0 < 20 f5(x6:0) -> f5(x6:0 + 1) :|: x6:0 < 11 && x6:0 < 20 The following rules are bounded: f5(x8:0) -> f5(x8:0 + 1) :|: x8:0 > 10 && x8:0 < 20 f5(x6:0) -> f5(x6:0 + 1) :|: x6:0 < 11 && x6:0 < 20 ---------------------------------------- (10) YES