(0) Obligation:
Need to prove time_complexity of the following program:
public class GCD4 {
public static int mod(int a, int b) {
while(a>=b && b > 0) {
a -= b;
}
return a;
}
public static int gcd(int a, int b) {
int tmp;
while(b > 0 && a > 0) {
tmp = b;
b = mod(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:
GCD4.main([Ljava/lang/String;)V: Graph of 203 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(99)) transformation)
Extracted set of 103 edges for the analysis of TIME complexity. Kept leaves.
(4) Obligation:
Set of 103 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 103 jbc graph edges to a weighted ITS with 103 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.
(6) Obligation:
IntTrs with 103 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_4(o1, env, static) :|: 0 < o1
main_Load_4(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(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_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(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_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_21(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_21(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_28(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_28(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_Return_32(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_32(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_34(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_34(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_38(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_38(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_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{0,0}> main_Load_47(o1, env, static) :|: 0 < o1
main_Load_47(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_55(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_55(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_60(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_60(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_62(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_62(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_63(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_66(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, i5, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_72(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o7, a6, iconst_0, i5, env, static) :|: o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_Store_78(o7, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) -{1,1}> random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) -{1,1}> random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) -{1,1}> random_Load_99(o7, a6, iconst_1, i5, env, static') :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_99(o7, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_103(o7, a6, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 <= o7 && 0 < a6 && 1 <= i5
random_InvokeMethod_103(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_118(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_118(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_124(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_124(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i5, env, static) :|: -1 * static <= iconst_1 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, iconst_1, i8, i12, env, static) -{0,0}> random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_158(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_158(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25
random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_212(o25, a6, i8, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_212(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_229(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_250(i22, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && i22 <= o50 && iconst_2 = 2
random_Return_250(i22, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_268(a6, i22, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_268(a6, i22, i8, iconst_2, i12, env, static) -{1,1}> main_Load_280(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_280(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_Load_290(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_290(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && 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_4(
o1,
env,
static) :|:
0 <
o1main_Load_4(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
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_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
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_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_28(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_28(
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_Return_32(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_32(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_34(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_34(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_38(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_38(
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_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{0,0}>
main_Load_47(
o1,
env,
static) :|:
0 <
o1main_Load_47(
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_55(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_55(
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_60(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_60(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_62(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_62(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_63(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_66(
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, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
by chaining
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_72(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o7, a6, iconst_0, i5, env, static) :|: o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_Store_78(o7, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) -{1,1}> random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) -{1,1}> random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) -{1,1}> random_Load_99(o7, a6, iconst_1, i5, env, static') :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_99(o7, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_103(o7, a6, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 <= o7 && 0 < a6 && 1 <= i5
obtained
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
by chaining
random_InvokeMethod_103(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_118(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_118(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_124(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_124(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i5, env, static) :|: -1 * static <= iconst_1 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
obtained
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
by chaining
random_ArrayAccess_143(a6, iconst_1, i8, i12, env, static) -{0,0}> random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_158(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_158(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25
random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_212(o25, a6, i8, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_212(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_229(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
by chaining
random_InvokeMethod_229(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_250(i22, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && i22 <= o50 && iconst_2 = 2
random_Return_250(i22, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_268(a6, i22, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_268(a6, i22, i8, iconst_2, i12, env, static) -{1,1}> main_Load_280(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_280(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_Load_290(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_290(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
by chaining
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
by chaining
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
obtained
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
by chaining
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
(8) Obligation:
IntTrs with 17 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, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
(9) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
was transformed to
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
was transformed to
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
was transformed to
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
was transformed to
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
was transformed to
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
was transformed to
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
was transformed to
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
(10) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && 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_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 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_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 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 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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.
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
was transformed to
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(14) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && 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
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(15) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
was transformed to
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && x = 1
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
was transformed to
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && i22' <= o50 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
was transformed to
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, 2, i12, env, static) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
was transformed to
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 < i23 && 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
(16) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && x = 1
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
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, 2, i12, env, static) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && 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 < 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_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 < i23 && x = 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && i22' <= o50 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(17) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 103 jbc graph edges to a weighted ITS with 103 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.
(18) Obligation:
IntTrs with 103 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_4(o1, env, static) :|: 0 < o1
main_Load_4(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(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_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(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_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_21(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_21(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_28(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_28(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_Return_32(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_32(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_34(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_34(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_38(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_38(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_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{0,0}> main_Load_47(o1, env, static) :|: 0 < o1
main_Load_47(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_55(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_55(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_60(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_60(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_62(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_62(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_63(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_66(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, i5, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_72(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o7, a6, iconst_0, i5, env, static) :|: o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_Store_78(o7, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) -{1,1}> random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) -{1,1}> random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) -{1,1}> random_Load_99(o7, a6, iconst_1, i5, env, static') :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_99(o7, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_103(o7, a6, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 <= o7 && 0 < a6 && 1 <= i5
random_InvokeMethod_103(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_118(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_118(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_124(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_124(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i5, env, static) :|: -1 * static <= iconst_1 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, iconst_1, i8, i12, env, static) -{0,0}> random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_158(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_158(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25
random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_212(o25, a6, i8, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_212(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_229(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_250(i22, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && i22 <= o50 && iconst_2 = 2
random_Return_250(i22, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_268(a6, i22, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_268(a6, i22, i8, iconst_2, i12, env, static) -{1,1}> main_Load_280(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_280(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_Load_290(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_290(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && 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_4(
o1,
env,
static) :|:
0 <
o1main_Load_4(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
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_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
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_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_28(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_28(
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_Return_32(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_32(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_34(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_34(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_38(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_38(
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_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{0,0}>
main_Load_47(
o1,
env,
static) :|:
0 <
o1main_Load_47(
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_55(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_55(
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_60(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_60(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_62(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_62(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_63(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_66(
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, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
by chaining
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_72(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o7, a6, iconst_0, i5, env, static) :|: o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_Store_78(o7, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) -{1,1}> random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) -{1,1}> random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) -{1,1}> random_Load_99(o7, a6, iconst_1, i5, env, static') :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_99(o7, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_103(o7, a6, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 <= o7 && 0 < a6 && 1 <= i5
obtained
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
by chaining
random_InvokeMethod_103(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_118(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_118(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_124(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_124(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i5, env, static) :|: -1 * static <= iconst_1 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
obtained
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
by chaining
random_ArrayAccess_143(a6, iconst_1, i8, i12, env, static) -{0,0}> random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_158(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_158(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25
random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_212(o25, a6, i8, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_212(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_229(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
by chaining
random_InvokeMethod_229(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_250(i22, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && i22 <= o50 && iconst_2 = 2
random_Return_250(i22, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_268(a6, i22, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_268(a6, i22, i8, iconst_2, i12, env, static) -{1,1}> main_Load_280(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_280(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_Load_290(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_290(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
by chaining
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
by chaining
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
obtained
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
by chaining
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
(20) Obligation:
IntTrs with 17 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, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
(21) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
gcd_LE_310(i23, i8, a6, 2, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23
was transformed to
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
was transformed to
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2
was transformed to
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0
was transformed to
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_324(i24, i23, a6, 2, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24
was transformed to
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
random_InvokeMethod_103(o12, a6, 1, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12
was transformed to
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_229(o50, a6, i8, 2, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50
was transformed to
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
(22) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && 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_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 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_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 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 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
was transformed to
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(iconst_0, i23, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(iconst_0, i8, a6, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(26) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && 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
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
gcd_LE_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && 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
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(27) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 0 <= a6 && 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && 0 <= o12 && x = 1
was transformed to
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && x = 1
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && 0 <= o50 && i22' <= o50 && x = 2
was transformed to
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && i22' <= o50 && x = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && 0 <= i24 && x = 2
was transformed to
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 - i23, i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
was transformed to
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, 2, i12, env, static) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && x = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 <= i23 && 0 < i23 && x = 2
was transformed to
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 < i23 && 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
(28) Obligation:
IntTrs with 17 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_229(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(o12, a6, x, i5, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i5, env, static) :|: 1 <= i5 && a6 <= static && 0 <= i8' && i8' <= o12 && 0 < a6 && 0 <= static && 0 < o12 && -1 * static <= 1 && 1 <= static && x = 1
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
mod_Load_416(i29, i23, a123, x, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23 && x = 2
gcd_LE_324(iconst_0, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_328(0, i23, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 1 <= i23 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, x, i12, env, static) -{6,6}> mod_Load_416(i24, i23, a6, 2, i12, env, static) :|: 0 < i24 && 1 <= i23 && 0 < a6 && 1 <= i24 && 2 <= i12 && x = 2
mod_LT_419(i29, i23, a123, x, i12, env, static) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, 2, i12, env, static) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29 && 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 < 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_310(iconst_0, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_314(0, i8, a6, 2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, 2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, x, i12, env, static) -{2,2}> gcd_LE_324(i8, i23, a6, 2, i12, env, static) :|: 1 <= i23 && 2 <= i12 && 0 <= i8 && 0 < a6 && 0 < i23 && x = 2
random_InvokeMethod_229(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_238(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_107(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_103(o7', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o7' && static'4 <= static + 1 && o7' < a6 && -1 * static <= 0 && x = 0
random_InvokeMethod_229(o50, a6, i8, x, i12, env, static) -{6,6}> gcd_Load_304(i8, i22', a6, 2, i12, env, static) :|: 0 <= i22' && 2 <= i12 && 0 <= i8 && 0 < o50 && 0 < a6 && i22' <= o50 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_147(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
(29) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(99)) transformation)
Extracted set of 97 edges for the analysis of TIME complexity. Dropped leaves.
(30) Obligation:
Set of 97 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(31) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 97 jbc graph edges to a weighted ITS with 97 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.
(32) Obligation:
IntTrs with 97 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_4(o1, env, static) :|: 0 < o1
main_Load_4(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(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_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(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_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_21(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_21(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_24(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_28(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_28(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_Return_32(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_32(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_34(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_34(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_38(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_38(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_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{0,0}> main_Load_47(o1, env, static) :|: 0 < o1
main_Load_47(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_55(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_55(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_60(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_60(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_62(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_62(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_63(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_66(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, i5, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_72(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o7, a6, iconst_0, i5, env, static) :|: o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_Store_78(o7, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o7, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_85(iconst_0, o7, a6, i5, env, static) -{1,1}> random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_IntArithmetic_93(iconst_0, iconst_1, o7, a6, i5, env, static) -{1,1}> random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6 && 1 <= i5
random_FieldAccess_94(iconst_1, o7, a6, iconst_0, i5, env, static) -{1,1}> random_Load_99(o7, a6, iconst_1, i5, env, static') :|: iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_99(o7, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_103(o7, a6, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 <= o7 && 0 < a6 && 1 <= i5
random_InvokeMethod_103(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_105(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_118(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_118(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_124(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_124(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_129(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_133(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_141(a6, i8, iconst_1, i5, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i5, env, static) :|: -1 * static <= iconst_1 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_ArrayAccess_143(a6, iconst_1, i8, i12, env, static) -{0,0}> random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_148(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_158(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_158(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) :|: -1 * static <= iconst_1 && 2 <= i12 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25
random_ConstantStackPush_185(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_194(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_199(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_212(o25, a6, i8, iconst_2, i12, env, static') :|: 2 <= i12 && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2 && static' <= static + iconst_2
random_Load_212(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_229(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_229(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_237(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_250(i22, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && i22 <= o50 && iconst_2 = 2
random_Return_250(i22, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_268(a6, i22, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_268(a6, i22, i8, iconst_2, i12, env, static) -{1,1}> main_Load_280(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_280(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_Load_290(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_290(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_InvokeMethod_301(a6, i8, i22, iconst_2, i12, env, static) -{1,1}> gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
(33) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{49,49}>
gcd_Load_304(
i8',
i22',
o1,
2,
i4',
env,
static'5) :|:
1 <=
i4' &&
static'5 <=
static'4 +
2 &&
0 <=
i8' &&
i4' <
o1 &&
0 <
o1 &&
static'1 <=
static''' +
1 &&
2 <=
i4' &&
0 <=
i22' &&
0 <=
o25' &&
0 <=
2 &&
0 <=
static'2 &&
o7' <
o1 &&
0 <=
static'4 &&
o1 <=
static'4 &&
i8' <=
o7' &&
0 <=
o1 &&
0 <
o7' &&
static'2 <=
static'1 +
0 &&
-1 *
static'3 <=
0 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
0 <=
static''' &&
0 <=
static'3 &&
0 <
2 &&
-1 *
static'4 <=
1 &&
0 <=
o7' &&
0 <
o25' &&
1 <=
static'4 &&
o25' <
o1 &&
0 <=
i4' &&
static'4 <=
static'3 +
1 &&
i22' <=
o25' &&
0 <
1 &&
0 <=
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_4(
o1,
env,
static) :|:
0 <
o1main_Load_4(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
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_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
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_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_21(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_24(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_28(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_28(
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_Return_32(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_32(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_34(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_34(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_38(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_38(
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_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{0,0}>
main_Load_47(
o1,
env,
static) :|:
0 <
o1main_Load_47(
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_55(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_55(
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_60(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_60(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_62(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_62(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_63(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_66(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_66(
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,
i5,
env,
static) -{0,0}>
random_ArrayAccess_72(
a6,
iconst_0,
i5,
env,
static) :|:
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5 &&
1 <=
i5random_ArrayAccess_72(
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_Store_78(
o7,
a6,
iconst_0,
i5,
env,
static) :|:
o7 <
a6 &&
iconst_0 =
0 &&
0 <=
o7 &&
0 <
a6 &&
1 <=
i5random_Store_78(
o7,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_FieldAccess_80(
o7,
a6,
iconst_0,
i5,
env,
static) :|:
iconst_0 =
0 &&
0 <=
o7 &&
0 <
a6 &&
1 <=
i5random_FieldAccess_80(
o7,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_ConstantStackPush_85(
iconst_0,
o7,
a6,
i5,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
o7 &&
0 <=
static &&
0 <
a6 &&
iconst_0 <=
static &&
1 <=
i5random_ConstantStackPush_85(
iconst_0,
o7,
a6,
i5,
env,
static) -{1,1}>
random_IntArithmetic_93(
iconst_0,
iconst_1,
o7,
a6,
i5,
env,
static) :|:
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
o7 &&
0 <
a6 &&
1 <=
i5random_IntArithmetic_93(
iconst_0,
iconst_1,
o7,
a6,
i5,
env,
static) -{1,1}>
random_FieldAccess_94(
iconst_1,
o7,
a6,
iconst_0,
i5,
env,
static) :|:
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
o7 &&
0 <
a6 &&
1 <=
i5random_FieldAccess_94(
iconst_1,
o7,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_Load_99(
o7,
a6,
iconst_1,
i5,
env,
static') :|:
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
o7 &&
0 <=
static &&
0 <
a6 &&
static' <=
static +
iconst_1 &&
1 <=
i5random_Load_99(
o7,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
random_InvokeMethod_103(
o7,
a6,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <=
o7 &&
0 <
a6 &&
1 <=
i5random_InvokeMethod_103(
o12,
a6,
iconst_1,
i5,
env,
static) -{0,0}>
random_InvokeMethod_105(
o12,
a6,
iconst_1,
i5,
env,
static) :|:
0 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6 &&
1 <=
i5random_InvokeMethod_105(
o12,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
random_Return_118(
i8,
a6,
iconst_1,
i5,
env,
static) :|:
i8 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_Return_118(
i8,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
main_Store_124(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5main_Store_124(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
main_InvokeMethod_129(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5main_InvokeMethod_129(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
random_FieldAccess_133(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_FieldAccess_133(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
random_FieldAccess_141(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
0 <=
a6 &&
iconst_1 =
1 &&
a6 <=
static &&
0 <=
static &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_FieldAccess_141(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
random_ArrayAccess_143(
a6,
iconst_1,
i8,
i5,
env,
static) :|:
-1 *
static <=
iconst_1 &&
iconst_1 <=
static &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_ArrayAccess_143(
a6,
iconst_1,
i8,
i12,
env,
static) -{0,0}>
random_ArrayAccess_148(
a6,
iconst_1,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i12random_ArrayAccess_148(
a6,
iconst_1,
i8,
i12,
env,
static) -{1,1}>
random_Store_158(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
o25 <
a6 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_Store_158(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_FieldAccess_163(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_FieldAccess_163(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_ConstantStackPush_185(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
-1 *
static <=
iconst_1 &&
2 <=
i12 &&
iconst_1 <=
static &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_ConstantStackPush_185(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_IntArithmetic_194(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_IntArithmetic_194(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_FieldAccess_199(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_FieldAccess_199(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_212(
o25,
a6,
i8,
iconst_2,
i12,
env,
static') :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2 &&
static' <=
static +
iconst_2random_Load_212(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_229(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_229(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_237(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2random_InvokeMethod_237(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_Return_250(
i22,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
i22 <=
o50 &&
iconst_2 =
2random_Return_250(
i22,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Store_268(
a6,
i22,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Store_268(
a6,
i22,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_280(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Load_280(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_290(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Load_290(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) -{1,1}>
main_InvokeMethod_301(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_InvokeMethod_301(
a6,
i8,
i22,
iconst_2,
i12,
env,
static) -{1,1}>
gcd_Load_304(
i8,
i22,
a6,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <=
i22 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2obtained
gcd_Load_304(i8, i22, a6, 2, i12, env, static) -{9,9}> mod_Load_416(i8, i22, a6, 2, i12, env, static) :|: 0 <= i22 && 0 <= i8 && 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
by chaining
gcd_Load_304(i8, i22, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_310(i22, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i22 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_310(i23, i8, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && 0 <= i23
gcd_LE_315(i23, i8, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && 0 < i23 && iconst_2 = 2
gcd_Load_319(i8, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_LE_324(i8, i23, a6, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a6 && 0 <= i8 && iconst_2 = 2
gcd_LE_324(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 2 <= i12 && 1 <= i24 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_LE_329(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < i24 && 0 < a6 && iconst_2 = 2
gcd_Load_333(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Store_338(i23, i24, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_342(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_Load_346(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
gcd_InvokeMethod_350(i24, i23, a6, iconst_2, i12, env, static) -{1,1}> mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
mod_Load_353(i24, i23, a6, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i24, i23, a6, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i23 && 0 < a6 && iconst_2 = 2
obtained
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
by chaining
mod_Load_416(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Load_418(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_LT_429(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && i23 <= i29 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_439(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_LE_444(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 < i23 && iconst_2 = 2 && 1 <= i29
mod_Load_448(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_Load_450(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 1 <= i29
mod_IntArithmetic_452(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && i29 - i23 = i32 && 0 < a123 && 0 <= i32 && iconst_2 = 2 && 1 <= i29
mod_Store_454(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_JMP_461(i32, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
mod_Load_467(i32, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_Load_416(i32, i23, a123, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 < a123 && 0 <= i32 && iconst_2 = 2
obtained
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
by chaining
mod_LT_419(i29, i23, a123, iconst_2, i12, env, static) -{0,0}> mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_LT_428(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && i29 < i23 && 0 < a123 && iconst_2 = 2
mod_Load_436(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
mod_Return_441(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_446(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_449(i29, i23, a123, iconst_2, i12, env, static) -{1,1}> gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Store_451(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_JMP_453(i23, i29, a123, iconst_2, i12, env, static) -{1,1}> gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2
gcd_Load_459(i23, i29, a123, iconst_2, i12, env, static) -{0,0}> gcd_Load_304(i23, i29, a123, iconst_2, i12, env, static) :|: 0 <= i29 && 2 <= i12 && 1 <= i23 && 0 < a123 && iconst_2 = 2 && 0 <= i23
(34) Obligation:
IntTrs with 5 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_304(i8', i22', o1, 2, i4', env, static'5) :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= o25' && 0 <= 2 && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 <= o1 && 0 < o7' && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && 0 < 2 && -1 * static'4 <= 1 && 0 <= o7' && 0 < o25' && 1 <= static'4 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25' && 0 < 1 && 0 <= 1
gcd_Load_304(i8, i22, a6, 2, i12, env, static) -{9,9}> mod_Load_416(i8, i22, a6, 2, i12, env, static) :|: 0 <= i22 && 0 <= i8 && 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
mod_Load_416(i29, i23, a123, 2, i12, env, static) -{2,2}> mod_LT_419(i29, i23, a123, 2, i12, env, static) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{8,8}> mod_Load_416(i32', i23, a123, 2, i12, env, static) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
mod_LT_419(i29, i23, a123, 2, i12, env, static) -{7,7}> gcd_Load_304(i23, i29, a123, 2, i12, env, static) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
(35) 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_304(x1, x2, x3, x4, x5, x6, x7) → gcd_Load_304(x1, x2, x3, x5)
mod_Load_416(x1, x2, x3, x4, x5, x6, x7) → mod_Load_416(x1, x2, x3, x5)
mod_LT_419(x1, x2, x3, x4, x5, x6, x7) → mod_LT_419(x1, x2, x3, x5)
(36) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{49,49}> gcd_Load_304(i8', i22', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= o25' && 0 <= 2 && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 <= o1 && 0 < o7' && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && 0 < 2 && -1 * static'4 <= 1 && 0 <= o7' && 0 < o25' && 1 <= static'4 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25' && 0 < 1 && 0 <= 1
gcd_Load_304(i8, i22, a6, i12) -{9,9}> mod_Load_416(i8, i22, a6, i12) :|: 0 <= i22 && 0 <= i8 && 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
mod_Load_416(i29, i23, a123, i12) -{2,2}> mod_LT_419(i29, i23, a123, i12) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i32', i23, a123, i12) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
mod_LT_419(i29, i23, a123, i12) -{7,7}> gcd_Load_304(i23, i29, a123, i12) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
(37) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i32', i23, a123, i12) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
was transformed to
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i29 - i23, i23, a123, i12) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
(38) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
mod_Load_416(i29, i23, a123, i12) -{2,2}> mod_LT_419(i29, i23, a123, i12) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, i12) -{7,7}> gcd_Load_304(i23, i29, a123, i12) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i29 - i23, i23, a123, i12) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
main_Load_1(o1, static) -{49,49}> gcd_Load_304(i8', i22', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= o25' && 0 <= 2 && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 <= o1 && 0 < o7' && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && 0 < 2 && -1 * static'4 <= 1 && 0 <= o7' && 0 < o25' && 1 <= static'4 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25' && 0 < 1 && 0 <= 1
gcd_Load_304(i8, i22, a6, i12) -{9,9}> mod_Load_416(i8, i22, a6, i12) :|: 0 <= i22 && 0 <= i8 && 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
(39) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i29 - i23, i23, a123, i12) :|: i29 - i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
was transformed to
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, i12) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
main_Load_1(o1, static) -{49,49}> gcd_Load_304(i8', i22', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= o25' && 0 <= 2 && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 <= o1 && 0 < o7' && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && 0 <= static''' && 0 <= static'3 && 0 < 2 && -1 * static'4 <= 1 && 0 <= o7' && 0 < o25' && 1 <= static'4 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25' && 0 < 1 && 0 <= 1
was transformed to
main_Load_1(o1, static) -{49,49}> gcd_Load_304(i8', i22', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 < o7' && static'2 <= static'1 && -1 * static'3 <= 0 && 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 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25'
gcd_Load_304(i8, i22, a6, i12) -{9,9}> mod_Load_416(i8, i22, a6, i12) :|: 0 <= i22 && 0 <= i8 && 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
was transformed to
gcd_Load_304(i8, i22, a6, i12) -{9,9}> mod_Load_416(i8, i22, a6, i12) :|: 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
(40) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{49,49}> gcd_Load_304(i8', i22', o1, i4') :|: 1 <= i4' && static'5 <= static'4 + 2 && 0 <= i8' && i4' < o1 && 0 < o1 && static'1 <= static''' + 1 && 2 <= i4' && 0 <= i22' && 0 <= static'2 && o7' < o1 && 0 <= static'4 && o1 <= static'4 && i8' <= o7' && 0 < o7' && static'2 <= static'1 && -1 * static'3 <= 0 && 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 && o25' < o1 && 0 <= i4' && static'4 <= static'3 + 1 && i22' <= o25'
mod_Load_416(i29, i23, a123, i12) -{2,2}> mod_LT_419(i29, i23, a123, i12) :|: 0 < a123 && 1 <= i23 && 0 <= i29 && 2 <= i12
mod_LT_419(i29, i23, a123, i12) -{7,7}> gcd_Load_304(i23, i29, a123, i12) :|: 0 <= i29 && 0 <= i23 && 2 <= i12 && 0 < a123 && i29 < i23 && 1 <= i23
mod_LT_419(i29, i23, a123, i12) -{8,8}> mod_Load_416(i29 + -1 * i23, i23, a123, i12) :|: i29 + -1 * i23 = i32' && i23 <= i29 && 0 <= i32' && 1 <= i23 && 0 < a123 && 2 <= i12 && 0 < i23 && 1 <= i29 && 0 <= i29
gcd_Load_304(i8, i22, a6, i12) -{9,9}> mod_Load_416(i8, i22, a6, i12) :|: 0 < a6 && 1 <= i8 && 1 <= i22 && 2 <= i12 && 0 < i22 && 0 < i8
(41) koat Proof (EQUIVALENT transformation)
YES(?, 182*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_304(i8', i22', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i8' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 2 <= i4' /\ 0 <= i22' /\ 0 <= static'2 /\ o7' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ i8' <= o7' /\ 0 < o7' /\ static'2 <= static'1 /\ -static'3 <= 0 /\ 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 /\ o25' < ar_0 /\ 0 <= i4' /\ static'4 <= static'3 + 1 /\ i22' <= o25' ]
(Comp: ?, Cost: 2) mod_Load_416(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_LT_419(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_1 /\ 0 <= ar_0 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 7) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_304(ar_1, ar_0, ar_2, ar_3)) [ 0 <= ar_0 /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_2 /\ ar_0 < ar_1 /\ 1 <= ar_1 ]
(Comp: ?, Cost: 8) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0 - ar_1, ar_1, ar_2, ar_3)) [ ar_0 - ar_1 = i32' /\ ar_1 <= ar_0 /\ 0 <= i32' /\ 1 <= ar_1 /\ 0 < ar_2 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 1 <= ar_0 /\ 0 <= ar_0 ]
(Comp: ?, Cost: 9) gcd_Load_304(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_0 /\ 1 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 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_304(i8', i22', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i8' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 2 <= i4' /\ 0 <= i22' /\ 0 <= static'2 /\ o7' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ i8' <= o7' /\ 0 < o7' /\ static'2 <= static'1 /\ -static'3 <= 0 /\ 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 /\ o25' < ar_0 /\ 0 <= i4' /\ static'4 <= static'3 + 1 /\ i22' <= o25' ]
(Comp: ?, Cost: 2) mod_Load_416(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_LT_419(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_1 /\ 0 <= ar_0 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 7) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_304(ar_1, ar_0, ar_2, ar_3)) [ 0 <= ar_0 /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_2 /\ ar_0 < ar_1 /\ 1 <= ar_1 ]
(Comp: ?, Cost: 8) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0 - ar_1, ar_1, ar_2, ar_3)) [ ar_0 - ar_1 = i32' /\ ar_1 <= ar_0 /\ 0 <= i32' /\ 1 <= ar_1 /\ 0 < ar_2 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 1 <= ar_0 /\ 0 <= ar_0 ]
(Comp: ?, Cost: 9) gcd_Load_304(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_0 /\ 1 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 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) = 7*V_1
Pol(gcd_Load_304) = 2*V_1 + 5*V_2
Pol(mod_Load_416) = 2*V_1 + 5*V_2 - 1
Pol(mod_LT_419) = 2*V_1 + 5*V_2 - 2
Pol(koat_start) = 7*V_1
orients all transitions weakly and the transitions
mod_Load_416(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_LT_419(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_1 /\ 0 <= ar_0 /\ 2 <= ar_3 ]
mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0 - ar_1, ar_1, ar_2, ar_3)) [ ar_0 - ar_1 = i32' /\ ar_1 <= ar_0 /\ 0 <= i32' /\ 1 <= ar_1 /\ 0 < ar_2 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 1 <= ar_0 /\ 0 <= ar_0 ]
mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_304(ar_1, ar_0, ar_2, ar_3)) [ 0 <= ar_0 /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_2 /\ ar_0 < ar_1 /\ 1 <= ar_1 ]
gcd_Load_304(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_0 /\ 1 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 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_304(i8', i22', ar_0, i4')) [ 1 <= i4' /\ static'5 <= static'4 + 2 /\ 0 <= i8' /\ i4' < ar_0 /\ 0 < ar_0 /\ static'1 <= static''' + 1 /\ 2 <= i4' /\ 0 <= i22' /\ 0 <= static'2 /\ o7' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ i8' <= o7' /\ 0 < o7' /\ static'2 <= static'1 /\ -static'3 <= 0 /\ 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 /\ o25' < ar_0 /\ 0 <= i4' /\ static'4 <= static'3 + 1 /\ i22' <= o25' ]
(Comp: 7*ar_0, Cost: 2) mod_Load_416(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_LT_419(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_1 /\ 0 <= ar_0 /\ 2 <= ar_3 ]
(Comp: 7*ar_0, Cost: 7) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(gcd_Load_304(ar_1, ar_0, ar_2, ar_3)) [ 0 <= ar_0 /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_2 /\ ar_0 < ar_1 /\ 1 <= ar_1 ]
(Comp: 7*ar_0, Cost: 8) mod_LT_419(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0 - ar_1, ar_1, ar_2, ar_3)) [ ar_0 - ar_1 = i32' /\ ar_1 <= ar_0 /\ 0 <= i32' /\ 1 <= ar_1 /\ 0 < ar_2 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 1 <= ar_0 /\ 0 <= ar_0 ]
(Comp: 7*ar_0, Cost: 9) gcd_Load_304(ar_0, ar_1, ar_2, ar_3) -> Com_1(mod_Load_416(ar_0, ar_1, ar_2, ar_3)) [ 0 < ar_2 /\ 1 <= ar_0 /\ 1 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_1 /\ 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 182*ar_0 + 49
Time: 0.189 sec (SMT: 0.171 sec)
(42) BOUNDS(CONSTANT, 49 + 182 * |args|)