4.88/2.10 YES 4.88/2.12 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 4.88/2.12 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.88/2.12 4.88/2.12 4.88/2.12 Termination of the given C Problem could be proven: 4.88/2.12 4.88/2.12 (0) C Problem 4.88/2.12 (1) CToIRSProof [EQUIVALENT, 0 ms] 4.88/2.12 (2) IntTRS 4.88/2.12 (3) TerminationGraphProcessor [SOUND, 39 ms] 4.88/2.12 (4) IntTRS 4.88/2.12 (5) IntTRSCompressionProof [EQUIVALENT, 0 ms] 4.88/2.12 (6) IntTRS 4.88/2.12 (7) PolynomialOrderProcessor [EQUIVALENT, 0 ms] 4.88/2.12 (8) IntTRS 4.88/2.12 (9) PolynomialOrderProcessor [EQUIVALENT, 0 ms] 4.88/2.12 (10) YES 4.88/2.12 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (0) 4.88/2.12 Obligation: 4.88/2.12 c file /export/starexec/sandbox/benchmark/theBenchmark.c 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (1) CToIRSProof (EQUIVALENT) 4.88/2.12 Parsed C Integer Program as IRS. 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (2) 4.88/2.12 Obligation: 4.88/2.12 Rules: 4.88/2.12 f1(i, j) -> f2(0, j) :|: TRUE 4.88/2.12 f2(x, x1) -> f3(x, 3) :|: TRUE 4.88/2.12 f5(x2, x3) -> f6(x2, arith) :|: TRUE && arith = x3 - 1 4.88/2.12 f6(x20, x21) -> f7(x20, x22) :|: TRUE && x22 = x21 + 2 4.88/2.12 f4(x6, x7) -> f5(x6, x7) :|: x7 < 12 4.88/2.12 f7(x8, x9) -> f4(x8, x9) :|: TRUE 4.88/2.12 f4(x10, x11) -> f8(x10, x11) :|: x11 >= 12 4.88/2.12 f8(x23, x24) -> f9(x25, x24) :|: TRUE && x25 = x23 + 1 4.88/2.12 f3(x14, x15) -> f4(x14, x15) :|: x14 < 10 4.88/2.12 f9(x16, x17) -> f3(x16, x17) :|: TRUE 4.88/2.12 f3(x18, x19) -> f10(x18, x19) :|: x18 >= 10 4.88/2.12 Start term: f1(i, j) 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (3) TerminationGraphProcessor (SOUND) 4.88/2.12 Constructed the termination graph and obtained one non-trivial SCC. 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (4) 4.88/2.12 Obligation: 4.88/2.12 Rules: 4.88/2.12 f3(x14, x15) -> f4(x14, x15) :|: x14 < 10 4.88/2.12 f9(x16, x17) -> f3(x16, x17) :|: TRUE 4.88/2.12 f8(x23, x24) -> f9(x25, x24) :|: TRUE && x25 = x23 + 1 4.88/2.12 f4(x10, x11) -> f8(x10, x11) :|: x11 >= 12 4.88/2.12 f7(x8, x9) -> f4(x8, x9) :|: TRUE 4.88/2.12 f6(x20, x21) -> f7(x20, x22) :|: TRUE && x22 = x21 + 2 4.88/2.12 f5(x2, x3) -> f6(x2, arith) :|: TRUE && arith = x3 - 1 4.88/2.12 f4(x6, x7) -> f5(x6, x7) :|: x7 < 12 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (5) IntTRSCompressionProof (EQUIVALENT) 4.88/2.12 Compressed rules. 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (6) 4.88/2.12 Obligation: 4.88/2.12 Rules: 4.88/2.12 f4(x10:0, x11:0) -> f4(x10:0 + 1, x11:0) :|: x11:0 > 11 && x10:0 < 9 4.88/2.12 f4(x6:0, x7:0) -> f4(x6:0, x7:0 + 1) :|: x7:0 < 12 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (7) PolynomialOrderProcessor (EQUIVALENT) 4.88/2.12 Found the following polynomial interpretation: 4.88/2.12 [f4(x, x1)] = 144 - 24*x1 + x1^2 4.88/2.12 4.88/2.12 The following rules are decreasing: 4.88/2.12 f4(x6:0, x7:0) -> f4(x6:0, x7:0 + 1) :|: x7:0 < 12 4.88/2.12 The following rules are bounded: 4.88/2.12 f4(x10:0, x11:0) -> f4(x10:0 + 1, x11:0) :|: x11:0 > 11 && x10:0 < 9 4.88/2.12 f4(x6:0, x7:0) -> f4(x6:0, x7:0 + 1) :|: x7:0 < 12 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (8) 4.88/2.12 Obligation: 4.88/2.12 Rules: 4.88/2.12 f4(x10:0, x11:0) -> f4(x10:0 + 1, x11:0) :|: x11:0 > 11 && x10:0 < 9 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (9) PolynomialOrderProcessor (EQUIVALENT) 4.88/2.12 Found the following polynomial interpretation: 4.88/2.12 [f4(x, x1)] = 8 - x 4.88/2.12 4.88/2.12 The following rules are decreasing: 4.88/2.12 f4(x10:0, x11:0) -> f4(x10:0 + 1, x11:0) :|: x11:0 > 11 && x10:0 < 9 4.88/2.12 The following rules are bounded: 4.88/2.12 f4(x10:0, x11:0) -> f4(x10:0 + 1, x11:0) :|: x11:0 > 11 && x10:0 < 9 4.88/2.12 4.88/2.12 ---------------------------------------- 4.88/2.12 4.88/2.12 (10) 4.88/2.12 YES 5.09/2.21 EOF