3.52/1.77 NO 3.52/1.78 proof of /export/starexec/sandbox2/benchmark/theBenchmark.jar 3.52/1.78 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 3.52/1.78 3.52/1.78 3.52/1.78 termination of the given Bare JBC problem could be disproven: 3.52/1.78 3.52/1.78 (0) Bare JBC problem 3.52/1.78 (1) BareJBCToJBCProof [EQUIVALENT, 95 ms] 3.52/1.78 (2) JBC problem 3.52/1.78 (3) JBCNonTerm [COMPLETE, 68 ms] 3.52/1.78 (4) NO 3.52/1.78 3.52/1.78 3.52/1.78 ---------------------------------------- 3.52/1.78 3.52/1.78 (0) 3.52/1.78 Obligation: 3.52/1.78 need to prove termination of the following program: 3.52/1.78 public class A { 3.52/1.78 3.52/1.78 public static int f; 3.52/1.78 3.52/1.78 public A() { 3.52/1.78 while (true) {} 3.52/1.78 } 3.52/1.78 3.52/1.78 static { 3.52/1.78 int a = 0; 3.52/1.78 3.52/1.78 while (a == 0) {} 3.52/1.78 } 3.52/1.78 } 3.52/1.78 3.52/1.78 public class Init { 3.52/1.78 3.52/1.78 public void m() { 3.52/1.78 new A(); 3.52/1.78 } 3.52/1.78 3.52/1.78 public void n() { 3.52/1.78 A.f = 13; 3.52/1.78 } 3.52/1.78 3.52/1.78 public static void main(String[] args) { 3.52/1.78 new Init().m(); 3.52/1.78 new Init().n(); 3.52/1.78 } 3.52/1.78 } 3.52/1.78 3.52/1.78 3.52/1.78 ---------------------------------------- 3.52/1.78 3.52/1.78 (1) BareJBCToJBCProof (EQUIVALENT) 3.52/1.78 initialized classpath 3.52/1.78 ---------------------------------------- 3.52/1.78 3.52/1.78 (2) 3.52/1.78 Obligation: 3.52/1.78 need to prove termination of the following program: 3.52/1.78 public class A { 3.52/1.78 3.52/1.78 public static int f; 3.52/1.78 3.52/1.78 public A() { 3.52/1.78 while (true) {} 3.52/1.78 } 3.52/1.78 3.52/1.78 static { 3.52/1.78 int a = 0; 3.52/1.78 3.52/1.78 while (a == 0) {} 3.52/1.78 } 3.52/1.78 } 3.52/1.78 3.52/1.78 public class Init { 3.52/1.78 3.52/1.78 public void m() { 3.52/1.78 new A(); 3.52/1.78 } 3.52/1.78 3.52/1.78 public void n() { 3.52/1.78 A.f = 13; 3.52/1.78 } 3.52/1.78 3.52/1.78 public static void main(String[] args) { 3.52/1.78 new Init().m(); 3.52/1.78 new Init().n(); 3.52/1.78 } 3.52/1.78 } 3.52/1.78 3.52/1.78 3.52/1.78 ---------------------------------------- 3.52/1.78 3.52/1.78 (3) JBCNonTerm (COMPLETE) 3.52/1.78 Symbolic evaluation of method public static main([Ljava/lang/String;)V never reaches a method end (by explicit return or exception). 3.52/1.78 3.52/1.78 As this is the main method, we can conclude non-termination of the input program. 3.52/1.78 ---------------------------------------- 3.52/1.78 3.52/1.78 (4) 3.52/1.78 NO 3.94/2.92 EOF