(0) Obligation:
Need to prove time_complexity of the following program:
public class GCD5 {
public static int gcd(int a, int b) {
int tmp;
while(b > 0 && a > 0) {
tmp = b;
b = a % b;
a = tmp;
}
return a;
}
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
gcd(x, y);
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
(1) JBCToGraph (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Constructed TerminationGraph.
(2) Obligation:
Termination Graph based on JBC Program:
GCD5.main([Ljava/lang/String;)V: Graph of 187 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(99)) transformation)
Extracted set of 86 edges for the analysis of TIME complexity. Kept leaves.
(4) Obligation:
Set of 86 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: nonterm paths and paths from start to sinks
(5) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 86 jbc graph edges to a weighted ITS with 86 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(6) Obligation:
IntTrs with 86 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{0,0}> langle_clinit_rangle_New_21(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_21(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_23(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_23(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_33(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_36(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_37(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_37(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_49(o1, env, static) :|: 0 < o1
main_FieldAccess_49(o1, env, static) -{0,0}> main_FieldAccess_51(o1, env, static) :|: 0 < o1
main_FieldAccess_51(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_58(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_58(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_64(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_64(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_66(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_67(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_73(a6, iconst_0, i6, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_78(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_92(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_92(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_96(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_96(o11, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) :|: 0 <= o11 && 1 <= i6 && iconst_1 = 1 && 0 < o11 && 0 < a6
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i7 <= o11 && iconst_1 = 1 && 0 < o11 && 0 < a6 && 0 <= i7
random_Return_106(i7, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_Store_112(a6, i7, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i7
random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_136(a6, iconst_1, i7, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, iconst_1, i7, i12, env, static) -{0,0}> random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 1 <= i12
random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) -{1,1}> random_Store_149(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i7 && 0 <= o25
random_Store_149(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25
random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_Load_181(o25, a6, i7, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_181(o25, a6, i7, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_198(o25, a6, i7, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_198(o50, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) -{1,1}> random_Return_219(i20, a6, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i7 && i20 <= o50 && iconst_2 = 2
random_Return_219(i20, a6, i7, iconst_2, i12, env, static) -{1,1}> main_Store_234(a6, i20, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Store_234(a6, i20, i7, iconst_2, i12, env, static) -{1,1}> main_Load_243(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_243(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_Load_255(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_255(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && i37 < i24 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_70(
o1,
0,
i4',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
i4' <
o1 &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
0 <=
i4' &&
static'2 <=
static'1 +
0 &&
0 <=
o1 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
-1 *
static'3 <=
0 &&
0 <=
static''' &&
0 <
2 &&
0 <=
static'3 &&
0 <=
1 &&
0 <
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_21(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_37(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_37(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_49(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_49(
o1,
env,
static) -{0,0}>
main_FieldAccess_51(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_51(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_64(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_64(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_66(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_67(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6obtained
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_70(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_73(a6, iconst_0, i6, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_78(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_92(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_92(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_96(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
by chaining
random_InvokeMethod_96(o11, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) :|: 0 <= o11 && 1 <= i6 && iconst_1 = 1 && 0 < o11 && 0 < a6
random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i7 <= o11 && iconst_1 = 1 && 0 < o11 && 0 < a6 && 0 <= i7
random_Return_106(i7, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_Store_112(a6, i7, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i7
random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_136(a6, iconst_1, i7, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7
obtained
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
by chaining
random_ArrayAccess_136(a6, iconst_1, i7, i12, env, static) -{0,0}> random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 1 <= i12
random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) -{1,1}> random_Store_149(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i7 && 0 <= o25
random_Store_149(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25
random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_Load_181(o25, a6, i7, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_181(o25, a6, i7, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_198(o25, a6, i7, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
by chaining
random_InvokeMethod_198(o50, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) -{1,1}> random_Return_219(i20, a6, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i7 && i20 <= o50 && iconst_2 = 2
random_Return_219(i20, a6, i7, iconst_2, i12, env, static) -{1,1}> main_Store_234(a6, i20, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Store_234(a6, i20, i7, iconst_2, i12, env, static) -{1,1}> main_Load_243(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_243(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_Load_255(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_255(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
obtained
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
by chaining
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
obtained
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
by chaining
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && i37 < i24 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(8) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
(9) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
was transformed to
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
was transformed to
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
was transformed to
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
was transformed to
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
(10) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
(11) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
was transformed to
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(12) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(13) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
was transformed to
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(14) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(15) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
was transformed to
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
was transformed to
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && i20' <= o50 && x = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
was transformed to
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
was transformed to
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o11 && x = 1
(16) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o11 && x = 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i37' < i24 && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && i20' <= o50 && x = 2
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
(17) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 86 jbc graph edges to a weighted ITS with 86 rules.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(18) Obligation:
IntTrs with 86 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{0,0}> langle_clinit_rangle_New_21(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_21(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_23(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_23(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_33(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_36(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_37(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_37(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_49(o1, env, static) :|: 0 < o1
main_FieldAccess_49(o1, env, static) -{0,0}> main_FieldAccess_51(o1, env, static) :|: 0 < o1
main_FieldAccess_51(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_58(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_58(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_64(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_64(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_66(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_67(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_73(a6, iconst_0, i6, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_78(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_92(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_92(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_96(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_96(o11, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) :|: 0 <= o11 && 1 <= i6 && iconst_1 = 1 && 0 < o11 && 0 < a6
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i7 <= o11 && iconst_1 = 1 && 0 < o11 && 0 < a6 && 0 <= i7
random_Return_106(i7, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_Store_112(a6, i7, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i7
random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_136(a6, iconst_1, i7, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, iconst_1, i7, i12, env, static) -{0,0}> random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 1 <= i12
random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) -{1,1}> random_Store_149(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i7 && 0 <= o25
random_Store_149(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25
random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_Load_181(o25, a6, i7, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_181(o25, a6, i7, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_198(o25, a6, i7, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_198(o50, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) -{1,1}> random_Return_219(i20, a6, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i7 && i20 <= o50 && iconst_2 = 2
random_Return_219(i20, a6, i7, iconst_2, i12, env, static) -{1,1}> main_Store_234(a6, i20, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Store_234(a6, i20, i7, iconst_2, i12, env, static) -{1,1}> main_Load_243(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_243(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_Load_255(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_255(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: i28 % i24 = i37 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(19) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_70(
o1,
0,
i4',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
i4' <
o1 &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
0 <=
i4' &&
static'2 <=
static'1 +
0 &&
0 <=
o1 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
-1 *
static'3 <=
0 &&
0 <=
static''' &&
0 <
2 &&
0 <=
static'3 &&
0 <=
1 &&
0 <
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_21(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_37(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_37(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_49(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_49(
o1,
env,
static) -{0,0}>
main_FieldAccess_51(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_51(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_64(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_64(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_66(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_67(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6obtained
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_70(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_73(a6, iconst_0, i6, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_78(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_92(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_92(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_96(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
by chaining
random_InvokeMethod_96(o11, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) :|: 0 <= o11 && 1 <= i6 && iconst_1 = 1 && 0 < o11 && 0 < a6
random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i7 <= o11 && iconst_1 = 1 && 0 < o11 && 0 < a6 && 0 <= i7
random_Return_106(i7, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_Store_112(a6, i7, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i7
random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_136(a6, iconst_1, i7, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7
obtained
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
by chaining
random_ArrayAccess_136(a6, iconst_1, i7, i12, env, static) -{0,0}> random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 1 <= i12
random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) -{1,1}> random_Store_149(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i7 && 0 <= o25
random_Store_149(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25
random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_Load_181(o25, a6, i7, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_181(o25, a6, i7, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_198(o25, a6, i7, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
by chaining
random_InvokeMethod_198(o50, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) -{1,1}> random_Return_219(i20, a6, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i7 && i20 <= o50 && iconst_2 = 2
random_Return_219(i20, a6, i7, iconst_2, i12, env, static) -{1,1}> main_Store_234(a6, i20, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Store_234(a6, i20, i7, iconst_2, i12, env, static) -{1,1}> main_Load_243(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_243(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_Load_255(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_255(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
obtained
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
by chaining
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
obtained
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
by chaining
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: i28 % i24 = i37 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(20) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
(21) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
gcd_LE_298(i24, i7, a6, 2, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24
was transformed to
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
gcd_LE_350(i28, i24, a6, 2, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11
was transformed to
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
random_InvokeMethod_198(o50, a6, i7, 2, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50
was transformed to
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_ArrayAccess_136(a6, 1, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
was transformed to
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
(22) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
(23) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_136(a6, iconst_1, i7, iconst_1, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7
was transformed to
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(24) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(25) RemoveDivModProof (CONCRETE UPPER BOUND(ID) transformation)
Removed div and mod.
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 % i24 = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, x, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
(26) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, x, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(27) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, iconst_1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
was transformed to
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(iconst_0, i7, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i37', a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i28 - i24 * div, a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(NULL, a6, i7, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
was transformed to
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, x, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, 2, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(iconst_0, i24, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(28) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i28 - i24 * div, a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, 2, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(29) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i24 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
was transformed to
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i28 - i24 * div, a6, 2, i12, env, static) :|: i28 - i24 * div < i24 && i28 - i24 * div + i24 > 0 && i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i28 + -1 * i24 * div, a6, 2, i12, env, static) :|: i28 + -1 * i24 * div < i24 && 0 < i28 + -1 * i24 * div + i24 && i28 + -1 * i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && 0 <= o50 && i20' <= o50 && x = 2
was transformed to
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && i20' <= o50 && x = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
was transformed to
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, 2, i12, env, static) :|: i28 - i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && 0 <= i28 && x = 2
was transformed to
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, 2, i12, env, static) :|: i28 + -1 * i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= a6 && 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 <= o11 && 0 < o11 && x = 1
was transformed to
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o11 && x = 1
(30) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
gcd_LE_350(iconst_0, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_364(0, i24, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 1 <= i24 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_96(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
gcd_LE_350(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_LE_350'(i28, i24, a6, 2, i12, env, static) :|: i28 + -1 * i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
gcd_LE_350'(i28, i24, a6, x, i12, env, static) -{10,10}> gcd_Load_273(i24, i28 + -1 * i24 * div, a6, 2, i12, env, static) :|: i28 + -1 * i24 * div < i24 && 0 < i28 + -1 * i24 * div + i24 && i28 + -1 * i24 * div = i37' && 2 <= i12 && 0 < a6 && 1 <= i24 && 0 <= i37' && 0 < i28 && 0 <= i24 && 1 <= i28 && x = 2
gcd_LE_298(i24, i7, a6, x, i12, env, static) -{2,2}> gcd_LE_350(i7, i24, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i7 && 0 < i24 && 0 < a6 && 1 <= i24 && x = 2
random_InvokeMethod_96(o11, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_136(a6, 1, i7', i6, env, static) :|: 0 <= i7' && i7' <= o11 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o11 && x = 1
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_ArrayAccess_136(a6, x, i7, i12, env, static) -{7,7}> random_InvokeMethod_198(o25', a6, i7, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i7 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
gcd_LE_298(iconst_0, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_304(0, i7, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_198(NULL, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_208(0, a6, i7, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_198(o50, a6, i7, x, i12, env, static) -{6,6}> gcd_Load_273(i7, i20', a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i20' && 0 <= i7 && 0 < o50 && 0 < a6 && i20' <= o50 && x = 2
random_ArrayAccess_136(a6, iconst_1, i7, x, env, static) -{0,0}> random_ArrayAccess_142(a6, 1, i7, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && x = iconst_1
random_InvokeMethod_96(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_100(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
(31) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(99)) transformation)
Extracted set of 80 edges for the analysis of TIME complexity. Dropped leaves.
(32) Obligation:
Set of 80 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(33) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 80 jbc graph edges to a weighted ITS with 80 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Filtered fields of type java.lang.Object.
Did no encode lower bounds for putfield and astore.
(34) Obligation:
IntTrs with 80 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_13(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{0,0}> langle_clinit_rangle_New_21(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_21(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_23(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_23(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_25(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_27(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_33(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_36(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_37(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_37(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_49(o1, env, static) :|: 0 < o1
main_FieldAccess_49(o1, env, static) -{0,0}> main_FieldAccess_51(o1, env, static) :|: 0 < o1
main_FieldAccess_51(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_53(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_56(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_57(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_58(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_58(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_64(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_64(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_66(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_67(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_73(a6, iconst_0, i6, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_78(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_84(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_92(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_92(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_96(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_96(o11, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) :|: 0 <= o11 && 1 <= i6 && iconst_1 = 1 && 0 < o11 && 0 < a6
random_InvokeMethod_98(o11, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i7 <= o11 && iconst_1 = 1 && 0 < o11 && 0 < a6 && 0 <= i7
random_Return_106(i7, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_Store_112(a6, i7, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
main_InvokeMethod_116(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i7
random_FieldAccess_121(a6, i7, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i7
random_FieldAccess_132(a6, i7, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_136(a6, iconst_1, i7, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7
random_ArrayAccess_136(a6, iconst_1, i7, i12, env, static) -{0,0}> random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 1 <= i12
random_ArrayAccess_143(a6, iconst_1, i7, i12, env, static) -{1,1}> random_Store_149(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i7 && 0 <= o25
random_Store_149(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_FieldAccess_153(o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25
random_ConstantStackPush_159(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25
random_IntArithmetic_168(iconst_1, o25, a6, i7, i12, env, static) -{1,1}> random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_172(iconst_2, o25, a6, i7, iconst_1, i12, env, static) -{1,1}> random_Load_181(o25, a6, i7, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_181(o25, a6, i7, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_198(o25, a6, i7, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i7 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_198(o50, a6, i7, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i7 && iconst_2 = 2
random_InvokeMethod_207(o50, a6, i7, iconst_2, i12, env, static) -{1,1}> random_Return_219(i20, a6, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i7 && i20 <= o50 && iconst_2 = 2
random_Return_219(i20, a6, i7, iconst_2, i12, env, static) -{1,1}> main_Store_234(a6, i20, i7, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Store_234(a6, i20, i7, iconst_2, i12, env, static) -{1,1}> main_Load_243(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_243(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_Load_255(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_Load_255(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
main_InvokeMethod_266(a6, i7, i20, iconst_2, i12, env, static) -{1,1}> gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && i37 < i24 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(35) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{49,49}>
gcd_Load_273(
i7',
i20',
o1,
2,
i4',
env,
static'5) :|:
1 <=
i4' &&
static'5 <=
static'4 +
2 &&
0 <=
i7' &&
i4' <
o1 &&
0 <
o1 &&
static'1 <=
static''' +
1 &&
0 <=
i20' &&
2 <=
i4' &&
0 <=
o25' &&
0 <=
2 &&
0 <
o8' &&
o1 <=
static'4 &&
0 <=
static'4 &&
o8' <
o1 &&
0 <=
static'2 &&
0 <=
o1 &&
i7' <=
o8' &&
-1 *
static'3 <=
0 &&
static'2 <=
static'1 +
0 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
0 <=
static''' &&
0 <
2 &&
0 <=
static'3 &&
-1 *
static'4 <=
1 &&
0 <=
o8' &&
0 <
o25' &&
1 <=
static'4 &&
0 <=
i4' &&
o25' <
o1 &&
0 <=
1 &&
i20' <=
o25' &&
static'4 <=
static'3 +
1 &&
0 <
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_13(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_21(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_23(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_25(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_27(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_36(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_37(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_37(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_49(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_49(
o1,
env,
static) -{0,0}>
main_FieldAccess_51(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_51(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_53(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_56(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_57(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_58(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_64(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_64(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_66(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_67(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6random_ArrayAccess_70(
a6,
iconst_0,
i6,
env,
static) -{0,0}>
random_ArrayAccess_73(
a6,
iconst_0,
i6,
env,
static) :|:
0 <=
i6 &&
1 <=
i6 &&
iconst_0 =
0 &&
0 <
a6random_ArrayAccess_73(
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Store_78(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
o8 <
a6 &&
iconst_0 =
0 &&
0 <
a6random_Store_78(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_FieldAccess_80(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_80(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_ConstantStackPush_84(
iconst_0,
o8,
a6,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
iconst_0 <=
staticrandom_ConstantStackPush_84(
iconst_0,
o8,
a6,
i6,
env,
static) -{1,1}>
random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) -{1,1}>
random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Load_92(
o8,
a6,
iconst_1,
i6,
env,
static') :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
static' <=
static +
iconst_1random_Load_92(
o8,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_InvokeMethod_96(
o8,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
0 <
a6random_InvokeMethod_96(
o11,
a6,
iconst_1,
i6,
env,
static) -{0,0}>
random_InvokeMethod_98(
o11,
a6,
iconst_1,
i6,
env,
static) :|:
0 <=
o11 &&
1 <=
i6 &&
iconst_1 =
1 &&
0 <
o11 &&
0 <
a6random_InvokeMethod_98(
o11,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_Return_106(
i7,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
i7 <=
o11 &&
iconst_1 =
1 &&
0 <
o11 &&
0 <
a6 &&
0 <=
i7random_Return_106(
i7,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
main_Store_112(
a6,
i7,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7main_Store_112(
a6,
i7,
iconst_1,
i6,
env,
static) -{1,1}>
main_InvokeMethod_116(
a6,
i7,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7main_InvokeMethod_116(
a6,
i7,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_121(
a6,
i7,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7random_FieldAccess_121(
a6,
i7,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_132(
a6,
i7,
iconst_1,
i6,
env,
static) :|:
0 <=
a6 &&
1 <=
i6 &&
iconst_1 =
1 &&
a6 <=
static &&
0 <=
static &&
0 <
a6 &&
0 <=
i7random_FieldAccess_132(
a6,
i7,
iconst_1,
i6,
env,
static) -{1,1}>
random_ArrayAccess_136(
a6,
iconst_1,
i7,
i6,
env,
static) :|:
-1 *
static <=
iconst_1 &&
1 <=
i6 &&
iconst_1 <=
static &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i7random_ArrayAccess_136(
a6,
iconst_1,
i7,
i12,
env,
static) -{0,0}>
random_ArrayAccess_143(
a6,
iconst_1,
i7,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7 &&
1 <=
i12random_ArrayAccess_143(
a6,
iconst_1,
i7,
i12,
env,
static) -{1,1}>
random_Store_149(
o25,
a6,
i7,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
o25 <
a6 &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25random_Store_149(
o25,
a6,
i7,
iconst_1,
i12,
env,
static) -{1,1}>
random_FieldAccess_153(
o25,
a6,
i7,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25random_FieldAccess_153(
o25,
a6,
i7,
iconst_1,
i12,
env,
static) -{1,1}>
random_ConstantStackPush_159(
iconst_1,
o25,
a6,
i7,
i12,
env,
static) :|:
-1 *
static <=
iconst_1 &&
2 <=
i12 &&
iconst_1 <=
static &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25random_ConstantStackPush_159(
iconst_1,
o25,
a6,
i7,
i12,
env,
static) -{1,1}>
random_IntArithmetic_168(
iconst_1,
o25,
a6,
i7,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25random_IntArithmetic_168(
iconst_1,
o25,
a6,
i7,
i12,
env,
static) -{1,1}>
random_FieldAccess_172(
iconst_2,
o25,
a6,
i7,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25 &&
iconst_2 =
2random_FieldAccess_172(
iconst_2,
o25,
a6,
i7,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_181(
o25,
a6,
i7,
iconst_2,
i12,
env,
static') :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25 &&
iconst_2 =
2 &&
static' <=
static +
iconst_2random_Load_181(
o25,
a6,
i7,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_198(
o25,
a6,
i7,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_198(
o50,
a6,
i7,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_207(
o50,
a6,
i7,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2random_InvokeMethod_207(
o50,
a6,
i7,
iconst_2,
i12,
env,
static) -{1,1}>
random_Return_219(
i20,
a6,
i7,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
0 <
o50 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
i20 <=
o50 &&
iconst_2 =
2random_Return_219(
i20,
a6,
i7,
iconst_2,
i12,
env,
static) -{1,1}>
main_Store_234(
a6,
i20,
i7,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2main_Store_234(
a6,
i20,
i7,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_243(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2main_Load_243(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_255(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2main_Load_255(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) -{1,1}>
main_InvokeMethod_266(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2main_InvokeMethod_266(
a6,
i7,
i20,
iconst_2,
i12,
env,
static) -{1,1}>
gcd_Load_273(
i7,
i20,
a6,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i7 &&
iconst_2 =
2obtained
gcd_Load_273(i7, i20, a6, 2, i12, env, static) -{13,13}> gcd_Load_273(i20, i37', a6, 2, i12, env, static) :|: 0 <= i7 && 0 < i20 && 0 < a6 && 0 <= i20 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
by chaining
gcd_Load_273(i7, i20, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_298(i20, i7, a6, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_298(i24, i7, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_305(i24, i7, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i24 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_Load_323(i7, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_350(i7, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 0 <= i7 && iconst_2 = 2
gcd_LE_350(i28, i24, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) :|: 0 <= i28 && 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_LE_365(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < i28 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_378(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Store_396(i24, i28, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_414(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_Load_444(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 < a6 && 1 <= i28 && iconst_2 = 2
gcd_IntArithmetic_457(i28, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && i37 < i24 && 1 <= i28 && iconst_2 = 2
gcd_Store_472(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_481(i37, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Store_492(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_JMP_499(i24, i37, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
gcd_Load_509(i24, i37, a6, iconst_2, i12, env, static) -{0,0}> gcd_Load_273(i24, i37, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 0 <= i37 && 0 < a6 && iconst_2 = 2
(36) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, env, static) -{49,49}> gcd_Load_273(i7', i20', o1, 2, i4', env, static'5) :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i7' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 0 <= i20' && 2 <= i4' && 0 <= o25' && 0 <= 2 && 0 < o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o1 && i7' <= o8' && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 < 2 && 0 <= static'3 && -1 * static'4 <= 1 && 0 <= o8' && 0 < o25' && 1 <= static'4 && 0 <= i4' && o25' < o1 && 0 <= 1 && i20' <= o25' && static'4 <= static'3 + 1 && 0 < 1
gcd_Load_273(i7, i20, a6, 2, i12, env, static) -{13,13}> gcd_Load_273(i20, i37', a6, 2, i12, env, static) :|: 0 <= i7 && 0 < i20 && 0 < a6 && 0 <= i20 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
(37) WeightedIntTrsUnneededArgumentFilterProof (CONCRETE UPPER BOUND(ID) transformation)
Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements:
main_Load_1(x1, x2, x3) → main_Load_1(x1, x3)
gcd_Load_273(x1, x2, x3, x4, x5, x6, x7) → gcd_Load_273(x1, x2, x3, x5)
(38) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{49,49}> gcd_Load_273(i7', i20', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i7' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 0 <= i20' && 2 <= i4' && 0 <= o25' && 0 <= 2 && 0 < o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o1 && i7' <= o8' && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 < 2 && 0 <= static'3 && -1 * static'4 <= 1 && 0 <= o8' && 0 < o25' && 1 <= static'4 && 0 <= i4' && o25' < o1 && 0 <= 1 && i20' <= o25' && static'4 <= static'3 + 1 && 0 < 1
gcd_Load_273(i7, i20, a6, i12) -{13,13}> gcd_Load_273(i20, i37', a6, i12) :|: 0 <= i7 && 0 < i20 && 0 < a6 && 0 <= i20 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
(39) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
gcd_Load_273(i7, i20, a6, i12) -{13,13}> gcd_Load_273(i20, i37', a6, i12) :|: 0 <= i7 && 0 < i20 && 0 < a6 && 0 <= i20 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
was transformed to
gcd_Load_273(i7, i20, a6, i12) -{13,13}> gcd_Load_273(i20, i37', a6, i12) :|: 0 < i20 && 0 < a6 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
main_Load_1(o1, static) -{49,49}> gcd_Load_273(i7', i20', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i7' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 0 <= i20' && 2 <= i4' && 0 <= o25' && 0 <= 2 && 0 < o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o1 && i7' <= o8' && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 < 2 && 0 <= static'3 && -1 * static'4 <= 1 && 0 <= o8' && 0 < o25' && 1 <= static'4 && 0 <= i4' && o25' < o1 && 0 <= 1 && i20' <= o25' && static'4 <= static'3 + 1 && 0 < 1
was transformed to
main_Load_1(o1, static) -{49,49}> gcd_Load_273(i7', i20', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i7' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 0 <= i20' && 2 <= i4' && 0 < o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && i7' <= o8' && -1 * static'3 <= 0 && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && -1 * static'4 <= 1 && 0 < o25' && 1 <= static'4 && 0 <= i4' && o25' < o1 && i20' <= o25' && static'4 <= static'3 + 1
(40) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{49,49}> gcd_Load_273(i7', i20', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i7' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 0 <= i20' && 2 <= i4' && 0 < o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && i7' <= o8' && -1 * static'3 <= 0 && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && -1 * static'4 <= 1 && 0 < o25' && 1 <= static'4 && 0 <= i4' && o25' < o1 && i20' <= o25' && static'4 <= static'3 + 1
gcd_Load_273(i7, i20, a6, i12) -{13,13}> gcd_Load_273(i20, i37', a6, i12) :|: 0 < i20 && 0 < a6 && 0 <= i37' && 1 <= i20 && 2 <= i12 && i37' < i20 && 1 <= i7 && 0 < i7
(41) koat Proof (EQUIVALENT transformation)
YES(?, 13*ar_0 + 49)
Initial complexity problem:
1: T:
(Comp: ?, Cost: 49) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(i7', i20', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i7' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 < o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ i7' <= o8' /\ -static'3 <= 0 /\ static'2 <= static'1 /\ ar_0 <= static'3 /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 0 <= ar_1 /\ 0 <= static''' /\ 0 <= static'3 /\ -static'4 <= 1 /\ 0 < o25' /\ 1 <= static'4 /\ 0 <= i4' /\ o25' < ar_0 /\ i20' <= o25' /\ static'4 <= static'3 + 1 ]
(Comp: ?, Cost: 13) gcd_Load_273(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(ar_1, i37', ar_2, ar_3)) [ 0 < ar_1 /\ 0 < ar_2 /\ 0 <= i37' /\ 1 <= ar_1 /\ 2 <= ar_3 /\ i37' < ar_1 /\ 1 <= ar_0 /\ 0 < ar_0 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
Repeatedly propagating knowledge in problem 1 produces the following problem:
2: T:
(Comp: 1, Cost: 49) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(i7', i20', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i7' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 < o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ i7' <= o8' /\ -static'3 <= 0 /\ static'2 <= static'1 /\ ar_0 <= static'3 /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 0 <= ar_1 /\ 0 <= static''' /\ 0 <= static'3 /\ -static'4 <= 1 /\ 0 < o25' /\ 1 <= static'4 /\ 0 <= i4' /\ o25' < ar_0 /\ i20' <= o25' /\ static'4 <= static'3 + 1 ]
(Comp: ?, Cost: 13) gcd_Load_273(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(ar_1, i37', ar_2, ar_3)) [ 0 < ar_1 /\ 0 < ar_2 /\ 0 <= i37' /\ 1 <= ar_1 /\ 2 <= ar_3 /\ i37' < ar_1 /\ 1 <= ar_0 /\ 0 < ar_0 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
A polynomial rank function with
Pol(main_Load_1) = V_1
Pol(gcd_Load_273) = V_2
Pol(koat_start) = V_1
orients all transitions weakly and the transition
gcd_Load_273(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(ar_1, i37', ar_2, ar_3)) [ 0 < ar_1 /\ 0 < ar_2 /\ 0 <= i37' /\ 1 <= ar_1 /\ 2 <= ar_3 /\ i37' < ar_1 /\ 1 <= ar_0 /\ 0 < ar_0 ]
strictly and produces the following problem:
3: T:
(Comp: 1, Cost: 49) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(i7', i20', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i7' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 < o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ i7' <= o8' /\ -static'3 <= 0 /\ static'2 <= static'1 /\ ar_0 <= static'3 /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 0 <= ar_1 /\ 0 <= static''' /\ 0 <= static'3 /\ -static'4 <= 1 /\ 0 < o25' /\ 1 <= static'4 /\ 0 <= i4' /\ o25' < ar_0 /\ i20' <= o25' /\ static'4 <= static'3 + 1 ]
(Comp: ar_0, Cost: 13) gcd_Load_273(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_273(ar_1, i37', ar_2, ar_3)) [ 0 < ar_1 /\ 0 < ar_2 /\ 0 <= i37' /\ 1 <= ar_1 /\ 2 <= ar_3 /\ i37' < ar_1 /\ 1 <= ar_0 /\ 0 < ar_0 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
Complexity upper bound 13*ar_0 + 49
Time: 0.143 sec (SMT: 0.129 sec)
(42) BOUNDS(CONSTANT, 49 + 13 * |args|)