(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 PastaA10 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
while (x != y) {
if (x > y) {
y++;
} else {
x++;
}
}
}
}
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:
PastaA10.main([Ljava/lang/String;)V: Graph of 175 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 77 edges for the analysis of TIME complexity. Dropped leaves.
(4) Obligation:
Set of 77 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(5) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 77 jbc graph edges to a weighted ITS with 77 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Filtered fields of type java.lang.Object.
Did no encode lower bounds for putfield and astore.
(6) Obligation:
IntTrs with 77 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_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_28(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_28(o1, env, static) -{0,0}> langle_clinit_rangle_New_32(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_32(o1, env, static) -{0,0}> langle_clinit_rangle_New_34(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_34(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_36(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_43(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_43(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_45(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_45(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_47(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_47(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_49(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_49(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_50(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_50(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_51(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_51(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_53(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_53(o1, env, static) -{1,1}> main_Load_55(o1, env, static) :|: 0 < o1
main_Load_55(o1, env, static) -{0,0}> main_Load_56(o1, env, static) :|: 0 < o1
main_Load_56(o1, env, static) -{0,0}> main_Load_59(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_59(o1, env, static) -{0,0}> main_Load_60(o1, env, static) :|: 0 < o1
main_Load_60(o1, env, static) -{0,0}> main_Load_61(o1, env, static) :|: 0 < o1
main_Load_61(o1, env, static) -{1,1}> main_FieldAccess_63(o1, env, static) :|: 0 < o1
main_FieldAccess_63(o1, env, static) -{0,0}> main_FieldAccess_64(o1, env, static) :|: 0 < o1
main_FieldAccess_64(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_68(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_68(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_70(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_70(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_71(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_71(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_73(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_73(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_76(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_76(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_78(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_78(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_81(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_81(a6, iconst_0, i6, env, static) -{1,1}> random_Store_85(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_85(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_100(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_100(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_105(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o13, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) :|: 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 <= o13 && 0 < a6
random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) -{1,1}> random_Return_113(i8, a6, iconst_1, i6, env, static) :|: i8 <= o13 && 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_113(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_118(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_118(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 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_162(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_162(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_190(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_190(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_209(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_209(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_219(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_219(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_Inc_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{46,46}>
main_Load_233(
o1,
i8',
i20',
2,
i5',
env,
static'5) :|:
0 <
1 &&
static'4 <=
static'3 +
1 &&
0 <=
i8' &&
i20' <=
o25' &&
0 <
o1 &&
0 <=
o8' &&
0 <=
i20' &&
2 <=
i5' &&
o25' <
o1 &&
0 <=
1 &&
1 <=
static'4 &&
0 <
o25' &&
0 <=
i5' &&
-1 *
static'4 <=
1 &&
0 <=
static'3 &&
0 <
2 &&
0 <=
static''' &&
0 <=
static &&
static'3 <=
static'2 +
o1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
o1 <=
static'3 &&
static'2 <=
static'1 +
0 &&
-1 *
static'3 <=
0 &&
0 <
o8' &&
0 <=
o1 &&
i8' <=
o8' &&
i5' <
o1 &&
0 <=
static'4 &&
o1 <=
static'4 &&
o8' <
o1 &&
0 <=
static'2 &&
0 <=
o25' &&
0 <=
2 &&
static'1 <=
static''' +
1 &&
1 <=
i5' &&
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_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_28(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_28(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_32(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_32(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_34(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_34(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_43(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_43(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_47(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_47(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_50(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_50(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_51(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_51(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_53(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_53(
o1,
env,
static) -{1,1}>
main_Load_55(
o1,
env,
static) :|:
0 <
o1main_Load_55(
o1,
env,
static) -{0,0}>
main_Load_56(
o1,
env,
static) :|:
0 <
o1main_Load_56(
o1,
env,
static) -{0,0}>
main_Load_59(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_59(
o1,
env,
static) -{0,0}>
main_Load_60(
o1,
env,
static) :|:
0 <
o1main_Load_60(
o1,
env,
static) -{0,0}>
main_Load_61(
o1,
env,
static) :|:
0 <
o1main_Load_61(
o1,
env,
static) -{1,1}>
main_FieldAccess_63(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_63(
o1,
env,
static) -{0,0}>
main_FieldAccess_64(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_64(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_70(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_70(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_71(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_71(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_73(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_73(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_76(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_76(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_78(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5random_ArrayAccess_78(
a6,
iconst_0,
i6,
env,
static) -{0,0}>
random_ArrayAccess_81(
a6,
iconst_0,
i6,
env,
static) :|:
0 <=
i6 &&
1 <=
i6 &&
iconst_0 =
0 &&
0 <
a6random_ArrayAccess_81(
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Store_85(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
o8 <
a6 &&
iconst_0 =
0 &&
0 <
a6random_Store_85(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_FieldAccess_87(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_87(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_ConstantStackPush_91(
iconst_0,
o8,
a6,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
iconst_0 <=
staticrandom_ConstantStackPush_91(
iconst_0,
o8,
a6,
i6,
env,
static) -{1,1}>
random_IntArithmetic_95(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_IntArithmetic_95(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) -{1,1}>
random_FieldAccess_97(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_97(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Load_100(
o8,
a6,
iconst_1,
i6,
env,
static') :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
a6 &&
static' <=
static +
iconst_1random_Load_100(
o8,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_InvokeMethod_105(
o8,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
0 <
a6random_InvokeMethod_105(
o13,
a6,
iconst_1,
i6,
env,
static) -{0,0}>
random_InvokeMethod_108(
o13,
a6,
iconst_1,
i6,
env,
static) :|:
0 <
o13 &&
1 <=
i6 &&
iconst_1 =
1 &&
0 <=
o13 &&
0 <
a6random_InvokeMethod_108(
o13,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_Return_113(
i8,
a6,
iconst_1,
i6,
env,
static) :|:
i8 <=
o13 &&
0 <
o13 &&
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8random_Return_113(
i8,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
main_Store_118(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8main_Store_118(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
main_InvokeMethod_122(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8main_InvokeMethod_122(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_127(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8random_FieldAccess_127(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_139(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
0 <=
a6 &&
1 <=
i6 &&
iconst_1 =
1 &&
a6 <=
static &&
0 <=
static &&
0 <
a6 &&
0 <=
i8random_FieldAccess_139(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
random_ArrayAccess_143(
a6,
iconst_1,
i8,
i6,
env,
static) :|:
-1 *
static <=
iconst_1 &&
1 <=
i6 &&
iconst_1 <=
static &&
iconst_1 =
1 &&
0 <=
static &&
0 <
a6 &&
0 <=
i8random_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_162(
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_162(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_IntArithmetic_171(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_IntArithmetic_171(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_FieldAccess_177(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_FieldAccess_177(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_190(
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_190(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_209(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_209(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_219(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2random_InvokeMethod_219(
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) -{5,5}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: !(i8 = i20) && 0 < a6 && 0 <= i8 && 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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
(8) Obligation:
IntTrs with 4 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, i5', env, static'5) :|: 0 < 1 && static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= o8' && 0 <= i20' && 2 <= i5' && o25' < o1 && 0 <= 1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 2 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o25' && 0 <= 2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, 2, i12, env, static) -{5,5}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: !(i8 = i20) && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
(9) WeightedIntTrsUnneededArgumentFilterProof (CONCRETE UPPER BOUND(ID) transformation)
Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements:
main_Load_1(x1, x2, x3) → main_Load_1(x1, x3)
main_Load_233(x1, x2, x3, x4, x5, x6, x7) → main_Load_233(x1, x2, x3, x5)
main_LE_276(x1, x2, x3, x4, x5, x6, x7) → main_LE_276(x1, x2, x3, x5)
(10) Obligation:
IntTrs with 4 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', i5') :|: 0 < 1 && static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= o8' && 0 <= i20' && 2 <= i5' && o25' < o1 && 0 <= 1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 2 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o25' && 0 <= 2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: !(i8 = i20) && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i24', i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i22', i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
(11) RemoveDivModProof (CONCRETE UPPER BOUND(ID) transformation)
Removed div and mod.
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: !(i8 = i20) && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
was transformed to
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 > i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 < i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
(12) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i22', i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 > i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i5') :|: 0 < 1 && static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= o8' && 0 <= i20' && 2 <= i5' && o25' < o1 && 0 <= 1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 2 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o25' && 0 <= 2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 < i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i24', i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
(13) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i22', i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
was transformed to
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8 + 1, i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i24', i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
was transformed to
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i20 + 1, i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
(14) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8 + 1, i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 > i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 < i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i5') :|: 0 < 1 && static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= o8' && 0 <= i20' && 2 <= i5' && o25' < o1 && 0 <= 1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 2 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o25' && 0 <= 2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i20 + 1, i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
(15) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 > i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
was transformed to
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i20 < i8 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8 + 1, i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
was transformed to
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8 + 1, i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i5') :|: 0 < 1 && static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= o8' && 0 <= i20' && 2 <= i5' && o25' < o1 && 0 <= 1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 2 && 0 <= static''' && 0 <= static && static'3 <= static'2 + o1 && 0 <= static'1 && static''' <= static + 2 && o1 <= static'3 && static'2 <= static'1 + 0 && -1 * static'3 <= 0 && 0 < o8' && 0 <= o1 && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && 0 <= o25' && 0 <= 2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
was transformed to
main_Load_1(o1, static) -{46,46}> main_Load_233(o1, i8', i20', i5') :|: static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= i20' && 2 <= i5' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -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 && static'2 <= static'1 && -1 * static'3 <= 0 && 0 < o8' && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
(16) Obligation:
IntTrs with 5 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', i5') :|: static'4 <= static'3 + 1 && 0 <= i8' && i20' <= o25' && 0 < o1 && 0 <= i20' && 2 <= i5' && o25' < o1 && 1 <= static'4 && 0 < o25' && 0 <= i5' && -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 && static'2 <= static'1 && -1 * static'3 <= 0 && 0 < o8' && i8' <= o8' && i5' < o1 && 0 <= static'4 && o1 <= static'4 && o8' < o1 && 0 <= static'2 && static'1 <= static''' + 1 && 1 <= i5' && static'5 <= static'4 + 2
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8 + 1, i20, i12) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i20 < i8 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_Load_233(a6, i8, i20, i12) -{5,5}> main_LE_276(a6, i8, i20, i12) :|: i8 < i20 && 0 < a6 && 0 <= i8 && 0 <= i20 && 2 <= i12
main_LE_276(a6, i8, i20, i12) -{3,3}> main_Load_233(a6, i8, i20 + 1, i12) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
(17) koat Proof (EQUIVALENT transformation)
YES(?, 64*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', i5')) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ 0 <= i20' /\ 2 <= i5' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ 0 <= i5' /\ -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'2 <= static'1 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ i5' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
(Comp: ?, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
(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', i5')) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ 0 <= i20' /\ 2 <= i5' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ 0 <= i5' /\ -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'2 <= static'1 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ i5' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
(Comp: ?, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
(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_233) = 2*V_2 - 2*V_3
Pol(main_LE_276) = 2*V_2 - 2*V_3 - 1
and size complexities
S("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 ]", 0-0) = ar_0
S("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 ]", 0-1) = ar_1
S("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 ]", 0-2) = ar_2
S("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 ]", 0-3) = ar_3
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-0) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-1) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-2) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-3) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-0) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-1) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-2) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-3) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-0) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-1) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-2) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-3) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-0) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-1) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-2) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-3) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-0) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-1) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-2) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-3) = ar_0
orients the transitions
main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
weakly and the transitions
main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
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', i5')) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ 0 <= i20' /\ 2 <= i5' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ 0 <= i5' /\ -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'2 <= static'1 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ i5' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
(Comp: 4*ar_0, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: ?, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: 4*ar_0, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
(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_233) = -2*V_2 + 2*V_3
Pol(main_LE_276) = -2*V_2 + 2*V_3 - 1
and size complexities
S("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 ]", 0-0) = ar_0
S("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 ]", 0-1) = ar_1
S("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 ]", 0-2) = ar_2
S("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 ]", 0-3) = ar_3
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-0) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-1) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-2) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\\ ar_2 + 1 = i24' /\\ 0 <= ar_1 /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 1 <= ar_1 /\\ ar_2 < ar_1 /\\ 0 <= i24' /\\ 1 <= i24' ]", 0-3) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-0) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-1) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-2) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-3) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-0) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-1) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-2) = ar_0
S("main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\\ 0 < ar_0 /\\ 0 <= ar_1 /\\ 0 <= ar_2 /\\ 2 <= ar_3 ]", 0-3) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-0) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-1) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-2) = ar_0
S("main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\\ ar_1 < ar_2 /\\ 1 <= ar_2 /\\ 0 <= ar_2 /\\ 1 <= i22' /\\ 2 <= ar_3 /\\ 0 < ar_0 /\\ 0 <= i22' /\\ 0 <= ar_1 ]", 0-3) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-0) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-1) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-2) = ar_0
S("main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, i8', i20', i5')) [ static'4 <= static'3 + 1 /\\ 0 <= i8' /\\ i20' <= o25' /\\ 0 < ar_0 /\\ 0 <= i20' /\\ 2 <= i5' /\\ o25' < ar_0 /\\ 1 <= static'4 /\\ 0 < o25' /\\ 0 <= i5' /\\ -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'2 <= static'1 /\\ -static'3 <= 0 /\\ 0 < o8' /\\ i8' <= o8' /\\ i5' < ar_0 /\\ 0 <= static'4 /\\ ar_0 <= static'4 /\\ o8' < ar_0 /\\ 0 <= static'2 /\\ static'1 <= static''' + 1 /\\ 1 <= i5' /\\ static'5 <= static'4 + 2 ]", 0-3) = ar_0
orients the transitions
main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
weakly and the transitions
main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
strictly and produces the following problem:
4: 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', i5')) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i20' <= o25' /\ 0 < ar_0 /\ 0 <= i20' /\ 2 <= i5' /\ o25' < ar_0 /\ 1 <= static'4 /\ 0 < o25' /\ 0 <= i5' /\ -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'2 <= static'1 /\ -static'3 <= 0 /\ 0 < o8' /\ i8' <= o8' /\ i5' < ar_0 /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ 0 <= static'2 /\ static'1 <= static''' + 1 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: 4*ar_0, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1 + 1, ar_2, ar_3)) [ ar_1 + 1 = i22' /\ ar_1 < ar_2 /\ 1 <= ar_2 /\ 0 <= ar_2 /\ 1 <= i22' /\ 2 <= ar_3 /\ 0 < ar_0 /\ 0 <= i22' /\ 0 <= ar_1 ]
(Comp: 4*ar_0, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_2 < ar_1 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: 4*ar_0, Cost: 5) main_Load_233(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_LE_276(ar_0, ar_1, ar_2, ar_3)) [ ar_1 < ar_2 /\ 0 < ar_0 /\ 0 <= ar_1 /\ 0 <= ar_2 /\ 2 <= ar_3 ]
(Comp: 4*ar_0, Cost: 3) main_LE_276(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_233(ar_0, ar_1, ar_2 + 1, ar_3)) [ 0 <= ar_2 /\ ar_2 + 1 = i24' /\ 0 <= ar_1 /\ 2 <= ar_3 /\ 0 < ar_0 /\ 1 <= ar_1 /\ ar_2 < ar_1 /\ 0 <= i24' /\ 1 <= i24' ]
(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 64*ar_0 + 46
Time: 0.324 sec (SMT: 0.288 sec)
(18) BOUNDS(CONSTANT, 46 + 64 * |args|)
(19) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 82 edges for the analysis of TIME complexity. Kept leaves.
(20) Obligation:
Set of 82 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
(21) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 82 jbc graph edges to a weighted ITS with 82 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.
(22) Obligation:
IntTrs with 82 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_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_28(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_28(o1, env, static) -{0,0}> langle_clinit_rangle_New_32(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_32(o1, env, static) -{0,0}> langle_clinit_rangle_New_34(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_34(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_36(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_43(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_43(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_45(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_45(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_47(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_47(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_49(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_49(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_50(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_50(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_51(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_51(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_53(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_53(o1, env, static) -{1,1}> main_Load_55(o1, env, static) :|: 0 < o1
main_Load_55(o1, env, static) -{0,0}> main_Load_56(o1, env, static) :|: 0 < o1
main_Load_56(o1, env, static) -{0,0}> main_Load_59(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_59(o1, env, static) -{0,0}> main_Load_60(o1, env, static) :|: 0 < o1
main_Load_60(o1, env, static) -{0,0}> main_Load_61(o1, env, static) :|: 0 < o1
main_Load_61(o1, env, static) -{1,1}> main_FieldAccess_63(o1, env, static) :|: 0 < o1
main_FieldAccess_63(o1, env, static) -{0,0}> main_FieldAccess_64(o1, env, static) :|: 0 < o1
main_FieldAccess_64(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_68(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_68(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_70(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_70(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_71(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_71(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_73(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_73(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_76(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_76(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_78(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_78(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_81(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_81(a6, iconst_0, i6, env, static) -{1,1}> random_Store_85(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_85(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_100(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_100(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_105(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o13, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) :|: 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 <= o13 && 0 < a6
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) -{1,1}> random_Return_113(i8, a6, iconst_1, i6, env, static) :|: i8 <= o13 && 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_113(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_118(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_118(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8
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_162(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_162(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_190(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_190(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_209(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_209(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_219(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_219(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_Inc_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(23) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_78(
o1,
0,
i5',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
0 <=
i5' &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
i5' <
o1 &&
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_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_28(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_28(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_32(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_32(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_34(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_34(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_43(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_43(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_47(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_47(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_50(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_50(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_51(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_51(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_53(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_53(
o1,
env,
static) -{1,1}>
main_Load_55(
o1,
env,
static) :|:
0 <
o1main_Load_55(
o1,
env,
static) -{0,0}>
main_Load_56(
o1,
env,
static) :|:
0 <
o1main_Load_56(
o1,
env,
static) -{0,0}>
main_Load_59(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_59(
o1,
env,
static) -{0,0}>
main_Load_60(
o1,
env,
static) :|:
0 <
o1main_Load_60(
o1,
env,
static) -{0,0}>
main_Load_61(
o1,
env,
static) :|:
0 <
o1main_Load_61(
o1,
env,
static) -{1,1}>
main_FieldAccess_63(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_63(
o1,
env,
static) -{0,0}>
main_FieldAccess_64(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_64(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_70(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_70(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_71(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_71(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_73(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_73(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_76(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_76(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_78(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5obtained
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_78(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_81(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_81(a6, iconst_0, i6, env, static) -{1,1}> random_Store_85(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_85(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_100(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_100(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_105(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
by chaining
random_InvokeMethod_105(o13, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) :|: 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 <= o13 && 0 < a6
random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) -{1,1}> random_Return_113(i8, a6, iconst_1, i6, env, static) :|: i8 <= o13 && 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_113(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_118(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_118(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8
obtained
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_162(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_162(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_190(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_190(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_209(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_209(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_209(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_219(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_219(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_EQ_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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
by chaining
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
(24) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
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_209(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_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
(25) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(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_209(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
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_EQ_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_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_209(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_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
was transformed to
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
(26) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_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_209(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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
(27) 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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(28) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
(29) RemoveDivModProof (CONCRETE UPPER BOUND(ID) transformation)
Removed div and mod.
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(30) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_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_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_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_209(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_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(31) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
(32) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_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_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, 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_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(33) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
random_InvokeMethod_209(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_209(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
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i20 < i8 && 0 <= i20 && x = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
was transformed to
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && x = 1
(34) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_InvokeMethod_209(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_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && x = 1
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i20 < i8 && 0 <= i20 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(35) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 82 jbc graph edges to a weighted ITS with 82 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.
(36) Obligation:
IntTrs with 82 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_5(o1, env, static) :|: 0 < o1
langle_clinit_rangle_ConstantStackPush_5(o1, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) :|: iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ArrayCreate_25(iconst_0, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) :|: a2 = 2 && iconst_0 = 0 && 0 < a2 && 0 < o1
langle_clinit_rangle_FieldAccess_26(a2, o1, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_28(o1, env, static') :|: 0 <= a2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2 && 0 < o1
langle_clinit_rangle_New_28(o1, env, static) -{0,0}> langle_clinit_rangle_New_32(o1, env, static) :|: 0 < o1
langle_clinit_rangle_New_32(o1, env, static) -{0,0}> langle_clinit_rangle_New_34(o1, env, static) :|: 0 <= static && 0 < o1
langle_clinit_rangle_New_34(o1, env, static) -{1,1}> langle_clinit_rangle_Duplicate_36(o4, o1, env, static) :|: o4 = 1 && 0 < o4 && 0 < o1
langle_clinit_rangle_Duplicate_36(o4, o1, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_ConstantStackPush_39(o4, o1, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_clinit_rangle_InvokeMethod_41(o4, NULL, o1, env, static) -{1,1}> langle_init_rangle_Load_43(o4, o1, env, static) :|: NULL = 0 && 0 < o4 && 0 < o1
langle_init_rangle_Load_43(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_45(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_45(o4, o1, env, static) -{1,1}> langle_init_rangle_Load_47(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Load_47(o4, o1, env, static) -{1,1}> langle_init_rangle_InvokeMethod_49(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_InvokeMethod_49(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_50(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_50(o4, o1, env, static) -{1,1}> langle_init_rangle_Return_51(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_init_rangle_Return_51(o4, o1, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) :|: 0 < o4 && 0 < o1
langle_clinit_rangle_FieldAccess_52(o4, o1, env, static) -{1,1}> langle_clinit_rangle_Return_53(o1, env, static') :|: 0 <= o4 && 0 < o4 && 0 <= static && 0 < o1 && static' <= static + o4
langle_clinit_rangle_Return_53(o1, env, static) -{1,1}> main_Load_55(o1, env, static) :|: 0 < o1
main_Load_55(o1, env, static) -{0,0}> main_Load_56(o1, env, static) :|: 0 < o1
main_Load_56(o1, env, static) -{0,0}> main_Load_59(o1, env, static) :|: 0 <= static && 0 < o1
main_Load_59(o1, env, static) -{0,0}> main_Load_60(o1, env, static) :|: 0 < o1
main_Load_60(o1, env, static) -{0,0}> main_Load_61(o1, env, static) :|: 0 < o1
main_Load_61(o1, env, static) -{1,1}> main_FieldAccess_63(o1, env, static) :|: 0 < o1
main_FieldAccess_63(o1, env, static) -{0,0}> main_FieldAccess_64(o1, env, static) :|: 0 < o1
main_FieldAccess_64(o1, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_ConstantStackPush_65(o1, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
langle_clinit_rangle_FieldAccess_66(iconst_0, o1, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static') :|: NULL = 0 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0 && 0 < o1
langle_clinit_rangle_Return_67(o1, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_68(o1, NULL, iconst_0, env, static) :|: NULL = 0 && iconst_0 = 0 && 0 < o1
main_FieldAccess_68(o1, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_70(o1, iconst_0, env, static') :|: static' <= static + o1 && NULL = 0 && 0 <= o1 && iconst_0 = 0 && 0 <= static && 0 < o1
main_InvokeMethod_70(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_71(o1, iconst_0, env, static) :|: iconst_0 = 0 && 0 < o1
random_FieldAccess_71(o1, iconst_0, env, static) -{1,1}> random_FieldAccess_73(o1, iconst_0, env, static) :|: 0 <= o1 && o1 <= static && iconst_0 = 0 && 0 <= static && 0 < o1
random_FieldAccess_73(o1, iconst_0, env, static) -{1,1}> random_ArrayAccess_76(o1, iconst_0, env, static) :|: -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static && 0 < o1
random_ArrayAccess_76(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_78(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_78(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_81(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_81(a6, iconst_0, i6, env, static) -{1,1}> random_Store_85(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_85(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_100(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_100(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_105(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o13, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) :|: 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 <= o13 && 0 < a6
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) -{1,1}> random_Return_113(i8, a6, iconst_1, i6, env, static) :|: i8 <= o13 && 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_113(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_118(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_118(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8
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_162(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_162(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_190(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_190(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_209(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_209(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_219(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_219(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_Inc_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(37) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o1,
env,
static) -{23,23}>
random_ArrayAccess_78(
o1,
0,
i5',
env,
static'3) :|:
static'1 <=
static''' +
1 &&
0 <=
i5' &&
0 <=
2 &&
0 <
o1 &&
0 <=
static'2 &&
i5' <
o1 &&
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_5(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_ConstantStackPush_5(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ArrayCreate_25(
iconst_0,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) :|:
a2 =
2 &&
iconst_0 =
0 &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_FieldAccess_26(
a2,
o1,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_28(
o1,
env,
static') :|:
0 <=
a2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2 &&
0 <
o1langle_clinit_rangle_New_28(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_32(
o1,
env,
static) :|:
0 <
o1langle_clinit_rangle_New_32(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_New_34(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1langle_clinit_rangle_New_34(
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) :|:
o4 =
1 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_Duplicate_36(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_39(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_clinit_rangle_InvokeMethod_41(
o4,
NULL,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_43(
o4,
o1,
env,
static) :|:
NULL =
0 &&
0 <
o4 &&
0 <
o1langle_init_rangle_Load_43(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_45(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Load_47(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Load_47(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_InvokeMethod_49(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_50(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_50(
o4,
o1,
env,
static) -{1,1}>
langle_init_rangle_Return_51(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_init_rangle_Return_51(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) :|:
0 <
o4 &&
0 <
o1langle_clinit_rangle_FieldAccess_52(
o4,
o1,
env,
static) -{1,1}>
langle_clinit_rangle_Return_53(
o1,
env,
static') :|:
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
0 <
o1 &&
static' <=
static +
o4langle_clinit_rangle_Return_53(
o1,
env,
static) -{1,1}>
main_Load_55(
o1,
env,
static) :|:
0 <
o1main_Load_55(
o1,
env,
static) -{0,0}>
main_Load_56(
o1,
env,
static) :|:
0 <
o1main_Load_56(
o1,
env,
static) -{0,0}>
main_Load_59(
o1,
env,
static) :|:
0 <=
static &&
0 <
o1main_Load_59(
o1,
env,
static) -{0,0}>
main_Load_60(
o1,
env,
static) :|:
0 <
o1main_Load_60(
o1,
env,
static) -{0,0}>
main_Load_61(
o1,
env,
static) :|:
0 <
o1main_Load_61(
o1,
env,
static) -{1,1}>
main_FieldAccess_63(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_63(
o1,
env,
static) -{0,0}>
main_FieldAccess_64(
o1,
env,
static) :|:
0 <
o1main_FieldAccess_64(
o1,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_ConstantStackPush_65(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1langle_clinit_rangle_FieldAccess_66(
iconst_0,
o1,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0 &&
0 <
o1langle_clinit_rangle_Return_67(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
iconst_0 =
0 &&
0 <
o1main_FieldAccess_68(
o1,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_70(
o1,
iconst_0,
env,
static') :|:
static' <=
static +
o1 &&
NULL =
0 &&
0 <=
o1 &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1main_InvokeMethod_70(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_71(
o1,
iconst_0,
env,
static) :|:
iconst_0 =
0 &&
0 <
o1random_FieldAccess_71(
o1,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_73(
o1,
iconst_0,
env,
static) :|:
0 <=
o1 &&
o1 <=
static &&
iconst_0 =
0 &&
0 <=
static &&
0 <
o1random_FieldAccess_73(
o1,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_76(
o1,
iconst_0,
env,
static) :|:
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
static &&
0 <
o1random_ArrayAccess_76(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_78(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5obtained
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_78(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_81(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_81(a6, iconst_0, i6, env, static) -{1,1}> random_Store_85(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_85(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_87(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_91(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_95(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_97(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_100(o8, a6, iconst_1, i6, env, static') :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_100(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_105(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
by chaining
random_InvokeMethod_105(o13, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) :|: 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 <= o13 && 0 < a6
random_InvokeMethod_108(o13, a6, iconst_1, i6, env, static) -{1,1}> random_Return_113(i8, a6, iconst_1, i6, env, static) :|: i8 <= o13 && 0 < o13 && 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_113(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_118(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_118(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_122(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_127(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_139(a6, i8, iconst_1, i6, env, static) -{1,1}> random_ArrayAccess_143(a6, iconst_1, i8, i6, env, static) :|: -1 * static <= iconst_1 && 1 <= i6 && iconst_1 <= static && iconst_1 = 1 && 0 <= static && 0 < a6 && 0 <= i8
obtained
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_162(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_162(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_171(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_FieldAccess_177(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_190(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_190(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_209(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_209(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_209(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_219(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_219(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_EQ_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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
by chaining
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_247(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_256(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && !(i8 = i20) && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_256(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Load_271(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_271(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_LE_276(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_284(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i20 < i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_284(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_291(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_291(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 1 <= i24 && 1 <= i8 && 0 < a6 && i20 + 1 = i24 && iconst_2 = 2
main_JMP_300(a6, i8, i24, iconst_2, i12, env, static) -{1,1}> main_Load_318(a6, i8, i24, iconst_2, i12, env, static) :|: 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && iconst_2 = 2
main_Load_318(a6, i8, i24, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i8, i24, iconst_2, i12, env, static) :|: 0 <= i24 && 1 <= i24 && 2 <= i12 && 1 <= i8 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
by chaining
main_LE_276(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_LE_282(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 <= i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_282(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 < i20 && 0 < a6 && 0 <= i8 && 1 <= i20 && iconst_2 = 2
main_Inc_290(a6, i8, i20, iconst_2, i12, env, static) -{1,1}> main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 1 <= i20 && 1 <= i22 && iconst_2 = 2 && i8 + 1 = i22
main_JMP_298(a6, i22, i20, iconst_2, i12, env, static) -{1,1}> main_Load_317(a6, i22, i20, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
main_Load_317(a6, i22, i20, iconst_2, i12, env, static) -{0,0}> main_Load_233(a6, i22, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && 0 <= i22 && 0 < a6 && 1 <= i22 && 1 <= i20 && iconst_2 = 2
(38) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
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_209(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_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
(39) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_ArrayAccess_78(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(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_209(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
main_Load_233(a6, i8, i20, 2, i12, env, static) -{2,2}> main_EQ_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_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_209(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_105(o13, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13
was transformed to
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
main_EQ_242(a6, i8, i20, 2, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
main_LE_276(a6, i8, i20, 2, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24'
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
(40) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_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_209(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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
(41) 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_78(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(42) Obligation:
IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
(43) RemoveDivModProof (CONCRETE UPPER BOUND(ID) transformation)
Removed div and mod.
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && !(i8 = i20) && 0 <= i20 && x = 2
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(44) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_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_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_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_209(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_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(45) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i22', i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i24', 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, iconst_2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
(46) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_209(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_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_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, 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_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2
(47) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
random_InvokeMethod_209(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_209(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
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 <= 2 && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 < o1 && 0 <= static'2 && i5' < o1 && 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
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && i8 <= i20 && 0 <= i22' && 0 <= i8 && x = 2
was transformed to
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 > i20 && 0 <= i20 && x = 2
was transformed to
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i20 < i8 && 0 <= i20 && x = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && 0 <= o13 && x = 1
was transformed to
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && x = 1
(48) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8, i20 + 1, 2, i12, env, static) :|: 0 <= i20 && i20 + 1 = i24' && 0 <= i8 && 2 <= i12 && 0 < a6 && 1 <= i8 && i20 < i8 && 0 <= i24' && 1 <= i24' && x = 2
random_InvokeMethod_209(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_ArrayAccess_78(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_80(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_1(o1, env, static) -{23,23}> random_ArrayAccess_78(o1, 0, i5', env, static'3) :|: static'1 <= static''' + 1 && 0 <= i5' && 0 < o1 && 0 <= static'2 && i5' < o1 && 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_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_209(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_EQ_242(a6, i8, i20, iconst_2, i12, env, static) -{0,0}> main_EQ_245(a6, i20, 2, i12, env, static) :|: 0 <= i20 && 2 <= i12 && i8 = i20 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_105(o13, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o13 && 0 < a6 && a6 <= static && 0 <= static && 1 <= i6 && 1 <= static && -1 * static <= 1 && 0 < o13 && x = 1
random_InvokeMethod_105(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_109(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_Load_233(a6, i8, i20, x, i12, env, static) -{2,2}> main_EQ_242(a6, i8, i20, 2, i12, env, static) :|: 0 <= i8 && 0 < a6 && 0 <= i20 && 2 <= i12 && x = 2
main_LE_276(a6, i8, i20, x, i12, env, static) -{3,3}> main_Load_233(a6, i8 + 1, i20, 2, i12, env, static) :|: i8 + 1 = i22' && i8 < i20 && 1 <= i20 && 0 <= i20 && 1 <= i22' && 2 <= i12 && 0 < a6 && 0 <= i22' && 0 <= i8 && x = 2
random_InvokeMethod_209(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_220(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, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_78(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_105(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i20 < i8 && 0 <= i20 && x = 2
main_EQ_242(a6, i8, i20, x, i12, env, static) -{3,3}> main_LE_276(a6, i8, i20, 2, i12, env, static) :|: 0 < a6 && 2 <= i12 && 0 <= i8 && i8 < i20 && 0 <= i20 && x = 2