YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.c # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination of the given C Problem could be proven: (0) C Problem (1) CToIRSProof [EQUIVALENT, 0 ms] (2) IntTRS (3) TerminationGraphProcessor [SOUND, 29 ms] (4) IntTRS (5) IntTRSCompressionProof [EQUIVALENT, 18 ms] (6) IntTRS (7) IntTRSUnneededArgumentFilterProof [EQUIVALENT, 0 ms] (8) IntTRS (9) PolynomialOrderProcessor [EQUIVALENT, 7 ms] (10) 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, oldx) -> f2(x_1, oldx) :|: TRUE f3(x1, x2) -> f4(x1, x1) :|: TRUE f4(x3, x4) -> f5(x5, x4) :|: TRUE f2(x6, x7) -> f3(x6, x7) :|: x6 > 1 && 2 * x6 <= x7 f5(x8, x9) -> f2(x8, x9) :|: TRUE f2(x10, x11) -> f6(x10, x11) :|: x10 <= 1 f2(x12, x13) -> f6(x12, x13) :|: 2 * x12 > x13 Start term: f1(x, oldx) ---------------------------------------- (3) TerminationGraphProcessor (SOUND) Constructed the termination graph and obtained one non-trivial SCC. ---------------------------------------- (4) Obligation: Rules: f2(x6, x7) -> f3(x6, x7) :|: x6 > 1 && 2 * x6 <= x7 f5(x8, x9) -> f2(x8, x9) :|: TRUE f4(x3, x4) -> f5(x5, x4) :|: TRUE f3(x1, x2) -> f4(x1, x1) :|: TRUE ---------------------------------------- (5) IntTRSCompressionProof (EQUIVALENT) Compressed rules. ---------------------------------------- (6) Obligation: Rules: f4(x3:0, x4:0) -> f4(x5:0, x5:0) :|: x5:0 > 1 && x4:0 >= 2 * x5:0 ---------------------------------------- (7) IntTRSUnneededArgumentFilterProof (EQUIVALENT) Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements: f4(x1, x2) -> f4(x2) ---------------------------------------- (8) Obligation: Rules: f4(x4:0) -> f4(x5:0) :|: x5:0 > 1 && x4:0 >= 2 * x5:0 ---------------------------------------- (9) PolynomialOrderProcessor (EQUIVALENT) Found the following polynomial interpretation: [f4(x)] = x The following rules are decreasing: f4(x4:0) -> f4(x5:0) :|: x5:0 > 1 && x4:0 >= 2 * x5:0 The following rules are bounded: f4(x4:0) -> f4(x5:0) :|: x5:0 > 1 && x4:0 >= 2 * x5:0 ---------------------------------------- (10) YES