4.13/1.98 NO 4.13/1.99 proof of /export/starexec/sandbox/benchmark/theBenchmark.jar 4.13/1.99 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.13/1.99 4.13/1.99 4.13/1.99 termination of the given Bare JBC problem could be disproven: 4.13/1.99 4.13/1.99 (0) Bare JBC problem 4.13/1.99 (1) BareJBCToJBCProof [EQUIVALENT, 95 ms] 4.13/1.99 (2) JBC problem 4.13/1.99 (3) JBCNonTerm [COMPLETE, 181 ms] 4.13/1.99 (4) NO 4.13/1.99 4.13/1.99 4.13/1.99 ---------------------------------------- 4.13/1.99 4.13/1.99 (0) 4.13/1.99 Obligation: 4.13/1.99 need to prove termination of the following program: 4.13/1.99 package simple.ex02; 4.13/1.99 4.13/1.99 public class Ex02 { 4.13/1.99 4.13/1.99 public static void loop(int i) { 4.13/1.99 while (i > 0) { 4.13/1.99 if (i != 5) { 4.13/1.99 i--; 4.13/1.99 } 4.13/1.99 } 4.13/1.99 } 4.13/1.99 } 4.13/1.99 4.13/1.99 4.13/1.99 package simple.ex02; 4.13/1.99 4.13/1.99 public class Main { 4.13/1.99 4.13/1.99 /** 4.13/1.99 * @param args 4.13/1.99 */ 4.13/1.99 public static void main(String[] args) { 4.13/1.99 Ex02.loop(args.length); 4.13/1.99 4.13/1.99 } 4.13/1.99 4.13/1.99 } 4.13/1.99 4.13/1.99 4.13/1.99 4.13/1.99 ---------------------------------------- 4.13/1.99 4.13/1.99 (1) BareJBCToJBCProof (EQUIVALENT) 4.13/1.99 initialized classpath 4.13/1.99 ---------------------------------------- 4.13/1.99 4.13/1.99 (2) 4.13/1.99 Obligation: 4.13/1.99 need to prove termination of the following program: 4.13/1.99 package simple.ex02; 4.13/1.99 4.13/1.99 public class Ex02 { 4.13/1.99 4.13/1.99 public static void loop(int i) { 4.13/1.99 while (i > 0) { 4.13/1.99 if (i != 5) { 4.13/1.99 i--; 4.13/1.99 } 4.13/1.99 } 4.13/1.99 } 4.13/1.99 } 4.13/1.99 4.13/1.99 4.13/1.99 package simple.ex02; 4.13/1.99 4.13/1.99 public class Main { 4.13/1.99 4.13/1.99 /** 4.13/1.99 * @param args 4.13/1.99 */ 4.13/1.99 public static void main(String[] args) { 4.13/1.99 Ex02.loop(args.length); 4.13/1.99 4.13/1.99 } 4.13/1.99 4.13/1.99 } 4.13/1.99 4.13/1.99 4.13/1.99 4.13/1.99 ---------------------------------------- 4.13/1.99 4.13/1.99 (3) JBCNonTerm (COMPLETE) 4.13/1.99 Constructed a run with a repetition. States 3 and 8 are repetitions (when considering only the interesting positions [lv_0_0]). 4.13/1.99 4.13/1.99 0: 4.13/1.99 a2([java.lang.String...]): length 5 -->{java.lang.Object...} 4.13/1.99 YES: (JL1) 4.13/1.99 1: 4.13/1.99 a2([java.lang.String...]): length 5 -->{java.lang.Object...} 4.13/1.99 YES: (JL1) 4.13/1.99 2: 4.13/1.99 YES: (JL1) 4.13/1.99 3: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 4: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 5: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 6: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 7: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 8: 4.13/1.99 4.13/1.99 YES: (JL1) 4.13/1.99 4.13/1.99 ---------------------------------------- 4.13/1.99 4.13/1.99 (4) 4.13/1.99 NO 4.38/2.01 EOF