(0) Obligation:

JBC Problem based on JBC Program:
Manifest-Version: 1.0 Created-By: 1.6.0_25 (Sun Microsystems Inc.) Main-Class: ArrayPrimitives/ArrayPrimitives
package ArrayPrimitives;

public class ArrayPrimitives {
public static void main(String[] argv) {
Random.args = argv;
int int0 = Random.random();
int int1 = Random.random();
int int2 = Random.random();
int[] data = {int0, int1, int2};
while (data[0] != int0);
while (data[1] != int1);
while (data[2] != int2);
}
}


package ArrayPrimitives;

public class Random {
static String[] args;
static int index = 0;

public static int random() {
String string = args[index];
index++;
return string.length();
}
}


(1) JBCToGraph (SOUND transformation)

Constructed TerminationGraph.

(2) Obligation:

Termination Graph based on JBC Program:
ArrayPrimitives.ArrayPrimitives.main([Ljava/lang/String;)V: Graph of 263 nodes with 0 SCCs.


(3) TerminationGraphToSCCProof (SOUND transformation)

Proven termination by absence of SCCs

(4) TRUE