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