/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: 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) IRS2T2 [EQUIVALENT, 0 ms] (4) T2IntSys (5) T2 [EQUIVALENT, 1313 ms] (6) 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, y) -> f2(0, y) :|: TRUE f2(x1, x2) -> f3(x1, 0) :|: TRUE f5(x3, x4) -> f8(x3, arith) :|: TRUE && arith = x4 + 1 f6(x23, x24) -> f9(x23, x25) :|: TRUE && x25 = x24 - 1 f4(x7, x8) -> f5(x7, x8) :|: x7 <= 50 f4(x9, x10) -> f6(x9, x10) :|: x9 > 50 f8(x11, x12) -> f7(x11, x12) :|: TRUE f9(x13, x14) -> f7(x13, x14) :|: TRUE f7(x26, x27) -> f10(x28, x27) :|: TRUE && x28 = x26 + 1 f3(x17, x18) -> f4(x17, x18) :|: x18 >= 0 f10(x19, x20) -> f3(x19, x20) :|: TRUE f3(x21, x22) -> f11(x21, x22) :|: x22 < 0 Start term: f1(x, y) ---------------------------------------- (3) IRS2T2 (EQUIVALENT) Transformed input IRS into an integer transition system.Used the following mapping from defined symbols to location IDs: (f1_2,1) (f2_2,2) (f3_2,3) (f5_2,4) (f8_2,5) (f6_2,6) (f9_2,7) (f4_2,8) (f7_2,9) (f10_2,10) (f11_2,11) ---------------------------------------- (4) Obligation: START: 1; FROM: 1; oldX0 := x0; oldX1 := x1; assume(0 = 0); x0 := 0; x1 := oldX1; TO: 2; FROM: 2; oldX0 := x0; oldX1 := x1; assume(0 = 0); x0 := oldX0; x1 := 0; TO: 3; FROM: 4; oldX0 := x0; oldX1 := x1; oldX2 := -(-(oldX1 + 1)); assume(0 = 0 && oldX2 = oldX1 + 1); x0 := oldX0; x1 := -(-(oldX1 + 1)); TO: 5; FROM: 6; oldX0 := x0; oldX1 := x1; oldX2 := -(1 - oldX1); assume(0 = 0 && oldX2 = oldX1 - 1); x0 := oldX0; x1 := -(1 - oldX1); TO: 7; FROM: 8; oldX0 := x0; oldX1 := x1; assume(oldX0 <= 50); x0 := oldX0; x1 := oldX1; TO: 4; FROM: 8; oldX0 := x0; oldX1 := x1; assume(oldX0 > 50); x0 := oldX0; x1 := oldX1; TO: 6; FROM: 5; oldX0 := x0; oldX1 := x1; assume(0 = 0); x0 := oldX0; x1 := oldX1; TO: 9; FROM: 7; oldX0 := x0; oldX1 := x1; assume(0 = 0); x0 := oldX0; x1 := oldX1; TO: 9; FROM: 9; oldX0 := x0; oldX1 := x1; oldX2 := -(-(oldX0 + 1)); assume(0 = 0 && oldX2 = oldX0 + 1); x0 := -(-(oldX0 + 1)); x1 := oldX1; TO: 10; FROM: 3; oldX0 := x0; oldX1 := x1; assume(oldX1 >= 0); x0 := oldX0; x1 := oldX1; TO: 8; FROM: 10; oldX0 := x0; oldX1 := x1; assume(0 = 0); x0 := oldX0; x1 := oldX1; TO: 3; FROM: 3; oldX0 := x0; oldX1 := x1; assume(oldX1 < 0); x0 := oldX0; x1 := oldX1; TO: 11; ---------------------------------------- (5) T2 (EQUIVALENT) Initially, performed program simplifications using lexicographic rank functions: * Removed transitions 7, 8, 9, 10, 13, 14 using the following rank functions: - Rank function 1: RF for loc. 9: -3*x0 RF for loc. 10: -1-3*x0 RF for loc. 11: 1-3*x0 Bound for (chained) transitions 7: -150 - Rank function 2: RF for loc. 9: -1+3*x1 RF for loc. 10: 1+3*x1 RF for loc. 11: 3*x1 Bound for (chained) transitions 8: -1 Bound for (chained) transitions 13: 0 Bound for (chained) transitions 14: 0 - Rank function 3: RF for loc. 10: 1 RF for loc. 11: 0 Bound for (chained) transitions 9, 10: 1 ---------------------------------------- (6) YES