(0) Obligation:

JBC Problem based on JBC Program:
package simple.narrowKonv;

public class Main {

/**
* @param args
*/
public static void main(String[] args) {

NarrowKonv.loop(args.length);
}

}


package simple.narrowKonv;

public class NarrowKonv {

public static void loop(int i) {
int range = 20;
while (0 <= i && i <= range) {
if (!(0 == i && i == range)) {
if (i == range) {
i = 0;
range--;
} else {
i++;
}
}
}
}
}


(1) JBCNonTerm (EQUIVALENT transformation)

Reached a loop using the following run:
0:
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||0: load ADDR args||args: a321|| ->
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
1:
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||1: arraylength|| - ||a321>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
2:
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||2: simple.narrowKonv.NarrowKonv.loop(I)V|| - ||i284>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
3:
<simple.narrowKonv.NarrowKonv.loop||0: push 20||i: i284|| ->
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||2: simple.narrowKonv.NarrowKonv.loop|| - ||i284>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
4:
<simple.narrowKonv.NarrowKonv.loop||2: store INT to range||i: i284||iconst_20>
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||2: simple.narrowKonv.NarrowKonv.loop|| - ||i284>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
5:
<simple.narrowKonv.NarrowKonv.loop||3: push 0||i: i284, range: iconst_20|| ->
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a321(lv_0_0)]
<simple.narrowKonv.Main.main||2: simple.narrowKonv.NarrowKonv.loop|| - ||i284>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a323
	String.CASE_INSENSITIVE_ORDER: o179
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	i284: [0,+inf)(6){0,+inf}
	a321([java.lang.String...]): length i284
	a323([java.io.ObjectStreamField|]): length iconst_0
	o179!: String$CaseInsensitiveComparator()
Relations: 
Start state of loop:
<simple.narrowKonv.NarrowKonv.loop||3: push 0||i: i202, range: i203|| ->
java.lang.String = serialPersistentFields, CASE_INSENSITIVE_ORDER
[a230(lv_0_0)]
<simple.narrowKonv.Main.main||2: simple.narrowKonv.NarrowKonv.loop|| - ||i17>
	String.serialVersionUID: iconstLong_-6849794470754667710
	String.serialPersistentFields: a229
	String.CASE_INSENSITIVE_ORDER: o131
	String$CaseInsensitiveComparator.serialVersionUID: iconstLong_8575799808933029326
	RuntimeException.serialVersionUID: iconstLong_-7034897190745766939
	Exception.serialVersionUID: iconstLong_-3387516993124229948
	Throwable.serialVersionUID: iconstLong_-3042686055658047285
	a229([java.io.ObjectStreamField|]): length iconst_0
	o131!: String$CaseInsensitiveComparator()
	i202: [0,+inf)(6){0,+inf}
	i203: (-inf,20](5){-inf,20}
	i17: [0,+inf)(1){0,+inf}
	a230([java.lang.String...]): length i17
Relations: 

In the loop head node, references [i202, i203] were interesting.
By SMT, we could prove
((0 <= initial_i202 and initial_i203 <= 20 and 0 <= initial_i17) and (((0 = res_i202 and 0 = res_i203 and path1_i17 = res_i17 and path1_i202 = initial_i202 and path1_i203 = initial_i203 and path1_i17 = initial_i17) and (0 <= path1_i202 and path1_i202 <= path1_i203 and T and path1_i202 = 0 and T and path1_i203 = 0)) and (T and !(0 <= res_i202 and res_i202 <= res_i203 and T and res_i202 = 0 and T and res_i203 = 0))))
to be UNSAT. Consequently, the loop will not terminate.

(2) NO