(0) Obligation:

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

public class Even {

// does not terminate for negative numbers

public static boolean even(int i) {
while (i != 1 && i != 0) {
i = i-2;
}
return (i == 0);
}
}


package simple.even;

public class Main {

/**
* @param args
*/
public static void main(String[] args) {
int even = args[1].length();
if (args[0].length() % 2 == 0) {
even = -even;
}
Even.even(even);

}

}


(1) JBCNonTerm (EQUIVALENT transformation)

Reached a loop using the following run:
0:
<simple.even.Main.main||0: load ADDR args||args: a346|| ->
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
1:
<simple.even.Main.main||1: push 1||args: a346||a346>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
2:
<simple.even.Main.main||2: Read ADDR from array||args: a346||a346, 1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
3:
<simple.even.Main.main||3: java.lang.String.length()I||args: a346||o16>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=i20, offset=0, value=a7?)
	i20: #I
a7:: [CHAR]
a14:: [CHAR]
4:
<java.lang.String.length||0: load ADDR this||this: o16|| ->
<simple.even.Main.main||3: java.lang.String.length||args: a346||o16>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=i20, offset=0, value=a7?)
	i20: #I
a7:: [CHAR]
a14:: [CHAR]
5:
<java.lang.String.length||1: Read from count|| - ||o16>
<simple.even.Main.main||3: java.lang.String.length||args: a346||o16>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=i20, offset=0, value=a7?)
	i20: #I
a7:: [CHAR]
a14:: [CHAR]
6:
<java.lang.String.length||4: return INT|| - ||1>
<simple.even.Main.main||3: java.lang.String.length||args: a346||o16>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=i20, offset=0, value=a7?)
	i20: #I
a7:: [CHAR]
a14:: [CHAR]
7:
<simple.even.Main.main||6: store INT to even||args: a346||1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
8:
<simple.even.Main.main||7: load ADDR args||args: a346, even: 1|| ->
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
9:
<simple.even.Main.main||8: push 0||even: 1||a346>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
10:
<simple.even.Main.main||9: Read ADDR from array||even: 1||a346, 0>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
11:
<simple.even.Main.main||10: java.lang.String.length()I||even: 1||o32>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=i35, offset=0, value=a14?)
	i35: #I
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
12:
<java.lang.String.length||0: load ADDR this||this: o32|| ->
<simple.even.Main.main||10: java.lang.String.length||even: 1||o32>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=i35, offset=0, value=a14?)
	i35: #I
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
13:
<java.lang.String.length||1: Read from count|| - ||o32>
<simple.even.Main.main||10: java.lang.String.length||even: 1||o32>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=i35, offset=0, value=a14?)
	i35: #I
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
14:
<java.lang.String.length||4: return INT|| - ||0>
<simple.even.Main.main||10: java.lang.String.length||even: 1||o32>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=i35, offset=0, value=a14?)
	i35: #I
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
15:
<simple.even.Main.main||13: push 2||even: 1||0>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
16:
<simple.even.Main.main||14: REM||even: 1||0, 2>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
17:
<simple.even.Main.main||15: NE 0||even: 1||0>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
18:
<simple.even.Main.main||18: load INT even||even: 1|| ->
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
19:
<simple.even.Main.main||19: NEG|| - ||1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
20:
<simple.even.Main.main||20: store INT to even|| - ||-1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
21:
<simple.even.Main.main||21: load INT even||even: -1|| ->
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
22:
<simple.even.Main.main||22: simple.even.Even.even(I)Z|| - ||-1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
23:
<simple.even.Even.even||0: load INT i||i: -1|| ->
<simple.even.Main.main||22: simple.even.Even.even|| - ||-1>
	String.serialVersionUID: -6849794470754667710L
	String.serialPersistentFields: a344
	String.CASE_INSENSITIVE_ORDER: o245
	String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
	RuntimeException.serialVersionUID: -7034897190745766939L
	Exception.serialVersionUID: -3387516993124229948L
	Throwable.serialVersionUID: -3042686055658047285L
	o245!: String$CaseInsensitiveComparator()
	a344([java.io.ObjectStreamField|]): length 0
	o32(java.lang.String...): String(count=0, hash=#I, offset=0, value=a14?)
	a346([java.lang.String...]): {o32, o16}
	o16(java.lang.String...): String(count=1, hash=#I, offset=0, value=a7?)
a7:: [CHAR]
a14:: [CHAR]
In the loop head node, references [i70] were interesting.
By SMT, we could prove
((initial_i70 <= 0 and initial_i71 <= 0 and 2 <= initial_i7) and ((((path1_i70 = path1_i83 and path1_i175 = (path1_i83 - 2) and path1_i175 = res_i70 and path1_i71 = res_i71 and path1_i7 = res_i7 and path1_i70 = initial_i70 and path1_i71 = initial_i71 and path1_i7 = initial_i7) and (path1_i70 != 1 and path1_i83 < 0)) or ((path1_i70 = path1_i83 and path1_i175 = (path1_i83 - 2) and path1_i175 = res_i70 and path1_i71 = res_i71 and path1_i7 = res_i7 and path1_i70 = initial_i70 and path1_i71 = initial_i71 and path1_i7 = initial_i7) and (path1_i83 < 0 and path1_i70 < 1)) or ((path1_i70 = path1_i83 and path1_i175 = (path1_i83 - 2) and path1_i175 = res_i70 and path1_i71 = res_i71 and path1_i7 = res_i7 and path1_i70 = initial_i70 and path1_i71 = initial_i71 and path1_i7 = initial_i7) and (path1_i83 < 0 and path1_i70 > 1))) and (((res_i70 = res_i83 and res_i175 = (res_i83 - 2)) and !(res_i70 != 1 and res_i83 < 0)) and ((res_i70 = res_i83 and res_i175 = (res_i83 - 2)) and !(res_i70 != 1 and res_i83 < 0)) and ((res_i70 = res_i83 and res_i175 = (res_i83 - 2)) and !(res_i70 != 1 and res_i83 < 0)))))
to be UNSAT. Consequently, the loop will not terminate.

(2) NO