4.53/2.03 NO 4.53/2.04 proof of /export/starexec/sandbox/benchmark/theBenchmark.jar 4.53/2.04 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.53/2.04 4.53/2.04 4.53/2.04 termination of the given Bare JBC problem could be disproven: 4.53/2.04 4.53/2.04 (0) Bare JBC problem 4.53/2.04 (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] 4.53/2.04 (2) JBC problem 4.53/2.04 (3) JBCNonTerm [COMPLETE, 234 ms] 4.53/2.04 (4) NO 4.53/2.04 4.53/2.04 4.53/2.04 ---------------------------------------- 4.53/2.04 4.53/2.04 (0) 4.53/2.04 Obligation: 4.53/2.04 need to prove termination of the following program: 4.53/2.04 package simple.trueDiv; 4.53/2.04 4.53/2.04 public class Main { 4.53/2.04 4.53/2.04 /** 4.53/2.04 * @param args 4.53/2.04 */ 4.53/2.04 public static void main(String[] args) { 4.53/2.04 TrueDiv.loop(args.length); 4.53/2.04 } 4.53/2.04 4.53/2.04 } 4.53/2.04 4.53/2.04 4.53/2.04 package simple.trueDiv; 4.53/2.04 4.53/2.04 public class TrueDiv { 4.53/2.04 4.53/2.04 public static void loop(int i) { 4.53/2.04 while (true) { 4.53/2.04 if (i <= 0) { 4.53/2.04 i--; 4.53/2.04 } else { 4.53/2.04 i++; 4.53/2.04 } 4.53/2.04 } 4.53/2.04 } 4.53/2.04 4.53/2.04 } 4.53/2.04 4.53/2.04 4.53/2.04 4.53/2.04 ---------------------------------------- 4.53/2.04 4.53/2.04 (1) BareJBCToJBCProof (EQUIVALENT) 4.53/2.04 initialized classpath 4.53/2.04 ---------------------------------------- 4.53/2.04 4.53/2.04 (2) 4.53/2.04 Obligation: 4.53/2.04 need to prove termination of the following program: 4.53/2.04 package simple.trueDiv; 4.53/2.04 4.53/2.04 public class Main { 4.53/2.04 4.53/2.04 /** 4.53/2.04 * @param args 4.53/2.04 */ 4.53/2.04 public static void main(String[] args) { 4.53/2.04 TrueDiv.loop(args.length); 4.53/2.04 } 4.53/2.04 4.53/2.04 } 4.53/2.04 4.53/2.04 4.53/2.04 package simple.trueDiv; 4.53/2.04 4.53/2.04 public class TrueDiv { 4.53/2.04 4.53/2.04 public static void loop(int i) { 4.53/2.04 while (true) { 4.53/2.04 if (i <= 0) { 4.53/2.04 i--; 4.53/2.04 } else { 4.53/2.04 i++; 4.53/2.04 } 4.53/2.04 } 4.53/2.04 } 4.53/2.04 4.53/2.04 } 4.53/2.04 4.53/2.04 4.53/2.04 4.53/2.04 ---------------------------------------- 4.53/2.04 4.53/2.04 (3) JBCNonTerm (COMPLETE) 4.53/2.04 Symbolic evaluation of method public static main([Ljava/lang/String;)V never reaches a method end (by explicit return or exception). 4.53/2.04 4.53/2.04 As this is the main method, we can conclude non-termination of the input program. 4.53/2.04 ---------------------------------------- 4.53/2.04 4.53/2.04 (4) 4.53/2.04 NO 4.53/2.06 EOF