(0) Obligation:
Need to prove time_complexity of the following program:
/**
* Example taken from "A Term Rewriting Approach to the Automated Termination
* Analysis of Imperative Programs" (http://www.cs.unm.edu/~spf/papers/2009-02.pdf)
* and converted to Java.
*/
public class PastaA5 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
while (x >= y + 1) {
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:
PastaA5.main([Ljava/lang/String;)V: Graph of 169 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 70 edges for the analysis of TIME complexity. Dropped leaves.
(4) Obligation:
Set of 70 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(5) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 70 jbc graph edges to a weighted ITS with 70 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.
(6) Obligation:
IntTrs with 70 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_3(o2, env, static) :|: 0 < o2
main_Load_3(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_13(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_13(o2, env, static) -{0,0}> langle_clinit_rangle_New_15(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_15(o2, env, static) -{0,0}> langle_clinit_rangle_New_16(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_16(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_17(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_17(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_23(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_23(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_25(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_25(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_26(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_27(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_30(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_30(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_31(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_31(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_35(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_35(o2, env, static) -{1,1}> main_Load_41(o2, env, static) :|: 0 < o2
main_Load_41(o2, env, static) -{0,0}> main_Load_42(o2, env, static) :|: 0 < o2
main_Load_42(o2, env, static) -{0,0}> main_Load_44(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_44(o2, env, static) -{0,0}> main_Load_46(o2, env, static) :|: 0 < o2
main_Load_46(o2, env, static) -{0,0}> main_Load_48(o2, env, static) :|: 0 < o2
main_Load_48(o2, env, static) -{1,1}> main_FieldAccess_50(o2, env, static) :|: 0 < o2
main_FieldAccess_50(o2, env, static) -{0,0}> main_FieldAccess_51(o2, env, static) :|: 0 < o2
main_FieldAccess_51(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_59(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_59(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_61(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_61(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_63(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_64(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_64(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
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_73(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_73(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_Store_78(o8, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) :|: 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) -{1,1}> random_Load_95(o8, a6, iconst_1, i5, env, static') :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_95(o8, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_100(o8, a6, iconst_1, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_100(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_107(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_107(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_112(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_136(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_136(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_147(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_147(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_151(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_151(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_160(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_160(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(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_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_191(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_191(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_208(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_208(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_227(i21, a6, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && i21 <= o50
random_Return_227(i21, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_236(a6, i21, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_236(a6, i21, i8, iconst_2, i12, env, static) -{1,1}> main_Load_240(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{46,46}>
main_Load_240(
o2,
i8',
i21',
2,
i4',
env,
static'5) :|:
i21' <=
o25' &&
0 <=
1 &&
0 <=
i8' &&
0 <=
i4' &&
0 <
o2 &&
static'4 <=
static'3 +
1 &&
0 <=
i21' &&
2 <=
i4' &&
0 <
2 &&
o25' <
o2 &&
1 <=
static'4 &&
0 <
o25' &&
0 <=
o8' &&
-1 *
static'4 <=
1 &&
0 <
1 &&
0 <=
static'3 &&
0 <=
static &&
0 <=
static''' &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'1 <=
static''' +
1 &&
o2 <=
static'3 &&
0 <=
static'2 &&
-1 *
static'3 <=
0 &&
0 <
o8' &&
0 <=
o2 &&
i8' <=
o8' &&
o2 <=
static'4 &&
0 <=
static'4 &&
o8' <
o2 &&
0 <=
2 &&
static'2 <=
static'1 +
0 &&
0 <=
o25' &&
static'3 <=
static'2 +
o2 &&
i4' <
o2 &&
1 <=
i4' &&
static'5 <=
static'4 +
2by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_3(
o2,
env,
static) :|:
0 <
o2main_Load_3(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_13(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_13(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_15(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_15(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_16(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_16(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_23(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_23(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_26(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_26(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_30(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_30(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_31(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_31(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_35(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_35(
o2,
env,
static) -{1,1}>
main_Load_41(
o2,
env,
static) :|:
0 <
o2main_Load_41(
o2,
env,
static) -{0,0}>
main_Load_42(
o2,
env,
static) :|:
0 <
o2main_Load_42(
o2,
env,
static) -{0,0}>
main_Load_44(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_44(
o2,
env,
static) -{0,0}>
main_Load_46(
o2,
env,
static) :|:
0 <
o2main_Load_46(
o2,
env,
static) -{0,0}>
main_Load_48(
o2,
env,
static) :|:
0 <
o2main_Load_48(
o2,
env,
static) -{1,1}>
main_FieldAccess_50(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_50(
o2,
env,
static) -{0,0}>
main_FieldAccess_51(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_51(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_61(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_61(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_63(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_64(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_64(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_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_73(
a6,
iconst_0,
i5,
env,
static) :|:
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5 &&
1 <=
i5random_ArrayAccess_73(
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_Store_78(
o8,
a6,
iconst_0,
i5,
env,
static) :|:
0 <=
o8 &&
o8 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
1 <=
i5random_Store_78(
o8,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_FieldAccess_80(
o8,
a6,
iconst_0,
i5,
env,
static) :|:
0 <=
o8 &&
iconst_0 =
0 &&
0 <
a6 &&
1 <=
i5random_FieldAccess_80(
o8,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_ConstantStackPush_84(
iconst_0,
o8,
a6,
i5,
env,
static) :|:
0 <=
o8 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
iconst_0 <=
static &&
1 <=
i5random_ConstantStackPush_84(
iconst_0,
o8,
a6,
i5,
env,
static) -{1,1}>
random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i5,
env,
static) :|:
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6 &&
1 <=
i5random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i5,
env,
static) -{1,1}>
random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i5,
env,
static) :|:
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6 &&
1 <=
i5random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i5,
env,
static) -{1,1}>
random_Load_95(
o8,
a6,
iconst_1,
i5,
env,
static') :|:
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
static' <=
static +
iconst_1 &&
1 <=
i5random_Load_95(
o8,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
random_InvokeMethod_100(
o8,
a6,
iconst_1,
i5,
env,
static) :|:
0 <=
o8 &&
iconst_1 =
1 &&
0 <
a6 &&
1 <=
i5random_InvokeMethod_100(
o12,
a6,
iconst_1,
i5,
env,
static) -{0,0}>
random_InvokeMethod_102(
o12,
a6,
iconst_1,
i5,
env,
static) :|:
0 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6 &&
1 <=
i5random_InvokeMethod_102(
o12,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
random_Return_107(
i8,
a6,
iconst_1,
i5,
env,
static) :|:
i8 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_Return_107(
i8,
a6,
iconst_1,
i5,
env,
static) -{1,1}>
main_Store_112(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5main_Store_112(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
main_InvokeMethod_117(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5main_InvokeMethod_117(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
random_FieldAccess_121(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_FieldAccess_121(
a6,
i8,
iconst_1,
i5,
env,
static) -{1,1}>
random_FieldAccess_136(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
0 <=
a6 &&
iconst_1 =
1 &&
a6 <=
static &&
0 <=
static &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5random_FieldAccess_136(
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_147(
a6,
iconst_1,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i12random_ArrayAccess_147(
a6,
iconst_1,
i8,
i12,
env,
static) -{1,1}>
random_Store_151(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
o25 <
a6 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_Store_151(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_FieldAccess_155(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_FieldAccess_155(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_ConstantStackPush_160(
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_160(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_IntArithmetic_171(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_IntArithmetic_171(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_FieldAccess_177(
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_177(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_191(
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_191(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_208(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_208(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_217(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2random_InvokeMethod_217(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_Return_227(
i21,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i21 &&
0 <
o50 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2 &&
i21 <=
o50random_Return_227(
i21,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Store_236(
a6,
i21,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i21 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Store_236(
a6,
i21,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_240(
a6,
i8,
i21,
iconst_2,
i12,
env,
static) :|:
0 <=
i21 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2obtained
main_Load_240(a6, i8, i21, 2, i12, env, static) -{7,7}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
by chaining
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(8) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, env, static) -{46,46}> main_Load_240(o2, i8', i21', 2, i4', env, static'5) :|: i21' <= o25' && 0 <= 1 && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && 0 < 2 && o25' < o2 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o2 && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && 0 <= 2 && static'2 <= static'1 + 0 && 0 <= o25' && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_240(a6, i8, i21, 2, i12, env, static) -{7,7}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
(9) 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)
main_Load_240(x1, x2, x3, x4, x5, x6, x7) → main_Load_240(x1, x2, x3, x5)
(10) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{46,46}> main_Load_240(o2, i8', i21', i4') :|: i21' <= o25' && 0 <= 1 && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && 0 < 2 && o25' < o2 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o2 && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && 0 <= 2 && static'2 <= static'1 + 0 && 0 <= o25' && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_240(a6, i8, i21, i12) -{7,7}> main_Load_240(a6, i8, i24', i12) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
(11) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_Load_240(a6, i8, i21, i12) -{7,7}> main_Load_240(a6, i8, i24', i12) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
was transformed to
main_Load_240(a6, i8, i21, i12) -{7,7}> main_Load_240(a6, i8, i21 + 1, i12) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
(12) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{46,46}> main_Load_240(o2, i8', i21', i4') :|: i21' <= o25' && 0 <= 1 && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && 0 < 2 && o25' < o2 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o2 && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && 0 <= 2 && static'2 <= static'1 + 0 && 0 <= o25' && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_240(a6, i8, i21, i12) -{7,7}> main_Load_240(a6, i8, i21 + 1, i12) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
(13) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o2, static) -{46,46}> main_Load_240(o2, i8', i21', i4') :|: i21' <= o25' && 0 <= 1 && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && 0 < 2 && o25' < o2 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o2 && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && 0 <= 2 && static'2 <= static'1 + 0 && 0 <= o25' && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
was transformed to
main_Load_1(o2, static) -{46,46}> main_Load_240(o2, i8', i21', i4') :|: i21' <= o25' && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && o25' < o2 && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && static'2 <= static'1 && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
(14) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{46,46}> main_Load_240(o2, i8', i21', i4') :|: i21' <= o25' && 0 <= i8' && 0 <= i4' && 0 < o2 && static'4 <= static'3 + 1 && 0 <= i21' && 2 <= i4' && o25' < o2 && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && 0 < o8' && i8' <= o8' && o2 <= static'4 && 0 <= static'4 && o8' < o2 && static'2 <= static'1 && static'3 <= static'2 + o2 && i4' < o2 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_240(a6, i8, i21, i12) -{7,7}> main_Load_240(a6, i8, i21 + 1, i12) :|: 0 <= i21 && i21 + 1 = i24' && 0 <= i8 && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22' && i21 + 1 = i22' && i22' <= i8
(15) koat Proof (EQUIVALENT transformation)
YES(?, 7*ar_0 + 46)
Initial complexity problem:
1: T:
(Comp: ?, Cost: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, i8', i21', i4')) [ i21' <= o25' /\ 0 <= i8' /\ 0 <= i4' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i21' /\ 2 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 7) main_Load_240(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 0 < ar_0 /\ 2 <= ar_3 /\ 1 <= ar_1 /\ 1 <= i24' /\ 0 <= i24' /\ 1 <= i22' /\ ar_2 + 1 = i22' /\ i22' <= ar_1 ]
(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: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, i8', i21', i4')) [ i21' <= o25' /\ 0 <= i8' /\ 0 <= i4' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i21' /\ 2 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 7) main_Load_240(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 0 < ar_0 /\ 2 <= ar_3 /\ 1 <= ar_1 /\ 1 <= i24' /\ 0 <= i24' /\ 1 <= i22' /\ ar_2 + 1 = i22' /\ i22' <= ar_1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
A polynomial rank function with
Pol(main_Load_1) = V_1
Pol(main_Load_240) = V_2 - V_3
Pol(koat_start) = V_1
orients all transitions weakly and the transition
main_Load_240(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 0 < ar_0 /\ 2 <= ar_3 /\ 1 <= ar_1 /\ 1 <= i24' /\ 0 <= i24' /\ 1 <= i22' /\ ar_2 + 1 = i22' /\ i22' <= ar_1 ]
strictly and produces the following problem:
3: T:
(Comp: 1, Cost: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, i8', i21', i4')) [ i21' <= o25' /\ 0 <= i8' /\ 0 <= i4' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i21' /\ 2 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ar_0, Cost: 7) main_Load_240(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_240(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 0 < ar_0 /\ 2 <= ar_3 /\ 1 <= ar_1 /\ 1 <= i24' /\ 0 <= i24' /\ 1 <= i22' /\ ar_2 + 1 = i22' /\ i22' <= ar_1 ]
(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 7*ar_0 + 46
Time: 0.227 sec (SMT: 0.210 sec)
(16) BOUNDS(CONSTANT, 46 + 7 * |args|)
(17) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 75 edges for the analysis of TIME complexity. Kept leaves.
(18) Obligation:
Set of 75 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
(19) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 75 jbc graph edges to a weighted ITS with 75 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.
(20) Obligation:
IntTrs with 75 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_3(o2, env, static) :|: 0 < o2
main_Load_3(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_13(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_13(o2, env, static) -{0,0}> langle_clinit_rangle_New_15(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_15(o2, env, static) -{0,0}> langle_clinit_rangle_New_16(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_16(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_17(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_17(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_23(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_23(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_25(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_25(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_26(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_27(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_30(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_30(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_31(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_31(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_35(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_35(o2, env, static) -{1,1}> main_Load_41(o2, env, static) :|: 0 < o2
main_Load_41(o2, env, static) -{0,0}> main_Load_42(o2, env, static) :|: 0 < o2
main_Load_42(o2, env, static) -{0,0}> main_Load_44(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_44(o2, env, static) -{0,0}> main_Load_46(o2, env, static) :|: 0 < o2
main_Load_46(o2, env, static) -{0,0}> main_Load_48(o2, env, static) :|: 0 < o2
main_Load_48(o2, env, static) -{1,1}> main_FieldAccess_50(o2, env, static) :|: 0 < o2
main_FieldAccess_50(o2, env, static) -{0,0}> main_FieldAccess_51(o2, env, static) :|: 0 < o2
main_FieldAccess_51(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_59(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_59(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_61(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_61(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_63(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_64(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_64(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
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_73(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_73(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_Store_78(o8, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) :|: 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) -{1,1}> random_Load_95(o8, a6, iconst_1, i5, env, static') :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_95(o8, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_100(o8, a6, iconst_1, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_100(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_107(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_107(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_112(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_136(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_136(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_146(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_147(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_147(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_151(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_151(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_160(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_160(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(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_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_191(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_191(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_208(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_208(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_227(i21, a6, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && i21 <= o50
random_Return_227(i21, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_236(a6, i21, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_236(a6, i21, i8, iconst_2, i12, env, static) -{1,1}> main_Load_240(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(21) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{23,23}>
random_ArrayAccess_70(
o2,
0,
i4',
env,
static'3) :|:
static'3 <=
static'2 +
o2 &&
i4' <
o2 &&
static'2 <=
static'1 +
0 &&
0 <
o2 &&
0 <=
2 &&
0 <=
i4' &&
0 <=
o2 &&
0 <=
static'2 &&
o2 <=
static'3 &&
static'1 <=
static''' +
1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
0 <=
static''' &&
-1 *
static'3 <=
0 &&
0 <=
static &&
0 <
1 &&
0 <
2 &&
0 <=
1 &&
0 <=
static'3by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_3(
o2,
env,
static) :|:
0 <
o2main_Load_3(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_13(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_13(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_15(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_15(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_16(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_16(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_23(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_23(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_26(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_26(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_30(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_30(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_31(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_31(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_35(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_35(
o2,
env,
static) -{1,1}>
main_Load_41(
o2,
env,
static) :|:
0 <
o2main_Load_41(
o2,
env,
static) -{0,0}>
main_Load_42(
o2,
env,
static) :|:
0 <
o2main_Load_42(
o2,
env,
static) -{0,0}>
main_Load_44(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_44(
o2,
env,
static) -{0,0}>
main_Load_46(
o2,
env,
static) :|:
0 <
o2main_Load_46(
o2,
env,
static) -{0,0}>
main_Load_48(
o2,
env,
static) :|:
0 <
o2main_Load_48(
o2,
env,
static) -{1,1}>
main_FieldAccess_50(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_50(
o2,
env,
static) -{0,0}>
main_FieldAccess_51(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_51(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_61(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_61(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_63(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_64(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_64(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
by chaining
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_73(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_Store_78(o8, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) :|: 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) -{1,1}> random_Load_95(o8, a6, iconst_1, i5, env, static') :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_95(o8, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_100(o8, a6, iconst_1, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && 0 < a6 && 1 <= i5
obtained
random_InvokeMethod_100(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_100(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_107(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_107(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_112(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_136(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_136(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_208(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_147(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_147(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_151(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_151(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_160(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_160(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(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_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_191(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_191(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_208(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
by chaining
random_InvokeMethod_208(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_227(i21, a6, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && i21 <= o50
random_Return_227(i21, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_236(a6, i21, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_236(a6, i21, i8, iconst_2, i12, env, static) -{1,1}> main_Load_240(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
by chaining
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
obtained
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
by chaining
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(22) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_100(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_146(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_208(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
(23) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_InvokeMethod_100(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_100(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_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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_208(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
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
was transformed to
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
was transformed to
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
was transformed to
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
was transformed to
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
(24) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_InvokeMethod_100(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_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
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
(25) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(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_146(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
(26) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_100(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_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(27) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
was transformed to
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
was transformed to
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(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_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
was transformed to
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
was transformed to
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(28) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
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_InvokeMethod_100(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
(29) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_InvokeMethod_100(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_100(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
(30) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
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_InvokeMethod_100(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
(31) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 75 jbc graph edges to a weighted ITS with 75 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.
(32) Obligation:
IntTrs with 75 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_3(o2, env, static) :|: 0 < o2
main_Load_3(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_8(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_10(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_13(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_13(o2, env, static) -{0,0}> langle_clinit_rangle_New_15(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_15(o2, env, static) -{0,0}> langle_clinit_rangle_New_16(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_16(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_17(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_17(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_19(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_21(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_23(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_23(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_25(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_25(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_26(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_27(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_30(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_30(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_31(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_31(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_33(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_35(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_35(o2, env, static) -{1,1}> main_Load_41(o2, env, static) :|: 0 < o2
main_Load_41(o2, env, static) -{0,0}> main_Load_42(o2, env, static) :|: 0 < o2
main_Load_42(o2, env, static) -{0,0}> main_Load_44(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_44(o2, env, static) -{0,0}> main_Load_46(o2, env, static) :|: 0 < o2
main_Load_46(o2, env, static) -{0,0}> main_Load_48(o2, env, static) :|: 0 < o2
main_Load_48(o2, env, static) -{1,1}> main_FieldAccess_50(o2, env, static) :|: 0 < o2
main_FieldAccess_50(o2, env, static) -{0,0}> main_FieldAccess_51(o2, env, static) :|: 0 < o2
main_FieldAccess_51(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_52(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_55(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_57(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_59(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_59(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_61(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_61(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_63(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_63(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_64(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_64(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
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_73(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_73(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_Store_78(o8, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) :|: 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) -{1,1}> random_Load_95(o8, a6, iconst_1, i5, env, static') :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_95(o8, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_100(o8, a6, iconst_1, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_100(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_107(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_107(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_112(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_136(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_136(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_146(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_147(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_147(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_151(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_151(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_160(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_160(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(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_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_191(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_191(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_208(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_208(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_227(i21, a6, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && i21 <= o50
random_Return_227(i21, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_236(a6, i21, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_236(a6, i21, i8, iconst_2, i12, env, static) -{1,1}> main_Load_240(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(33) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{23,23}>
random_ArrayAccess_70(
o2,
0,
i4',
env,
static'3) :|:
static'3 <=
static'2 +
o2 &&
i4' <
o2 &&
static'2 <=
static'1 +
0 &&
0 <
o2 &&
0 <=
2 &&
0 <=
i4' &&
0 <=
o2 &&
0 <=
static'2 &&
o2 <=
static'3 &&
static'1 <=
static''' +
1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
0 <=
static''' &&
-1 *
static'3 <=
0 &&
0 <=
static &&
0 <
1 &&
0 <
2 &&
0 <=
1 &&
0 <=
static'3by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_3(
o2,
env,
static) :|:
0 <
o2main_Load_3(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_8(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_10(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_13(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_13(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_15(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_15(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_16(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_16(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_17(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_19(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_21(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_23(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_23(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_25(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_26(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_26(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_27(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_30(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_30(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_31(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_31(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_33(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_35(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_35(
o2,
env,
static) -{1,1}>
main_Load_41(
o2,
env,
static) :|:
0 <
o2main_Load_41(
o2,
env,
static) -{0,0}>
main_Load_42(
o2,
env,
static) :|:
0 <
o2main_Load_42(
o2,
env,
static) -{0,0}>
main_Load_44(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_44(
o2,
env,
static) -{0,0}>
main_Load_46(
o2,
env,
static) :|:
0 <
o2main_Load_46(
o2,
env,
static) -{0,0}>
main_Load_48(
o2,
env,
static) :|:
0 <
o2main_Load_48(
o2,
env,
static) -{1,1}>
main_FieldAccess_50(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_50(
o2,
env,
static) -{0,0}>
main_FieldAccess_51(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_51(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_52(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_55(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_57(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_59(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_61(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_61(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_63(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_63(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_64(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_64(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
by chaining
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, i5, env, static) :|: iconst_0 = 0 && 0 < a6 && 0 <= i5 && 1 <= i5
random_ArrayAccess_73(a6, iconst_0, i5, env, static) -{1,1}> random_Store_78(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_Store_78(o8, a6, iconst_0, i5, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_80(o8, a6, iconst_0, i5, env, static) -{1,1}> random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) :|: 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static && 1 <= i5
random_ConstantStackPush_84(iconst_0, o8, a6, i5, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i5, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6 && 1 <= i5
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i5, env, static) -{1,1}> random_Load_95(o8, a6, iconst_1, i5, env, static') :|: 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1 && 1 <= i5
random_Load_95(o8, a6, iconst_1, i5, env, static) -{1,1}> random_InvokeMethod_100(o8, a6, iconst_1, i5, env, static) :|: 0 <= o8 && iconst_1 = 1 && 0 < a6 && 1 <= i5
obtained
random_InvokeMethod_100(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_100(o12, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) :|: 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 1 <= i5
random_InvokeMethod_102(o12, a6, iconst_1, i5, env, static) -{1,1}> random_Return_107(i8, a6, iconst_1, i5, env, static) :|: i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_Return_107(i8, a6, iconst_1, i5, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_Store_112(a6, i8, iconst_1, i5, env, static) -{1,1}> main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_117(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_121(a6, i8, iconst_1, i5, env, static) -{1,1}> random_FieldAccess_136(a6, i8, iconst_1, i5, env, static) :|: 0 <= a6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8 && 1 <= i5
random_FieldAccess_136(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_208(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_147(a6, iconst_1, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i12
random_ArrayAccess_147(a6, iconst_1, i8, i12, env, static) -{1,1}> random_Store_151(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && o25 < a6 && 0 < a6 && 0 <= i8 && 0 <= o25
random_Store_151(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_155(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_160(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_160(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(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_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_191(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_191(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_208(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
by chaining
random_InvokeMethod_208(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_217(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_227(i21, a6, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2 && i21 <= o50
random_Return_227(i21, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_236(a6, i21, i8, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_236(a6, i21, i8, iconst_2, i12, env, static) -{1,1}> main_Load_240(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
by chaining
main_Load_240(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_Load_244(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_244(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_ConstantStackPush_249(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_IntArithmetic_252(a6, i8, i21, iconst_1, iconst_2, i12, env, static) -{1,1}> main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2 && i21 + iconst_1 = i22
obtained
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
by chaining
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_261(a6, i8, i22, i21, iconst_2, i12, env, static) -{1,1}> main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_Inc_272(a6, i8, i21, iconst_2, i12, env, static) -{1,1}> main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i21 + 1 = i24 && iconst_2 = 2
main_JMP_282(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_301(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_301(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_240(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(34) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_100(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_146(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_208(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
(35) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_InvokeMethod_100(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_100(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_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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_208(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
main_Load_240(a6, i8, i21, 2, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22'
was transformed to
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12
was transformed to
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, 2, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22
was transformed to
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0
was transformed to
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
(36) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_InvokeMethod_100(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_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_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_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
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
(37) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(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_146(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
(38) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
random_InvokeMethod_100(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_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
(39) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i22', i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
was transformed to
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i24', 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
was transformed to
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(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_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, iconst_2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
was transformed to
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
was transformed to
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
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
(40) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_InvokeMethod_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
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_InvokeMethod_100(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
(41) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_InvokeMethod_100(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_100(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
(42) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_100(NULL, a6, iconst_1, i5, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i5, env, static) :|: NULL = 0 && iconst_1 = 1 && 0 <= NULL && 0 < a6 && 1 <= i5
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_InvokeMethod_100(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_208(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_218(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LT_255(a6, i8, i22, i21, iconst_2, i12, env, static) -{0,0}> main_LT_259(a6, i8, i22, i21, 2, i12, env, static) :|: 0 <= i21 && 2 <= i12 && i8 < i22 && 0 < a6 && 0 <= i8 && 1 <= i22 && iconst_2 = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_208(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_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_208(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21', 2, i12, env, static) :|: i21' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i21' && 2 <= i12 && x = 2
random_ArrayAccess_70(a6, x, i5, env, static) -{7,7}> random_InvokeMethod_100(o8', a6, 1, i5, env, static'4) :|: 0 <= i5 && 1 <= i5 && 0 <= static && 0 < a6 && 0 <= o8' && static'4 <= static + 1 && o8' < a6 && -1 * static <= 0 && x = 0
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
main_LT_255(a6, i8, i22, i21, x, i12, env, static) -{3,3}> main_Load_240(a6, i8, i21 + 1, 2, i12, env, static) :|: i22 <= i8 && 0 <= i21 && 0 <= i8 && i21 + 1 = i24' && 0 < a6 && 2 <= i12 && 1 <= i8 && 1 <= i24' && 0 <= i24' && 1 <= i22 && x = 2
main_Load_240(a6, i8, i21, x, i12, env, static) -{4,4}> main_LT_255(a6, i8, i21 + 1, i21, 2, i12, env, static) :|: 0 < a6 && i21 + 1 = i22' && 0 <= i8 && 2 <= i12 && 0 <= i21 && 1 <= i22' && x = 2