4.23/1.95 NO 4.23/1.96 proof of /export/starexec/sandbox/benchmark/theBenchmark.jar 4.23/1.96 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.23/1.96 4.23/1.96 4.23/1.96 termination of the given Bare JBC problem could be disproven: 4.23/1.96 4.23/1.96 (0) Bare JBC problem 4.23/1.96 (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] 4.23/1.96 (2) JBC problem 4.23/1.96 (3) JBCNonTerm [COMPLETE, 184 ms] 4.23/1.96 (4) NO 4.23/1.96 4.23/1.96 4.23/1.96 ---------------------------------------- 4.23/1.96 4.23/1.96 (0) 4.23/1.96 Obligation: 4.23/1.96 need to prove termination of the following program: 4.23/1.96 /** 4.23/1.96 * A loop using the continue statement before making the loop 4.23/1.96 * progress. 4.23/1.96 * 4.23/1.96 * The call to main() does not terminate. 4.23/1.96 * 4.23/1.96 * Julia + BinTerm cannot prove that the call to main() terminates. 4.23/1.96 * 4.23/1.96 * @author Fausto Spoto 4.23/1.96 */ 4.23/1.96 4.23/1.96 public class Continue { 4.23/1.96 public static void main(String[] args) { 4.23/1.96 int i = 0; 4.23/1.96 4.23/1.96 while (i < 20) { 4.23/1.96 if (i <= 10) continue; 4.23/1.96 i++; 4.23/1.96 } 4.23/1.96 } 4.23/1.96 } 4.23/1.96 4.23/1.96 4.23/1.96 ---------------------------------------- 4.23/1.96 4.23/1.96 (1) BareJBCToJBCProof (EQUIVALENT) 4.23/1.96 initialized classpath 4.23/1.96 ---------------------------------------- 4.23/1.96 4.23/1.96 (2) 4.23/1.96 Obligation: 4.23/1.96 need to prove termination of the following program: 4.23/1.96 /** 4.23/1.96 * A loop using the continue statement before making the loop 4.23/1.96 * progress. 4.23/1.96 * 4.23/1.96 * The call to main() does not terminate. 4.23/1.96 * 4.23/1.96 * Julia + BinTerm cannot prove that the call to main() terminates. 4.23/1.96 * 4.23/1.96 * @author Fausto Spoto 4.23/1.96 */ 4.23/1.96 4.23/1.96 public class Continue { 4.23/1.96 public static void main(String[] args) { 4.23/1.96 int i = 0; 4.23/1.96 4.23/1.96 while (i < 20) { 4.23/1.96 if (i <= 10) continue; 4.23/1.96 i++; 4.23/1.96 } 4.23/1.96 } 4.23/1.96 } 4.23/1.96 4.23/1.96 4.23/1.96 ---------------------------------------- 4.23/1.96 4.23/1.96 (3) JBCNonTerm (COMPLETE) 4.23/1.96 Constructed a run with a repetition. States 2 and 9 are repetitions (when considering only the interesting positions []). 4.23/1.96 4.23/1.96 0: 4.23/1.96 YES: (JL1) 4.23/1.96 1: 4.23/1.96 YES: (JL1) 4.23/1.96 2: 4.23/1.96 YES: (JL1) 4.23/1.96 3: 4.23/1.96 YES: (JL1) 4.23/1.96 4: 4.23/1.96 YES: (JL1) 4.23/1.96 5: 4.23/1.96 YES: (JL1) 4.23/1.96 6: 4.23/1.96 YES: (JL1) 4.23/1.96 7: 4.23/1.96 YES: (JL1) 4.23/1.96 8: 4.23/1.96 YES: (JL1) 4.23/1.96 9: 4.23/1.96 YES: (JL1) 4.23/1.96 4.23/1.96 ---------------------------------------- 4.23/1.96 4.23/1.96 (4) 4.23/1.96 NO 4.23/1.99 EOF