(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 PastaB16 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
while (x > 0) {
while (y > 0) {
y--;
}
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:
PastaB16.main([Ljava/lang/String;)V: Graph of 173 nodes with 1 SCC.
(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 80 edges for the analysis of TIME complexity. Kept leaves.
(4) Obligation:
Set of 80 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: nonterm paths and paths from start to sinks
(5) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 80 jbc graph edges to a weighted ITS with 80 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(6) Obligation:
IntTrs with 80 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_4(o2, env, static) :|: 0 < o2
main_Load_4(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_19(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_19(o2, env, static) -{0,0}> langle_clinit_rangle_New_21(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_21(o2, env, static) -{0,0}> langle_clinit_rangle_New_23(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_23(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_25(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_25(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_33(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_34(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_34(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_36(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_36(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_39(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_39(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_41(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_41(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_43(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_43(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_47(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_47(o2, env, static) -{1,1}> main_Load_53(o2, env, static) :|: 0 < o2
main_Load_53(o2, env, static) -{0,0}> main_Load_55(o2, env, static) :|: 0 < o2
main_Load_55(o2, env, static) -{0,0}> main_Load_56(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_56(o2, env, static) -{0,0}> main_Load_57(o2, env, static) :|: 0 < o2
main_Load_57(o2, env, static) -{0,0}> main_Load_58(o2, env, static) :|: 0 < o2
main_Load_58(o2, env, static) -{1,1}> main_FieldAccess_59(o2, env, static) :|: 0 < o2
main_FieldAccess_59(o2, env, static) -{0,0}> main_FieldAccess_60(o2, env, static) :|: 0 < o2
main_FieldAccess_60(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_65(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_65(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_66(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_68(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_68(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_71(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_71(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_72(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_74(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_74(a6, iconst_0, i6, env, static) -{1,1}> random_Store_79(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_79(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_85(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_85(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(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_94(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_103(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_103(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_111(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_111(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_116(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_116(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_131(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_131(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_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_179(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_179(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_193(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_193(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_204(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_204(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_223(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_276(i28, a6, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i28 <= o50 && iconst_2 = 2
random_Return_276(i28, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_291(a6, i28, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_291(a6, i28, i8, iconst_2, i12, env, static) -{1,1}> main_Load_321(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{23,23}>
random_ArrayAccess_72(
o2,
0,
i5',
env,
static'3) :|:
static'3 <=
static'2 +
o2 &&
0 <=
i5' &&
static'2 <=
static'1 +
0 &&
0 <
o2 &&
0 <=
2 &&
i5' <
o2 &&
0 <=
o2 &&
0 <=
static'2 &&
o2 <=
static'3 &&
static'1 <=
static''' +
1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
0 <=
static''' &&
-1 *
static'3 <=
0 &&
0 <=
static &&
0 <
1 &&
0 <
2 &&
0 <=
1 &&
0 <=
static'3by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_4(
o2,
env,
static) :|:
0 <
o2main_Load_4(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_19(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_19(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_21(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_23(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_23(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_33(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_36(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_36(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_41(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_41(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_43(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_43(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_47(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_47(
o2,
env,
static) -{1,1}>
main_Load_53(
o2,
env,
static) :|:
0 <
o2main_Load_53(
o2,
env,
static) -{0,0}>
main_Load_55(
o2,
env,
static) :|:
0 <
o2main_Load_55(
o2,
env,
static) -{0,0}>
main_Load_56(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_56(
o2,
env,
static) -{0,0}>
main_Load_57(
o2,
env,
static) :|:
0 <
o2main_Load_57(
o2,
env,
static) -{0,0}>
main_Load_58(
o2,
env,
static) :|:
0 <
o2main_Load_58(
o2,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_59(
o2,
env,
static) -{0,0}>
main_FieldAccess_60(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_60(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_66(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_66(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_67(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_68(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_68(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_71(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_ArrayAccess_71(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_72(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5obtained
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_72(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_74(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_74(a6, iconst_0, i6, env, static) -{1,1}> random_Store_79(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_79(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_85(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_85(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(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_94(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_103(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
by chaining
random_InvokeMethod_103(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_111(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_111(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_116(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_116(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_131(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_131(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_223(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_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_179(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_179(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_193(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_193(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_204(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_204(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_223(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
by chaining
random_InvokeMethod_223(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_276(i28, a6, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i28 <= o50 && iconst_2 = 2
random_Return_276(i28, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_291(a6, i28, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_291(a6, i28, i8, iconst_2, i12, env, static) -{1,1}> main_Load_321(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
by chaining
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
by chaining
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
by chaining
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
(8) 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_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
(9) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
was transformed to
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
was transformed to
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
was transformed to
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(10) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(11) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(12) 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_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && 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
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(13) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
was transformed to
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(14) 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_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && 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
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(15) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
was transformed to
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && x = 2
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 - 1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
was transformed to
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 && 0 < o2 && i5' < o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(16) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 - 1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 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
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 && 0 < o2 && i5' < o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(17) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 80 jbc graph edges to a weighted ITS with 80 rules.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.
(18) Obligation:
IntTrs with 80 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_4(o2, env, static) :|: 0 < o2
main_Load_4(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_19(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_19(o2, env, static) -{0,0}> langle_clinit_rangle_New_21(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_21(o2, env, static) -{0,0}> langle_clinit_rangle_New_23(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_23(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_25(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_25(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_33(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_34(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_34(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_36(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_36(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_39(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_39(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_41(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_41(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_43(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_43(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_47(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_47(o2, env, static) -{1,1}> main_Load_53(o2, env, static) :|: 0 < o2
main_Load_53(o2, env, static) -{0,0}> main_Load_55(o2, env, static) :|: 0 < o2
main_Load_55(o2, env, static) -{0,0}> main_Load_56(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_56(o2, env, static) -{0,0}> main_Load_57(o2, env, static) :|: 0 < o2
main_Load_57(o2, env, static) -{0,0}> main_Load_58(o2, env, static) :|: 0 < o2
main_Load_58(o2, env, static) -{1,1}> main_FieldAccess_59(o2, env, static) :|: 0 < o2
main_FieldAccess_59(o2, env, static) -{0,0}> main_FieldAccess_60(o2, env, static) :|: 0 < o2
main_FieldAccess_60(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_65(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_65(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_66(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_68(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_68(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_71(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_71(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_72(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_74(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_74(a6, iconst_0, i6, env, static) -{1,1}> random_Store_79(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_79(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_85(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_85(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(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_94(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_103(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_103(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_111(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_111(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_116(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_116(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_131(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_131(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_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_179(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_179(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_193(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_193(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_204(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_204(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_223(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_276(i28, a6, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i28 <= o50 && iconst_2 = 2
random_Return_276(i28, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_291(a6, i28, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_291(a6, i28, i8, iconst_2, i12, env, static) -{1,1}> main_Load_321(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
(19) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{23,23}>
random_ArrayAccess_72(
o2,
0,
i5',
env,
static'3) :|:
static'3 <=
static'2 +
o2 &&
0 <=
i5' &&
static'2 <=
static'1 +
0 &&
0 <
o2 &&
0 <=
2 &&
i5' <
o2 &&
0 <=
o2 &&
0 <=
static'2 &&
o2 <=
static'3 &&
static'1 <=
static''' +
1 &&
0 <=
static'1 &&
static''' <=
static +
2 &&
0 <=
static''' &&
-1 *
static'3 <=
0 &&
0 <=
static &&
0 <
1 &&
0 <
2 &&
0 <=
1 &&
0 <=
static'3by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_4(
o2,
env,
static) :|:
0 <
o2main_Load_4(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_19(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_19(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_21(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_23(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_23(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_33(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_36(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_36(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_41(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_41(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_43(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_43(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_47(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_47(
o2,
env,
static) -{1,1}>
main_Load_53(
o2,
env,
static) :|:
0 <
o2main_Load_53(
o2,
env,
static) -{0,0}>
main_Load_55(
o2,
env,
static) :|:
0 <
o2main_Load_55(
o2,
env,
static) -{0,0}>
main_Load_56(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_56(
o2,
env,
static) -{0,0}>
main_Load_57(
o2,
env,
static) :|:
0 <
o2main_Load_57(
o2,
env,
static) -{0,0}>
main_Load_58(
o2,
env,
static) :|:
0 <
o2main_Load_58(
o2,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_59(
o2,
env,
static) -{0,0}>
main_FieldAccess_60(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_60(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_66(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_66(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_67(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_68(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_68(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_71(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_ArrayAccess_71(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_72(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5obtained
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_72(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_74(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_74(a6, iconst_0, i6, env, static) -{1,1}> random_Store_79(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_79(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_85(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_85(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(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_94(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_103(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
obtained
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
by chaining
random_InvokeMethod_103(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_111(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_111(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_116(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_116(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_131(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_131(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_223(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_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_179(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_179(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_193(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_193(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_204(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_204(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_223(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
obtained
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
by chaining
random_InvokeMethod_223(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_276(i28, a6, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i28 <= o50 && iconst_2 = 2
random_Return_276(i28, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_291(a6, i28, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_291(a6, i28, i8, iconst_2, i12, env, static) -{1,1}> main_Load_321(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
obtained
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
by chaining
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
by chaining
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
by chaining
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
(20) 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_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
(21) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
random_ArrayAccess_72(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_103(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_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_143(a6, 1, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
main_LE_332(a6, i39, i28, 2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39
was transformed to
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
random_InvokeMethod_103(o12, a6, 1, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12
was transformed to
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_InvokeMethod_223(o50, a6, i8, 2, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12
was transformed to
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(22) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(o8', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 1 <= i6 && 0 <= static && 0 <= o8' && o8' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(23) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Linearized lhss.
random_ArrayAccess_143(a6, iconst_1, i8, iconst_1, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
random_ArrayAccess_72(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
was transformed to
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
(24) 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_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && 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
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(NULL, a6, i8, iconst_2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(25) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, iconst_1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
was transformed to
random_ArrayAccess_143(a6, iconst_1, i8, x, env, static) -{0,0}> random_ArrayAccess_146(a6, 1, i8, env, static) :|: 1 <= iconst_1 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && x = iconst_1
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
was transformed to
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(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_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, iconst_0, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
was transformed to
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
was transformed to
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
was transformed to
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
(26) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && 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
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(o25', a6, i8, 2, i12, env, static'5) :|: 1 <= i12 && 2 <= i12 && 0 <= o25' && 0 <= static && 0 <= i8 && 0 < a6 && o25' < a6 && 1 <= static && -1 * static <= 1 && static'5 <= static + 2 && x = 1
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(27) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 0 <= i39 && x = 2
was transformed to
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && x = 2
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 + -1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 - 1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= a6 && 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 0 <= o12 && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
was transformed to
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && i5' < o2 && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 && 0 < o2 && i5' < o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
was transformed to
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(28) Obligation:
IntTrs with 15 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
random_ArrayAccess_72(a6, iconst_0, x, env, static) -{0,0}> random_ArrayAccess_73(a6, 0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6 && x = iconst_0
main_LE_366(a6, i43, i39, x, i12, env, static) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_106(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_332(a6, iconst_0, i28, iconst_2, i12, env, static) -{0,0}> main_LE_346(a6, 0, i28, 2, i12, env, static) :|: 0 <= i28 && 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, x, i39, x', i12, env, static) -{3,3}> main_Load_321(a6, i39 - 1, 0, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
random_ArrayAccess_143(a6, x, i8, i12, env, static) -{7,7}> random_InvokeMethod_223(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_72(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_103(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_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, 2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_223(NULL, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_258(0, a6, i8, 2, i12, env, static) :|: NULL = 0 && 2 <= i12 && 0 <= NULL && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_103(o12, a6, x, i6, env, static) -{6,6}> random_ArrayAccess_143(a6, 1, i8', i6, env, static) :|: 0 <= i8' && i8' <= o12 && 0 < a6 && a6 <= static && 0 <= static && 1 <= static && -1 * static <= 1 && 1 <= i6 && 0 < o12 && x = 1
main_LE_332(a6, i39, i28, x, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, 2, i12, env, static) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 < i39 && 0 <= i28 && 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
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_72(o2, 0, i5', env, static'3) :|: static'3 <= static'2 + o2 && 0 <= i5' && static'2 <= static'1 && 0 < o2 && i5' < o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3
random_InvokeMethod_223(o50, a6, i8, x, i12, env, static) -{3,3}> main_Load_321(a6, i8, i28', 2, i12, env, static) :|: i28' <= o50 && 0 <= i8 && 0 < a6 && 0 < o50 && 0 <= i28' && 2 <= i12 && x = 2
(29) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(92)) transformation)
Extracted set of 75 edges for the analysis of TIME complexity. Dropped leaves.
(30) Obligation:
Set of 75 edges based on JBC Program.
Performed SCC analyses:
- Used field analysis yielded the following read fields:
Considered paths: all paths from start
(31) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)
Transformed 75 jbc graph edges to a weighted ITS with 75 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Filtered fields of type java.lang.Object.
Did no encode lower bounds for putfield and astore.
(32) Obligation:
IntTrs with 75 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, env, static) -{0,0}> main_Load_4(o2, env, static) :|: 0 < o2
main_Load_4(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_6(o2, env, static) :|: 0 < o2
langle_clinit_rangle_ConstantStackPush_6(o2, env, static) -{1,1}> langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) :|: 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ArrayCreate_15(iconst_0, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) :|: a2 = 2 && 0 < o2 && iconst_0 = 0 && 0 < a2
langle_clinit_rangle_FieldAccess_17(a2, o2, iconst_0, env, static) -{1,1}> langle_clinit_rangle_New_19(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_19(o2, env, static) -{0,0}> langle_clinit_rangle_New_21(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_21(o2, env, static) -{0,0}> langle_clinit_rangle_New_23(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_23(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_25(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_25(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_28(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_31(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_33(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_33(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_34(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_34(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_36(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_36(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_39(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_39(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_41(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_41(o4, o2, env, static) -{1,1}> langle_init_rangle_Return_43(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_43(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_45(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_47(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_47(o2, env, static) -{1,1}> main_Load_53(o2, env, static) :|: 0 < o2
main_Load_53(o2, env, static) -{0,0}> main_Load_55(o2, env, static) :|: 0 < o2
main_Load_55(o2, env, static) -{0,0}> main_Load_56(o2, env, static) :|: 0 < o2 && 0 <= static
main_Load_56(o2, env, static) -{0,0}> main_Load_57(o2, env, static) :|: 0 < o2
main_Load_57(o2, env, static) -{0,0}> main_Load_58(o2, env, static) :|: 0 < o2
main_Load_58(o2, env, static) -{1,1}> main_FieldAccess_59(o2, env, static) :|: 0 < o2
main_FieldAccess_59(o2, env, static) -{0,0}> main_FieldAccess_60(o2, env, static) :|: 0 < o2
main_FieldAccess_60(o2, env, static) -{0,0}> langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_ConstantStackPush_61(o2, NULL, iconst_0, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
langle_clinit_rangle_FieldAccess_62(iconst_0, o2, NULL, env, static) -{1,1}> langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && iconst_0 = 0 && 0 <= static && static' <= static + iconst_0
langle_clinit_rangle_Return_63(o2, NULL, iconst_0, env, static) -{1,1}> main_FieldAccess_65(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_65(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_66(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_68(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_68(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_71(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_71(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_72(a6, iconst_0, i5, env, static) :|: i5 < a6 && iconst_0 = 0 && 0 < a6 && 0 <= i5
random_ArrayAccess_72(a6, iconst_0, i6, env, static) -{0,0}> random_ArrayAccess_74(a6, iconst_0, i6, env, static) :|: 0 <= i6 && 1 <= i6 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_74(a6, iconst_0, i6, env, static) -{1,1}> random_Store_79(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && o8 < a6 && iconst_0 = 0 && 0 < a6
random_Store_79(o8, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_0 = 0 && 0 < a6
random_FieldAccess_80(o8, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_85(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_85(iconst_0, o8, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o8, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
random_FieldAccess_90(iconst_1, o8, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(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_94(o8, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_103(o8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o8 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_103(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_105(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_111(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_111(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_116(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_116(a6, i8, iconst_1, i6, env, static) -{1,1}> main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_InvokeMethod_120(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_FieldAccess_124(a6, i8, iconst_1, i6, env, static) -{1,1}> random_FieldAccess_131(a6, i8, iconst_1, i6, env, static) :|: 0 <= a6 && 1 <= i6 && iconst_1 = 1 && a6 <= static && 0 <= static && 0 < a6 && 0 <= i8
random_FieldAccess_131(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_163(o25, a6, i8, iconst_1, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_FieldAccess_163(o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_ConstantStackPush_179(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_179(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) :|: 2 <= i12 && iconst_1 = 1 && 0 < a6 && 0 <= i8 && 0 <= o25
random_IntArithmetic_187(iconst_1, o25, a6, i8, i12, env, static) -{1,1}> random_FieldAccess_193(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_193(iconst_2, o25, a6, i8, iconst_1, i12, env, static) -{1,1}> random_Load_204(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_204(o25, a6, i8, iconst_2, i12, env, static) -{1,1}> random_InvokeMethod_223(o25, a6, i8, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 0 <= i8 && 0 <= o25 && iconst_2 = 2
random_InvokeMethod_223(o50, a6, i8, iconst_2, i12, env, static) -{0,0}> random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) :|: 0 < o50 && 2 <= i12 && 0 <= o50 && 0 < a6 && 0 <= i8 && iconst_2 = 2
random_InvokeMethod_257(o50, a6, i8, iconst_2, i12, env, static) -{1,1}> random_Return_276(i28, a6, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 0 < o50 && 2 <= i12 && 0 < a6 && 0 <= i8 && i28 <= o50 && iconst_2 = 2
random_Return_276(i28, a6, i8, iconst_2, i12, env, static) -{1,1}> main_Store_291(a6, i28, i8, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Store_291(a6, i28, i8, iconst_2, i12, env, static) -{1,1}> main_Load_321(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
(33) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
obtained
main_Load_1(
o2,
env,
static) -{46,46}>
main_Load_321(
o2,
i8',
i28',
2,
i5',
env,
static'5) :|:
0 <=
1 &&
static'4 <=
static'3 +
1 &&
0 <=
i8' &&
i28' <=
o25' &&
0 <
o2 &&
0 <
2 &&
0 <=
i28' &&
2 <=
i5' &&
o25' <
o2 &&
0 <=
i5' &&
1 <=
static'4 &&
0 <
o25' &&
0 <=
o8' &&
-1 *
static'4 <=
1 &&
0 <=
static'3 &&
0 <
1 &&
0 <=
static &&
0 <=
static''' &&
static''' <=
static +
2 &&
0 <=
static'1 &&
static'1 <=
static''' +
1 &&
o2 <=
static'3 &&
0 <=
static'2 &&
-1 *
static'3 <=
0 &&
i8' <=
o8' &&
0 <=
o2 &&
i5' <
o2 &&
0 <
o8' &&
0 <=
static'4 &&
o2 <=
static'4 &&
o8' <
o2 &&
0 <=
2 &&
0 <=
o25' &&
static'2 <=
static'1 +
0 &&
static'3 <=
static'2 +
o2 &&
1 <=
i5' &&
static'5 <=
static'4 +
2by chaining
main_Load_1(
o2,
env,
static) -{0,0}>
main_Load_4(
o2,
env,
static) :|:
0 <
o2main_Load_4(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_ConstantStackPush_6(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ArrayCreate_15(
iconst_0,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) :|:
a2 =
2 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <
a2langle_clinit_rangle_FieldAccess_17(
a2,
o2,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_New_19(
o2,
env,
static') :|:
0 <=
a2 &&
0 <
o2 &&
iconst_0 =
0 &&
static' <=
static +
a2 &&
0 <=
static &&
0 <
a2langle_clinit_rangle_New_19(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_21(
o2,
env,
static) :|:
0 <
o2langle_clinit_rangle_New_21(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_New_23(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticlangle_clinit_rangle_New_23(
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) :|:
o4 =
1 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_Duplicate_25(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_ConstantStackPush_28(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_clinit_rangle_InvokeMethod_31(
o4,
NULL,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_33(
o4,
o2,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
0 <
o4langle_init_rangle_Load_33(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_34(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Load_36(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Load_36(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_InvokeMethod_39(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_41(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_41(
o4,
o2,
env,
static) -{1,1}>
langle_init_rangle_Return_43(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_init_rangle_Return_43(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) :|:
0 <
o2 &&
0 <
o4langle_clinit_rangle_FieldAccess_45(
o4,
o2,
env,
static) -{1,1}>
langle_clinit_rangle_Return_47(
o2,
env,
static') :|:
0 <
o2 &&
0 <=
o4 &&
0 <
o4 &&
0 <=
static &&
static' <=
static +
o4langle_clinit_rangle_Return_47(
o2,
env,
static) -{1,1}>
main_Load_53(
o2,
env,
static) :|:
0 <
o2main_Load_53(
o2,
env,
static) -{0,0}>
main_Load_55(
o2,
env,
static) :|:
0 <
o2main_Load_55(
o2,
env,
static) -{0,0}>
main_Load_56(
o2,
env,
static) :|:
0 <
o2 &&
0 <=
staticmain_Load_56(
o2,
env,
static) -{0,0}>
main_Load_57(
o2,
env,
static) :|:
0 <
o2main_Load_57(
o2,
env,
static) -{0,0}>
main_Load_58(
o2,
env,
static) :|:
0 <
o2main_Load_58(
o2,
env,
static) -{1,1}>
main_FieldAccess_59(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_59(
o2,
env,
static) -{0,0}>
main_FieldAccess_60(
o2,
env,
static) :|:
0 <
o2main_FieldAccess_60(
o2,
env,
static) -{0,0}>
langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_ConstantStackPush_61(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0langle_clinit_rangle_FieldAccess_62(
iconst_0,
o2,
NULL,
env,
static) -{1,1}>
langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
iconst_0langle_clinit_rangle_Return_63(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) :|:
NULL =
0 &&
0 <
o2 &&
iconst_0 =
0main_FieldAccess_65(
o2,
NULL,
iconst_0,
env,
static) -{1,1}>
main_InvokeMethod_66(
o2,
iconst_0,
env,
static') :|:
NULL =
0 &&
0 <
o2 &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
static &&
static' <=
static +
o2main_InvokeMethod_66(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_67(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
iconst_0 =
0random_FieldAccess_67(
o2,
iconst_0,
env,
static) -{1,1}>
random_FieldAccess_68(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
o2 <=
static &&
0 <=
o2 &&
iconst_0 =
0 &&
0 <=
staticrandom_FieldAccess_68(
o2,
iconst_0,
env,
static) -{1,1}>
random_ArrayAccess_71(
o2,
iconst_0,
env,
static) :|:
0 <
o2 &&
-1 *
static <=
iconst_0 &&
iconst_0 =
0 &&
0 <=
static &&
iconst_0 <=
staticrandom_ArrayAccess_71(
a6,
iconst_0,
env,
static) -{0,0}>
random_ArrayAccess_72(
a6,
iconst_0,
i5,
env,
static) :|:
i5 <
a6 &&
iconst_0 =
0 &&
0 <
a6 &&
0 <=
i5random_ArrayAccess_72(
a6,
iconst_0,
i6,
env,
static) -{0,0}>
random_ArrayAccess_74(
a6,
iconst_0,
i6,
env,
static) :|:
0 <=
i6 &&
1 <=
i6 &&
iconst_0 =
0 &&
0 <
a6random_ArrayAccess_74(
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Store_79(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
o8 <
a6 &&
iconst_0 =
0 &&
0 <
a6random_Store_79(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_FieldAccess_80(
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_80(
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_ConstantStackPush_85(
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_85(
iconst_0,
o8,
a6,
i6,
env,
static) -{1,1}>
random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_IntArithmetic_88(
iconst_0,
iconst_1,
o8,
a6,
i6,
env,
static) -{1,1}>
random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
iconst_0 =
0 &&
0 <
a6random_FieldAccess_90(
iconst_1,
o8,
a6,
iconst_0,
i6,
env,
static) -{1,1}>
random_Load_94(
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_94(
o8,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_InvokeMethod_103(
o8,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o8 &&
iconst_1 =
1 &&
0 <
a6random_InvokeMethod_103(
o12,
a6,
iconst_1,
i6,
env,
static) -{0,0}>
random_InvokeMethod_105(
o12,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
0 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6random_InvokeMethod_105(
o12,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
random_Return_111(
i8,
a6,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
i8 <=
o12 &&
0 <
o12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8random_Return_111(
i8,
a6,
iconst_1,
i6,
env,
static) -{1,1}>
main_Store_116(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8main_Store_116(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
main_InvokeMethod_120(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8main_InvokeMethod_120(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_124(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
1 <=
i6 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8random_FieldAccess_124(
a6,
i8,
iconst_1,
i6,
env,
static) -{1,1}>
random_FieldAccess_131(
a6,
i8,
iconst_1,
i6,
env,
static) :|:
0 <=
a6 &&
1 <=
i6 &&
iconst_1 =
1 &&
a6 <=
static &&
0 <=
static &&
0 <
a6 &&
0 <=
i8random_FieldAccess_131(
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_163(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_FieldAccess_163(
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_ConstantStackPush_179(
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_179(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_IntArithmetic_187(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) :|:
2 <=
i12 &&
iconst_1 =
1 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25random_IntArithmetic_187(
iconst_1,
o25,
a6,
i8,
i12,
env,
static) -{1,1}>
random_FieldAccess_193(
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_193(
iconst_2,
o25,
a6,
i8,
iconst_1,
i12,
env,
static) -{1,1}>
random_Load_204(
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_204(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_InvokeMethod_223(
o25,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
0 <=
o25 &&
iconst_2 =
2random_InvokeMethod_223(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{0,0}>
random_InvokeMethod_257(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <
o50 &&
2 <=
i12 &&
0 <=
o50 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2random_InvokeMethod_257(
o50,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
random_Return_276(
i28,
a6,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i28 &&
0 <
o50 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
i28 <=
o50 &&
iconst_2 =
2random_Return_276(
i28,
a6,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Store_291(
a6,
i28,
i8,
iconst_2,
i12,
env,
static) :|:
0 <=
i28 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2main_Store_291(
a6,
i28,
i8,
iconst_2,
i12,
env,
static) -{1,1}>
main_Load_321(
a6,
i8,
i28,
iconst_2,
i12,
env,
static) :|:
0 <=
i28 &&
2 <=
i12 &&
0 <
a6 &&
0 <=
i8 &&
iconst_2 =
2obtained
main_Load_321(a6, i8, i28, 2, i12, env, static) -{2,2}> main_Load_358(a6, i8, i28, 2, i12, env, static) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
by chaining
main_Load_321(a6, i8, i28, iconst_2, i12, env, static) -{1,1}> main_LE_332(a6, i8, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && 0 <= i8 && iconst_2 = 2
main_LE_332(a6, i39, i28, iconst_2, i12, env, static) -{0,0}> main_LE_347(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 0 <= i39 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_347(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_Load_358(a6, i39, i28, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < i39 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
by chaining
main_LE_366(a6, i43, i39, iconst_2, i12, env, static) -{0,0}> main_LE_372(a6, i43, i39, iconst_2, i12, env, static) :|: 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 0 <= i43 && 1 <= i39
main_LE_372(a6, i43, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) :|: 0 < i43 && 2 <= i12 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_Inc_386(a6, i39, i43, iconst_2, i12, env, static) -{1,1}> main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && i43 + -1 = i47 && 0 <= i47 && 0 < a6 && 1 <= i43 && iconst_2 = 2 && 1 <= i39
main_JMP_398(a6, i39, i47, iconst_2, i12, env, static) -{1,1}> main_Load_427(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Load_427(a6, i39, i47, iconst_2, i12, env, static) -{0,0}> main_Load_358(a6, i39, i47, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i47 && 0 < a6 && iconst_2 = 2 && 1 <= i39
obtained
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
by chaining
main_LE_366(a6, iconst_0, i39, iconst_2, i12, env, static) -{0,0}> main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_371(a6, iconst_0, i39, iconst_2, i12, env, static) -{1,1}> main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) :|: iconst_0 <= 0 && 2 <= i12 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_Inc_382(a6, i39, iconst_0, iconst_2, i12, env, static) -{1,1}> main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && i39 + -1 = i46 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_JMP_396(a6, i46, iconst_0, iconst_2, i12, env, static) -{1,1}> main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
main_Load_421(a6, i46, iconst_0, iconst_2, i12, env, static) -{0,0}> main_Load_321(a6, i46, iconst_0, iconst_2, i12, env, static) :|: 0 <= iconst_0 && 2 <= i12 && 0 <= i46 && iconst_0 = 0 && 0 < a6 && iconst_2 = 2
(34) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, env, static) -{46,46}> main_Load_321(o2, i8', i28', 2, i5', env, static'5) :|: 0 <= 1 && static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 < 2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 1 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && 0 <= o2 && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && 0 <= 2 && 0 <= o25' && static'2 <= static'1 + 0 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_321(a6, i8, i28, 2, i12, env, static) -{2,2}> main_Load_358(a6, i8, i28, 2, i12, env, static) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
main_Load_358(a6, i39, i28, iconst_2, i12, env, static) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12, env, static) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, 2, i12, env, static) -{3,3}> main_Load_358(a6, i39, i47', 2, i12, env, static) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
main_LE_366(a6, 0, i39, 2, i12, env, static) -{3,3}> main_Load_321(a6, i46', 0, 2, i12, env, static) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
(35) WeightedIntTrsUnneededArgumentFilterProof (CONCRETE UPPER BOUND(ID) transformation)
Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements:
main_Load_1(x1, x2, x3) → main_Load_1(x1, x3)
main_Load_321(x1, x2, x3, x4, x5, x6, x7) → main_Load_321(x1, x2, x3, x5)
main_Load_358(x1, x2, x3, x4, x5, x6, x7) → main_Load_358(x1, x2, x3, x4, x5)
main_LE_366(x1, x2, x3, x4, x5, x6, x7) → main_LE_366(x1, x2, x3, x4, x5)
(36) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: 0 <= 1 && static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 < 2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 1 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && 0 <= o2 && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && 0 <= 2 && 0 <= o25' && static'2 <= static'1 + 0 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, 2, i12) -{3,3}> main_Load_358(a6, i39, i47', 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
main_LE_366(a6, 0, i39, 2, i12) -{3,3}> main_Load_321(a6, i46', 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
(37) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from lhss to constraints.
main_LE_366(a6, i43, i39, 2, i12) -{3,3}> main_Load_358(a6, i39, i47', 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47'
was transformed to
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i47', 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
main_LE_366(a6, 0, i39, 2, i12) -{3,3}> main_Load_321(a6, i46', 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46'
was transformed to
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i46', 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
(38) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i47', 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: 0 <= 1 && static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 < 2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 1 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && 0 <= o2 && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && 0 <= 2 && 0 <= o25' && static'2 <= static'1 + 0 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i46', 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
(39) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Moved arithmethic from constraints to rhss.
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i46', 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i39 + -1, 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, iconst_2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
was transformed to
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, 2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i47', 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
(40) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: 0 <= 1 && static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 < 2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 1 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && 0 <= o2 && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && 0 <= 2 && 0 <= o25' && static'2 <= static'1 + 0 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i39 + -1, 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, 2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
(41) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)
Simplified expressions.
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 <= i8 && 0 < i8
was transformed to
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 < i8
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i43 + -1, 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && 0 <= i43 && i43 + -1 = i47' && x = 2
was transformed to
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i39 + -1, 0, i12) :|: 1 <= i39 && 0 <= 0 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 + -1 = i46' && x = 0 && x' = 2
was transformed to
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i39 - 1, 0, i12) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: 0 <= 1 && static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 < 2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && 0 <= o8' && -1 * static'4 <= 1 && 0 <= static'3 && 0 < 1 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && 0 <= o2 && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && 0 <= 2 && 0 <= o25' && static'2 <= static'1 + 0 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
was transformed to
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && static'2 <= static'1 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
(42) Obligation:
IntTrs with 5 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_LE_366(a6, x, i39, x', i12) -{3,3}> main_Load_321(a6, i39 - 1, 0, i12) :|: 1 <= i39 && 0 < a6 && 2 <= i12 && 0 <= i46' && i39 - 1 = i46' && x = 0 && x' = 2
main_LE_366(a6, i43, i39, x, i12) -{3,3}> main_Load_358(a6, i39, i43 - 1, 2, i12) :|: 0 < i43 && 1 <= i39 && 2 <= i12 && 1 <= i43 && 0 < a6 && 0 <= i47' && i43 - 1 = i47' && x = 2
main_Load_321(a6, i8, i28, i12) -{2,2}> main_Load_358(a6, i8, i28, 2, i12) :|: 2 <= i12 && 1 <= i8 && 0 <= i28 && 0 < a6 && 0 < i8
main_Load_1(o2, static) -{46,46}> main_Load_321(o2, i8', i28', i5') :|: static'4 <= static'3 + 1 && 0 <= i8' && i28' <= o25' && 0 < o2 && 0 <= i28' && 2 <= i5' && o25' < o2 && 0 <= i5' && 1 <= static'4 && 0 < o25' && -1 * static'4 <= 1 && 0 <= static'3 && 0 <= static && 0 <= static''' && static''' <= static + 2 && 0 <= static'1 && static'1 <= static''' + 1 && o2 <= static'3 && 0 <= static'2 && -1 * static'3 <= 0 && i8' <= o8' && i5' < o2 && 0 < o8' && 0 <= static'4 && o2 <= static'4 && o8' < o2 && static'2 <= static'1 && static'3 <= static'2 + o2 && 1 <= i5' && static'5 <= static'4 + 2
main_Load_358(a6, i39, i28, iconst_2, i12) -{1,1}> main_LE_366(a6, i28, i39, 2, i12) :|: 0 <= i28 && 2 <= i12 && 0 < a6 && iconst_2 = 2 && 1 <= i39
(43) koat Proof (EQUIVALENT transformation)
YES(?, 45*ar_0 + 46)
Initial complexity problem:
1: T:
(Comp: ?, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, ar_2 - 1, 0, ar_4, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 2 <= ar_4 /\ 0 <= i46' /\ ar_2 - 1 = i46' /\ ar_1 = 0 /\ ar_3 = 2 ]
(Comp: ?, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_2, ar_1 - 1, 2, ar_4)) [ 0 < ar_1 /\ 1 <= ar_2 /\ 2 <= ar_4 /\ 1 <= ar_1 /\ 0 < ar_0 /\ 0 <= i47' /\ ar_1 - 1 = i47' /\ ar_3 = 2 ]
(Comp: ?, Cost: 2) main_Load_321(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_1, ar_2, 2, ar_3)) [ 2 <= ar_3 /\ 1 <= ar_1 /\ 0 <= ar_2 /\ 0 < ar_0 /\ 0 < ar_1 ]
(Comp: ?, Cost: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, i8', i28', i5', arityPad)) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i28' <= o25' /\ 0 < ar_0 /\ 0 <= i28' /\ 2 <= i5' /\ o25' < ar_0 /\ 0 <= i5' /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ i8' <= o8' /\ i5' < ar_0 /\ 0 < o8' /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 1) main_Load_358(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_LE_366(ar_0, ar_2, ar_1, 2, ar_4)) [ 0 <= ar_2 /\ 2 <= ar_4 /\ 0 < ar_0 /\ ar_3 = 2 /\ 1 <= ar_1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
Repeatedly propagating knowledge in problem 1 produces the following problem:
2: T:
(Comp: ?, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, ar_2 - 1, 0, ar_4, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 2 <= ar_4 /\ 0 <= i46' /\ ar_2 - 1 = i46' /\ ar_1 = 0 /\ ar_3 = 2 ]
(Comp: ?, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_2, ar_1 - 1, 2, ar_4)) [ 0 < ar_1 /\ 1 <= ar_2 /\ 2 <= ar_4 /\ 1 <= ar_1 /\ 0 < ar_0 /\ 0 <= i47' /\ ar_1 - 1 = i47' /\ ar_3 = 2 ]
(Comp: ?, Cost: 2) main_Load_321(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_1, ar_2, 2, ar_3)) [ 2 <= ar_3 /\ 1 <= ar_1 /\ 0 <= ar_2 /\ 0 < ar_0 /\ 0 < ar_1 ]
(Comp: 1, Cost: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, i8', i28', i5', arityPad)) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i28' <= o25' /\ 0 < ar_0 /\ 0 <= i28' /\ 2 <= i5' /\ o25' < ar_0 /\ 0 <= i5' /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ i8' <= o8' /\ i5' < ar_0 /\ 0 < o8' /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: ?, Cost: 1) main_Load_358(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_LE_366(ar_0, ar_2, ar_1, 2, ar_4)) [ 0 <= ar_2 /\ 2 <= ar_4 /\ 0 < ar_0 /\ ar_3 = 2 /\ 1 <= ar_1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
A polynomial rank function with
Pol(main_LE_366) = 2*V_2 + 3*V_3 - 2
Pol(main_Load_321) = 3*V_2 + 2*V_3
Pol(main_Load_358) = 3*V_2 + 2*V_3 - 1
Pol(main_Load_1) = 5*V_1
Pol(koat_start) = 5*V_1
orients all transitions weakly and the transitions
main_Load_358(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_LE_366(ar_0, ar_2, ar_1, 2, ar_4)) [ 0 <= ar_2 /\ 2 <= ar_4 /\ 0 < ar_0 /\ ar_3 = 2 /\ 1 <= ar_1 ]
main_Load_321(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_1, ar_2, 2, ar_3)) [ 2 <= ar_3 /\ 1 <= ar_1 /\ 0 <= ar_2 /\ 0 < ar_0 /\ 0 < ar_1 ]
main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_2, ar_1 - 1, 2, ar_4)) [ 0 < ar_1 /\ 1 <= ar_2 /\ 2 <= ar_4 /\ 1 <= ar_1 /\ 0 < ar_0 /\ 0 <= i47' /\ ar_1 - 1 = i47' /\ ar_3 = 2 ]
main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, ar_2 - 1, 0, ar_4, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 2 <= ar_4 /\ 0 <= i46' /\ ar_2 - 1 = i46' /\ ar_1 = 0 /\ ar_3 = 2 ]
strictly and produces the following problem:
3: T:
(Comp: 5*ar_0, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, ar_2 - 1, 0, ar_4, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 2 <= ar_4 /\ 0 <= i46' /\ ar_2 - 1 = i46' /\ ar_1 = 0 /\ ar_3 = 2 ]
(Comp: 5*ar_0, Cost: 3) main_LE_366(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_2, ar_1 - 1, 2, ar_4)) [ 0 < ar_1 /\ 1 <= ar_2 /\ 2 <= ar_4 /\ 1 <= ar_1 /\ 0 < ar_0 /\ 0 <= i47' /\ ar_1 - 1 = i47' /\ ar_3 = 2 ]
(Comp: 5*ar_0, Cost: 2) main_Load_321(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_358(ar_0, ar_1, ar_2, 2, ar_3)) [ 2 <= ar_3 /\ 1 <= ar_1 /\ 0 <= ar_2 /\ 0 < ar_0 /\ 0 < ar_1 ]
(Comp: 1, Cost: 46) main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_321(ar_0, i8', i28', i5', arityPad)) [ static'4 <= static'3 + 1 /\ 0 <= i8' /\ i28' <= o25' /\ 0 < ar_0 /\ 0 <= i28' /\ 2 <= i5' /\ o25' < ar_0 /\ 0 <= i5' /\ 1 <= static'4 /\ 0 < o25' /\ -static'4 <= 1 /\ 0 <= static'3 /\ 0 <= ar_1 /\ 0 <= static''' /\ static''' <= ar_1 + 2 /\ 0 <= static'1 /\ static'1 <= static''' + 1 /\ ar_0 <= static'3 /\ 0 <= static'2 /\ -static'3 <= 0 /\ i8' <= o8' /\ i5' < ar_0 /\ 0 < o8' /\ 0 <= static'4 /\ ar_0 <= static'4 /\ o8' < ar_0 /\ static'2 <= static'1 /\ static'3 <= static'2 + ar_0 /\ 1 <= i5' /\ static'5 <= static'4 + 2 ]
(Comp: 5*ar_0, Cost: 1) main_Load_358(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_LE_366(ar_0, ar_2, ar_1, 2, ar_4)) [ 0 <= ar_2 /\ 2 <= ar_4 /\ 0 < ar_0 /\ ar_3 = 2 /\ 1 <= ar_1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3, ar_4) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3, ar_4)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0
Complexity upper bound 45*ar_0 + 46
Time: 0.374 sec (SMT: 0.327 sec)
(44) BOUNDS(CONSTANT, 46 + 45 * |args|)