(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 PastaB2 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
while (x > y) {
x--;
y++;
}
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
(1) JBCToGraph (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Constructed TerminationGraph.
(2) Obligation:
Termination Graph based on JBC Program:
PastaB2.main([Ljava/lang/String;)V: Graph of 168 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 74 edges for the analysis of TIME complexity. Kept leaves.
(4) Obligation:
Set of 74 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: nonterm paths and paths from start to sinks
(5) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 74 jbc graph edges to a weighted ITS with 74 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(6) Obligation:
IntTrs with 74 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_20(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_20(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_33(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_35(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_35(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_46(o1, env, static) :|: 0 < o1
main_FieldAccess_46(o1, env, static) -{0,0}> main_FieldAccess_47(o1, env, static) :|: 0 < o1
main_FieldAccess_47(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_51(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_51(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_52(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_52(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_54(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_54(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_58(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_58(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_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_85(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_85(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_116(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_116(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_153(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_153(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_163(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_163(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_176(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_176(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_189(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_189(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_206(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_224(i20, a6, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i20 <= o50 && iconst_2 = 2
random_Return_224(i20, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_229(a6, i20, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_229(a6, i20, i8, iconst_2, i12, env, static) -{1,1}> main_Load_233(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_70(
o1,
0,
i4',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
i4' <
o1 &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
0 <=
i4' &&
static'2 <=
static'1 +
0 &&
0 <=
o1 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
-1 *
static'3 <=
0 &&
0 <=
static''' &&
0 <
2 &&
0 <=
static'3 &&
0 <=
1 &&
0 <
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_35(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_35(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_46(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_46(
o1,
env,
static) -{0,0}>
main_FieldAccess_47(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_47(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_52(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_52(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_54(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_54(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_58(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_58(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6obtained
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_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_85(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_85(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_116(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_116(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_206(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_153(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_153(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_163(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_163(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_176(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_176(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_189(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_189(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_206(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
by chaining
random_InvokeMethod_206(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_224(i20, a6, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i20 <= o50 && iconst_2 = 2
random_Return_224(i20, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_229(a6, i20, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_229(a6, i20, i8, iconst_2, i12, env, static) -{1,1}> main_Load_233(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
by chaining
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
by chaining
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(8) 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(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_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_206(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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
(9) 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_206(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_206(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_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
was transformed to
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && 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
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
was transformed to
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
(10) 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_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_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_206(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, 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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && 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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
(11) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_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
(12) 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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(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_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && 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_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
(13) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(14) Obligation:
IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
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
(15) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
was transformed to
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 - 1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 - 1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
(16) 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 - 1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 - 1 = i22' && i20 + 1 = i23' && 0 <= i20 && 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_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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
(17) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 74 jbc graph edges to a weighted ITS with 74 rules.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(18) Obligation:
IntTrs with 74 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_20(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_20(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_33(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_35(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_35(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_46(o1, env, static) :|: 0 < o1
main_FieldAccess_46(o1, env, static) -{0,0}> main_FieldAccess_47(o1, env, static) :|: 0 < o1
main_FieldAccess_47(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_51(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_51(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_52(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_52(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_54(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_54(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_58(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_58(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_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_85(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_85(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_116(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_116(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_153(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_153(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_163(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_163(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_176(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_176(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_189(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_189(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_206(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_224(i20, a6, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i20 <= o50 && iconst_2 = 2
random_Return_224(i20, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_229(a6, i20, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_229(a6, i20, i8, iconst_2, i12, env, static) -{1,1}> main_Load_233(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(19) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_70(
o1,
0,
i4',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
i4' <
o1 &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
0 <=
i4' &&
static'2 <=
static'1 +
0 &&
0 <=
o1 &&
o1 <=
static'3 &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'3 <=
static'2 +
o1 &&
0 <=
static &&
-1 *
static'3 <=
0 &&
0 <=
static''' &&
0 <
2 &&
0 <=
static'3 &&
0 <=
1 &&
0 <
1by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_35(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_35(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_46(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_46(
o1,
env,
static) -{0,0}>
main_FieldAccess_47(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_47(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_52(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_52(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_54(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_54(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_58(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_58(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6obtained
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_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_85(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_85(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_116(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_116(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_206(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_153(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_153(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_163(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_163(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_176(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_176(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_189(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_189(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_206(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
by chaining
random_InvokeMethod_206(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_224(i20, a6, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i20 <= o50 && iconst_2 = 2
random_Return_224(i20, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_229(a6, i20, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_229(a6, i20, i8, iconst_2, i12, env, static) -{1,1}> main_Load_233(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
by chaining
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
by chaining
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(20) 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(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i5, env, static) -{7,7}> random_InvokeMethod_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_206(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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
(21) 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_206(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_206(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_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
was transformed to
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && 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
main_LE_242(a6, i8, i20, 2, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_InvokeMethod_206(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12
was transformed to
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 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_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_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_206(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, 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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && 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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
(23) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_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
(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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(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_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && 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_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
(25) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(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_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(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_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
random_ArrayAccess_70(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_71(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
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
(27) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 <= 2 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 + 0 && 0 <= o1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 < 2 && 0 <= static'3 && 0 <= 1 && 0 < 1
was transformed to
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 + -1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 + -1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
was transformed to
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 - 1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 - 1 = i22' && i20 + 1 = i23' && 0 <= i20 && x = 2
(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:
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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_LE_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_206(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_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
main_LE_242(a6, i8, i20, x, i12, env, static) -{4,4}> main_Load_233(a6, i8 - 1, i20 + 1, 2, i12, env, static) :|: 0 <= i8 && 0 <= i23' && i20 < i8 && 1 <= i8 && 0 < a6 && 1 <= i23' && 0 <= i22' && 2 <= i12 && i8 - 1 = i22' && i20 + 1 = i23' && 0 <= i20 && 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_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_206(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_215(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_245(a6, i8, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_70(o1, 0, i4', env, static'3) :|: static'1 <= static''' + 1 && i4' < o1 && 0 < o1 && 0 <= static'2 && 0 <= i4' && static'2 <= static'1 && o1 <= static'3 && static''' <= static + 2 && 0 <= static'1 && static'3 <= static'2 + o1 && 0 <= static && -1 * static'3 <= 0 && 0 <= static''' && 0 <= static'3
random_InvokeMethod_206(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20', 2, i12, env, static) :|: i20' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i20' && 2 <= i12 && x = 2
(29) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 69 edges for the analysis of TIME complexity. Dropped leaves.
(30) Obligation:
Set of 69 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(31) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 69 jbc graph edges to a weighted ITS with 69 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Filtered fields of type java.lang.Object.
Did no encode lower bounds for putfield and astore.
(32) Obligation:
IntTrs with 69 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, env, static) -{0,0}> main_Load_3(o1, env, static) :|: 0 < o1
main_Load_3(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_6(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_12(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_14(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_16(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_16(o1, env, static) -{0,0}> langle_clinit_rangle_New_18(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_18(o1, env, static) -{0,0}> langle_clinit_rangle_New_19(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_19(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_20(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_20(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_22(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_23(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_25(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_25(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_27(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_27(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_29(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_29(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_31(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_31(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_33(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_33(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_35(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_35(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_38(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_40(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_40(o1, env, static) -{1,1}> main_Load_41(o1, env, static) :|: 0 < o1
main_Load_41(o1, env, static) -{0,0}> main_Load_42(o1, env, static) :|: 0 < o1
main_Load_42(o1, env, static) -{0,0}> main_Load_43(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_43(o1, env, static) -{0,0}> main_Load_44(o1, env, static) :|: 0 < o1
main_Load_44(o1, env, static) -{0,0}> main_Load_45(o1, env, static) :|: 0 < o1
main_Load_45(o1, env, static) -{1,1}> main_FieldAccess_46(o1, env, static) :|: 0 < o1
main_FieldAccess_46(o1, env, static) -{0,0}> main_FieldAccess_47(o1, env, static) :|: 0 < o1
main_FieldAccess_47(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_48(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_49(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_50(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_51(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_51(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_52(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_52(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_54(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_54(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_58(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_58(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, i5, env, static) -{0,0}> random_ArrayAccess_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_85(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_85(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_116(a6, i8, iconst_1, i5, env, static) :|: iconst_1 = 1 && 0 < a6 && 0 <= i8 && 1 <= i5
main_InvokeMethod_116(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_153(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_153(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_163(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_163(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_170(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_176(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_176(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_189(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_189(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_206(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_206(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_214(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_224(i20, a6, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i20 <= o50 && iconst_2 = 2
random_Return_224(i20, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_229(a6, i20, i8, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_229(a6, i20, i8, iconst_2, i12, env, static) -{1,1}> main_Load_233(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(33) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{46,46}>
main_Load_233(
o1,
i8',
i20',
2,
i4',
env,
static'5) :|:
0 <=
1 &&
0 <
1 &&
0 <=
i8' &&
i20' <=
o25' &&
0 <
o1 &&
static'4 <=
static'3 +
1 &&
0 <=
i20' &&
2 <=
i4' &&
0 <=
i4' &&
o25' <
o1 &&
1 <=
static'4 &&
0 <
o25' &&
0 <=
o8' &&
-1 *
static'4 <=
1 &&
0 <
2 &&
0 <=
static'3 &&
0 <=
static''' &&
0 <=
static &&
static'3 <=
static'2 +
o1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
o1 <=
static'3 &&
-1 *
static'3 <=
0 &&
static'2 <=
static'1 +
0 &&
0 <
o8' &&
0 <=
o1 &&
i8' <=
o8' &&
o1 <=
static'4 &&
0 <=
static'4 &&
o8' <
o1 &&
0 <=
static'2 &&
0 <=
2 &&
0 <=
o25' &&
static'1 <=
static''' +
1 &&
i4' <
o1 &&
1 <=
i4' &&
static'5 <=
static'4 +
2by chaining
main_Load_1(
o1,
env,
static) -{0,0}>
main_Load_3(
o1,
env,
static) :|:
0 <
o1main_Load_3(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_6(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_12(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_14(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_16(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_16(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_18(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_18(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_19(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_19(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_20(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_22(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_23(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_25(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_25(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_27(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_29(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_29(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_31(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_33(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_33(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_35(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_35(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_38(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_40(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_40(
o1,
env,
static) -{1,1}>
main_Load_41(
o1,
env,
static) :|:
0 <
o1main_Load_41(
o1,
env,
static) -{0,0}>
main_Load_42(
o1,
env,
static) :|:
0 <
o1main_Load_42(
o1,
env,
static) -{0,0}>
main_Load_43(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_43(
o1,
env,
static) -{0,0}>
main_Load_44(
o1,
env,
static) :|:
0 <
o1main_Load_44(
o1,
env,
static) -{0,0}>
main_Load_45(
o1,
env,
static) :|:
0 <
o1main_Load_45(
o1,
env,
static) -{1,1}>
main_FieldAccess_46(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_46(
o1,
env,
static) -{0,0}>
main_FieldAccess_47(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_47(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_48(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_49(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_50(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_51(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_52(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_52(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_54(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_54(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_58(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_58(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_69(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_69(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_70(
a6,
iconst_0,
i4,
env,
static) :|:
0 <=
i4 &&
iconst_0 =
0 &&
0 <
a6 &&
i4 <
a6random_ArrayAccess_70(
a6,
iconst_0,
i5,
env,
static) -{0,0}>
random_ArrayAccess_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_85(
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_85(
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_116(
a6,
i8,
iconst_1,
i5,
env,
static) :|:
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
1 <=
i5main_InvokeMethod_116(
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_153(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_FieldAccess_153(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_ConstantStackPush_163(
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_163(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_IntArithmetic_170(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_IntArithmetic_170(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_FieldAccess_176(
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_176(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_189(
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_189(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_206(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_206(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_214(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2random_InvokeMethod_214(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_Return_224(
i20,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
0 <
o50 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
i20 <=
o50 &&
iconst_2 =
2random_Return_224(
i20,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Store_229(
a6,
i20,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Store_229(
a6,
i20,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_233(
a6,
i8,
i20,
iconst_2,
i12,
env,
static) :|:
0 <=
i20 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2obtained
main_Load_233(a6, i8, i20, 2, i12, env, static) -{6,6}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
by chaining
main_Load_233(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_237(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_237(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Inc_255(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i8 && 0 <= i22 && 0 < a6 && i8 + -1 = i22 && iconst_2 = 2
main_Inc_267(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i23 && 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_JMP_271(a6, i22, i23, iconst_2, i12, env, static) -{1,1}> main_Load_277(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2
main_Load_277(a6, i22, i23, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i23, iconst_2, i12, env, static) :|: 2 <= i12 && 1 <= i23 && 0 <= i22 && 0 < a6 && iconst_2 = 2 && 0 <= i23
(34) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, env, static) -{46,46}> main_Load_233(o1, i8', i20', 2, i4', env, static'5) :|: 0 <= 1 && 0 < 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 2 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= 2 && 0 <= o25' && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, 2, i12, env, static) -{6,6}> main_Load_233(a6, i22', i23', 2, i12, env, static) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
(35) WeightedIntTrsUnneededArgumentFilterProof (CONCRETE UPPER BOUND(ID) transformation)
Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements:
main_Load_1(x1, x2, x3) → main_Load_1(x1, x3)
main_Load_233(x1, x2, x3, x4, x5, x6, x7) → main_Load_233(x1, x2, x3, x5)
(36) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i4') :|: 0 <= 1 && 0 < 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 2 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= 2 && 0 <= o25' && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i22', i23', i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
(37) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i22', i23', i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
was transformed to
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i8 + -1, i20 + 1, i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
(38) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i8 + -1, i20 + 1, i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i4') :|: 0 <= 1 && 0 < 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 2 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= 2 && 0 <= o25' && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
(39) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i4') :|: 0 <= 1 && 0 < 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 < 2 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 + 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= 2 && 0 <= o25' && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
was transformed to
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i4') :|: 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 && 0 < o8' && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i8 + -1, i20 + 1, i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 + -1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
was transformed to
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i8 - 1, i20 + 1, i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 - 1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
(40) Obligation:
IntTrs with 2 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i4') :|: 0 <= i8' && i20' <= o25' && 0 < o1 && static'4 <= static'3 + 1 && 0 <= i20' && 2 <= i4' && 0 <= i4' && o25' < o1 && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && -1 * static'3 <= 0 && static'2 <= static'1 && 0 < o8' && i8' <= o8' && o1 <= static'4 && 0 <= static'4 && o8' < o1 && 0 <= static'2 && static'1 <= static''' + 1 && i4' < o1 && 1 <= i4' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, i12) -{6,6}> main_Load_233(a6, i8 - 1, i20 + 1, i12) :|: i20 < i8 && 0 <= i23' && 0 <= i8 && 1 <= i23' && 0 < a6 && 2 <= i12 && 0 <= i22' && i8 - 1 = i22' && 0 <= i20 && 1 <= i8 && i20 + 1 = i23'
(41) koat Proof (EQUIVALENT transformation)
YES(?, 6*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_233(ar_0, i8', i20', i4')) [ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= static''' /\ 0 <= ar_1 /\ static'3 <= static'2 + ar_0 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ ar_0 <= static'3 /\ -static'3 <= 0 /\ static'2 <= static'1 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 6) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 - 1, ar_2 + 1, ar_3)) [ ar_2 < ar_1 /\ 0 <= i23' /\ 0 <= ar_1 /\ 1 <= i23' /\ 0 < ar_0 /\ 2 <= ar_3 /\ 0 <= i22' /\ ar_1 - 1 = i22' /\ 0 <= ar_2 /\ 1 <= ar_1 /\ ar_2 + 1 = i23' ]
(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_233(ar_0, i8', i20', i4')) [ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= static''' /\ 0 <= ar_1 /\ static'3 <= static'2 + ar_0 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ ar_0 <= static'3 /\ -static'3 <= 0 /\ static'2 <= static'1 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 6) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 - 1, ar_2 + 1, ar_3)) [ ar_2 < ar_1 /\ 0 <= i23' /\ 0 <= ar_1 /\ 1 <= i23' /\ 0 < ar_0 /\ 2 <= ar_3 /\ 0 <= i22' /\ ar_1 - 1 = i22' /\ 0 <= ar_2 /\ 1 <= ar_1 /\ ar_2 + 1 = i23' ]
(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_233) = V_2 + 1
Pol(koat_start) = V_1
orients all transitions weakly and the transition
main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 - 1, ar_2 + 1, ar_3)) [ ar_2 < ar_1 /\ 0 <= i23' /\ 0 <= ar_1 /\ 1 <= i23' /\ 0 < ar_0 /\ 2 <= ar_3 /\ 0 <= i22' /\ ar_1 - 1 = i22' /\ 0 <= ar_2 /\ 1 <= ar_1 /\ ar_2 + 1 = i23' ]
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_233(ar_0, i8', i20', i4')) [ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ static'4 <= static'3 + 1 /\ 0 <= i20' /\ 2 <= i4' /\ 0 <= i4' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= static''' /\ 0 <= ar_1 /\ static'3 <= static'2 + ar_0 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ ar_0 <= static'3 /\ -static'3 <= 0 /\ static'2 <= static'1 /\ 0 < o8' /\ i8' <= o8' /\ ar_0 <= static'4 /\ 0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ i4' < ar_0 /\ 1 <= i4' /\ static'5 <= static'4 + 2 ]
(Comp: ar_0, Cost: 6) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 - 1, ar_2 + 1, ar_3)) [ ar_2 < ar_1 /\ 0 <= i23' /\ 0 <= ar_1 /\ 1 <= i23' /\ 0 < ar_0 /\ 2 <= ar_3 /\ 0 <= i22' /\ ar_1 - 1 = i22' /\ 0 <= ar_2 /\ 1 <= ar_1 /\ ar_2 + 1 = i23' ]
(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 6*ar_0 + 46
Time: 0.307 sec (SMT: 0.291 sec)
(42) BOUNDS(CONSTANT, 46 + 6 * |args|)