/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.jar /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- NO proof of /export/starexec/sandbox/benchmark/theBenchmark.jar # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty termination of the given Bare JBC problem could be disproven: (0) Bare JBC problem (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] (2) JBC problem (3) JBCToGraph [EQUIVALENT, 308 ms] (4) JBCTerminationGraph (5) JBCNonTerm [COMPLETE, 105 ms] (6) NO ---------------------------------------- (0) Obligation: need to prove termination of the following program: public class NO_11 { public static void main(String args[]) { int j = 100; for (int i = 0; i < j; i++) { if (i < j - 2) continue; if (i > j - 2) break; j++; } } } ---------------------------------------- (1) BareJBCToJBCProof (EQUIVALENT) initialized classpath ---------------------------------------- (2) Obligation: need to prove termination of the following program: public class NO_11 { public static void main(String args[]) { int j = 100; for (int i = 0; i < j; i++) { if (i < j - 2) continue; if (i > j - 2) break; j++; } } } ---------------------------------------- (3) JBCToGraph (EQUIVALENT) Constructed TerminationGraph. ---------------------------------------- (4) Obligation: Termination Graph based on JBC Program: NO_11.main([Ljava/lang/String;)V: Graph of 41 nodes with 1 SCC. ---------------------------------------- (5) JBCNonTerm (COMPLETE) Reached a loop using the following run: 0: YES: (JL1) 1: YES: (JL1) 2: YES: (JL1) 3: YES: (JL1) 4: YES: (JL1) Start state of loop: [o36(lv_0_0)] o36([java.lang.String...]): Object() -->{java.lang.Object...} i35: [100,+inf)(l3) i36: # YES: (JL1) In the loop head node, references [i36, i35] were interesting. All methods calls in the loop body are side-effect free, hence they can be ignored. By SMT, we could prove (100 <= initial_i35 and ((((path1_i39 = (path1_i35 - 2) and path1_i40 = (path1_i36 + 1) and path1_i35 = res_i35 and path1_i40 = res_i36 and path1_i35 = initial_i35 and path1_i36 = initial_i36) and (path1_i36 < path1_i35 and path1_i36 < path1_i35 and path1_i36 < path1_i39 and path1_i36 < path1_i39)) or ((path2_i39 = (path2_i35 - 2) and path2_i42 = (path2_i35 - 2) and path2_i43 = (path2_i35 + 1) and path2_i44 = (path2_i36 + 1) and path2_i43 = res_i35 and path2_i44 = res_i36 and path2_i35 = initial_i35 and path2_i36 = initial_i36) and (path2_i36 < path2_i35 and path2_i36 < path2_i35 and path2_i36 >= path2_i39 and path2_i36 >= path2_i39 and path2_i36 <= path2_i42 and path2_i36 <= path2_i42))) and (((res1_i39 = (res1_i35 - 2) and res1_i40 = (res1_i36 + 1) and res_i35 = res1_i35 and res_i36 = res1_i36) and !(res1_i36 < res1_i35 and res1_i36 < res1_i35 and res1_i36 < res1_i39 and res1_i36 < res1_i39)) and ((res2_i39 = (res2_i35 - 2) and res2_i42 = (res2_i35 - 2) and res2_i43 = (res2_i35 + 1) and res2_i44 = (res2_i36 + 1) and res_i35 = res2_i35 and res_i36 = res2_i36) and !(res2_i36 < res2_i35 and res2_i36 < res2_i35 and res2_i36 >= res2_i39 and res2_i36 >= res2_i39 and res2_i36 <= res2_i42 and res2_i36 <= res2_i42))))) to be UNSAT. Consequently, the loop will not terminate. ---------------------------------------- (6) NO