(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 PastaB8 {
    public static void main(String[] args) {
        Random.args = args;
        int x = Random.random();

        if (x > 0) {
            while (x != 0) {
                if (x % 2 == 0) {
                    x = x/2;
                } else {
                    x--;
                }
            }
        }
    }
}


public class Random {
  static String[] args;
  static int index = 0;

  public static int random() {
    String string = args[index];
    index++;
    return string.length();
  }
}


(1) JBCToGraph (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Constructed TerminationGraph.

(2) Obligation:

Termination Graph based on JBC Program:
PastaB8.main([Ljava/lang/String;)V: Graph of 121 nodes with 1 SCC.


(3) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(48)) transformation)

Extracted set of 73 edges for the analysis of TIME complexity. Kept leaves.

(4) Obligation:

Set of 73 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 73 jbc graph edges to a weighted ITS with 73 rules.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Did no encode lower bounds for putfield and astore.

(6) Obligation:

IntTrs with 73 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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && i23 % iconst_2 = i30 && 0 < a6 && iconst_2 = 2
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && i23 / iconst_2 = i37 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

(7) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

obtained
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
by chaining
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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6

obtained
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_70(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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6

obtained
random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
by chaining
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8

obtained
main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
by chaining
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12

obtained
main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30'
by chaining
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && i23 % iconst_2 = i30 && 0 < a6 && iconst_2 = 2

obtained
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1
by chaining
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && i23 / iconst_2 = i37 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

obtained
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
by chaining
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6

(8) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30'
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1

(9) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from lhss to constraints.

main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
was transformed to
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1

main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30'
was transformed to
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0

main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1

main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1

random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
was transformed to
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1

(10) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_70(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
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(11) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Linearized lhss.

random_ArrayAccess_70(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_70(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 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
random_ArrayAccess_70(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_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(13) RemoveDivModProof (CONCRETE UPPER BOUND(ID) transformation)

Removed div and mod.

main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 / 2 = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, x, i23, x', i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1

main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 % 2 = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
was transformed to
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, x, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

(14) Obligation:

IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, x, i23, x', i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_ArrayAccess_70(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
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, x, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

(15) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from constraints to rhss.

main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
was transformed to
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6

main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, x, i23, x', i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, 0, i23, 1, i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1

main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
was transformed to
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i23 - 2 * div, i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

random_ArrayAccess_70(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_70(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

random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6

main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
was transformed to
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
was transformed to
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1

main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, x, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
was transformed to
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

(16) Obligation:

IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, 0, i23, 1, i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i23 - 2 * div, i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
random_ArrayAccess_70(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
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1

(17) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Simplified expressions.

main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3

random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
was transformed to
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1

main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 - 1, 1, i6, env, static) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1 && x' = 1

main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i23 - 2 * div, i23, 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
was transformed to
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i23 + -2 * div, i23, 1, i6, env, static) :|: i23 + -2 * div < 2 && 0 < i23 + -2 * div + 2 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 + -2 * div = i30' && 0 < i23 && i30' <= 1 && 0 <= i30' && x = 1

main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
was transformed to
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && x = 1

main_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 - 2 * div < 2 && i23 - 2 * div + 2 > 0 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
was transformed to
main_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 + -2 * div < 2 && 0 < i23 + -2 * div + 2 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && x = 0 && x' = 1

main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, 0, i23, 1, i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && 0 <= 0 && 0 <= 1 && x = 0 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, 0, i23, 1, i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && x = 0 && x' = 1

main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 - 2 * div = i30' && 0 < i23 && 0 <= i23 && i30' <= 1 && 0 <= i30' && x = 1
was transformed to
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 + -2 * div = i30' && 0 < i23 && i30' <= 1 && 0 <= i30' && x = 1

(18) Obligation:

IntTrs with 14 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 - 1, 1, i6, env, static) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1 && x' = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_NE_271'(a6, 0, i23, 1, i6, env, static) :|: div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && x = 0 && x' = 1
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_EQ_213'(a6, i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i23 + -2 * div = i30' && 0 < i23 && i30' <= 1 && 0 <= i30' && x = 1
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && x = 1
random_ArrayAccess_70(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_NE_271'(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: i23 + -2 * div < 2 && 0 < i23 + -2 * div + 2 && div = i37' && 0 < a6 && 0 <= i37' && 1 <= i6 && 1 <= i23 && x = 0 && x' = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213'(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i23 + -2 * div, i23, 1, i6, env, static) :|: i23 + -2 * div < 2 && 0 < i23 + -2 * div + 2 && 1 <= i6 && 1 <= i23 && 0 < a6 && i23 + -2 * div = i30' && 0 < i23 && i30' <= 1 && 0 <= i30' && x = 1
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3

(19) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)

Transformed 73 jbc graph edges to a weighted ITS with 73 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.

(20) Obligation:

IntTrs with 73 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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: i30 < iconst_2 && 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && 0 < a6 && iconst_2 = 2
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2 && i37 < i23
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

(21) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

obtained
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
by chaining
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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6

obtained
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
by chaining
random_ArrayAccess_70(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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6

obtained
random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
by chaining
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8

obtained
main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
by chaining
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12

obtained
main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2
by chaining
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: i30 < iconst_2 && 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && 0 < a6 && iconst_2 = 2

obtained
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
by chaining
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2 && i37 < i23
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

obtained
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
by chaining
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6

(22) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_70(a6, iconst_0, iconst_0, env, static) -{0,0}> random_ArrayAccess_73(a6, iconst_0, env, static) :|: 0 <= iconst_0 && iconst_0 = 0 && 0 < a6
random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1

(23) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from lhss to constraints.

main_LE_123(a6, i12, 1, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12
was transformed to
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1

random_ArrayAccess_70(a6, 0, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1
was transformed to
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0

main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1

random_InvokeMethod_100(o12, a6, 1, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12
was transformed to
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1

main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0 && x' = 1

main_EQ_213(a6, i23, 1, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2
was transformed to
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2 && x = 1

(24) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_ArrayAccess_70(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
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0 && x' = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2 && x = 1
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(25) LinearizedLhssProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Linearized lhss.

random_ArrayAccess_70(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_70(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

(26) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0 && x' = 1
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
random_ArrayAccess_70(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_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2 && x = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(27) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from constraints to rhss.

main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
was transformed to
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6

main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1

random_ArrayAccess_70(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_70(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

random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(NULL, a6, iconst_1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
was transformed to
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6

main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
was transformed to
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, iconst_0, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
was transformed to
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(28) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0 && x' = 1
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2 && x = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
random_ArrayAccess_70(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
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6

(29) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Simplified expressions.

main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && i37' < i23 && x = 0 && x' = 1

main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 + 0 && 0 < o2 && 0 <= 2 && 0 <= i4' && 0 <= o2 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 < 1 && 0 < 2 && 0 <= 1 && 0 <= static'3
was transformed to
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3

main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i23 && 0 <= i30' && i30' < 2 && x = 1
was transformed to
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i30' && i30' < 2 && x = 1

random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 <= o12 && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
was transformed to
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1

main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 + -1, 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1 && x' = 1
was transformed to
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 - 1, 1, i6, env, static) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1 && x' = 1

main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && 0 <= i12 && x = 1
was transformed to
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && x = 1

(30) Obligation:

IntTrs with 12 rules
Start term: main_Load_1(args, env, static)
Considered paths: nonterm paths and paths from start to sinks
Rules:
main_NE_271(a6, x, i23, x', i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && i37' < i23 && x = 0 && x' = 1
random_InvokeMethod_100(o12, a6, x, i6, env, static) -{4,4}> main_LE_123(a6, i8', 1, i6, env, static) :|: i8' <= o12 && 0 <= i8' && 0 < a6 && 1 <= i6 && 0 < o12 && x = 1
main_NE_271(a6, x, i23, x', i6, env, static) -{3,3}> main_Load_200(a6, i23 - 1, 1, i6, env, static) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1 && x' = 1
main_LE_123(a6, i12, x, i6, env, static) -{1,1}> main_Load_200(a6, i12, 1, i6, env, static) :|: 0 < i12 && 1 <= i12 && 1 <= i6 && 0 < a6 && x = 1
random_InvokeMethod_100(NULL, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_103(0, a6, 1, i6, env, static) :|: NULL = 0 && 1 <= i6 && iconst_1 = 1 && 0 <= NULL && 0 < a6
random_ArrayAccess_70(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
random_ArrayAccess_70(a6, x, i6, env, static) -{7,7}> random_InvokeMethod_100(o7', a6, 1, i6, env, static'4) :|: 0 <= i6 && 0 < a6 && 0 <= o7' && 0 <= static && 1 <= i6 && o7' < a6 && -1 * static <= 0 && static'4 <= static + 1 && x = 0
main_EQ_213(a6, i23, x, i6, env, static) -{4,4}> main_NE_271(a6, i30', i23, 1, i6, env, static) :|: 1 <= i6 && 1 <= i23 && 0 < a6 && i30' <= 1 && 0 < i23 && 0 <= i30' && i30' < 2 && x = 1
main_LE_123(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_LE_129(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_EQ_213(a6, iconst_0, iconst_1, i6, env, static) -{0,0}> main_EQ_222(a6, 0, 1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_1 = 1 && iconst_0 = 0 && 0 < a6
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, 1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_Load_1(o2, env, static) -{23,23}> random_ArrayAccess_70(o2, 0, i4', env, static'3) :|: static'3 <= static'2 + o2 && i4' < o2 && static'2 <= static'1 && 0 < o2 && 0 <= i4' && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && -1 * static'3 <= 0 && 0 <= static && 0 <= static'3

(31) TerminationGraphToComplexityProof (BOTH CONCRETE BOUNDS(ID, ADD(48)) transformation)

Extracted set of 69 edges for the analysis of TIME complexity. Dropped leaves.

(32) Obligation:

Set of 69 edges based on JBC Program.
Performed SCC analyses:
  • Used field analysis yielded the following read fields:

Considered paths: all paths from start

(33) JBCGraphEdgesToCpxIntTrsProof (CONCRETE UPPER BOUND(ID) transformation)

Transformed 69 jbc graph edges to a weighted ITS with 69 rules.
Used simplified encoding of division and modulo.
Filtered conditions with variables that do not depend on the variables on the lhs or rhs without taking transitive dependencies into account.
Filtered fields of type java.lang.Object.
Did no encode lower bounds for putfield and astore.

(34) Obligation:

IntTrs with 69 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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, 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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: i30 < iconst_2 && 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && 0 < a6 && iconst_2 = 2
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2 && i37 < i23
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

(35) StraightLineCodeCompressionProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

obtained
main_Load_1(o2, env, static) -{35,35}> main_Load_200(o2, i8', 1, i4', env, static'4) :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
by chaining
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_18(o2, env, static') :|: 0 <= a2 && 0 < o2 && iconst_0 = 0 && static' <= static + a2 && 0 <= static && 0 < a2
langle_clinit_rangle_New_18(o2, env, static) -{0,0}> langle_clinit_rangle_New_20(o2, env, static) :|: 0 < o2
langle_clinit_rangle_New_20(o2, env, static) -{0,0}> langle_clinit_rangle_New_22(o2, env, static) :|: 0 < o2 && 0 <= static
langle_clinit_rangle_New_22(o2, env, static) -{1,1}> langle_clinit_rangle_Duplicate_24(o4, o2, env, static) :|: o4 = 1 && 0 < o2 && 0 < o4
langle_clinit_rangle_Duplicate_24(o4, o2, env, static) -{1,1}> langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_ConstantStackPush_26(o4, o2, env, static) -{1,1}> langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_clinit_rangle_InvokeMethod_28(o4, NULL, o2, env, static) -{1,1}> langle_init_rangle_Load_30(o4, o2, env, static) :|: NULL = 0 && 0 < o2 && 0 < o4
langle_init_rangle_Load_30(o4, o2, env, static) -{1,1}> langle_init_rangle_InvokeMethod_33(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_InvokeMethod_33(o4, o2, env, static) -{1,1}> langle_init_rangle_Load_35(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Load_35(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_48(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_init_rangle_Return_48(o4, o2, env, static) -{1,1}> langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) :|: 0 < o2 && 0 < o4
langle_clinit_rangle_FieldAccess_50(o4, o2, env, static) -{1,1}> langle_clinit_rangle_Return_52(o2, env, static') :|: 0 < o2 && 0 <= o4 && 0 < o4 && 0 <= static && static' <= static + o4
langle_clinit_rangle_Return_52(o2, env, static) -{1,1}> main_Load_54(o2, env, static) :|: 0 < o2
main_Load_54(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_64(o2, NULL, iconst_0, env, static) :|: NULL = 0 && 0 < o2 && iconst_0 = 0
main_FieldAccess_64(o2, NULL, iconst_0, env, static) -{1,1}> main_InvokeMethod_65(o2, iconst_0, env, static') :|: NULL = 0 && 0 < o2 && 0 <= o2 && iconst_0 = 0 && 0 <= static && static' <= static + o2
main_InvokeMethod_65(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_66(o2, iconst_0, env, static) :|: 0 < o2 && iconst_0 = 0
random_FieldAccess_66(o2, iconst_0, env, static) -{1,1}> random_FieldAccess_67(o2, iconst_0, env, static) :|: 0 < o2 && o2 <= static && 0 <= o2 && iconst_0 = 0 && 0 <= static
random_FieldAccess_67(o2, iconst_0, env, static) -{1,1}> random_ArrayAccess_69(o2, iconst_0, env, static) :|: 0 < o2 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= static && iconst_0 <= static
random_ArrayAccess_69(a6, iconst_0, env, static) -{0,0}> random_ArrayAccess_70(a6, iconst_0, i4, env, static) :|: 0 <= i4 && iconst_0 = 0 && 0 < a6 && i4 < a6
random_ArrayAccess_70(a6, iconst_0, 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_78(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && o7 < a6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_Store_78(o7, a6, iconst_0, i6, env, static) -{1,1}> random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_80(o7, a6, iconst_0, i6, env, static) -{1,1}> random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) :|: 1 <= i6 && -1 * static <= iconst_0 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && iconst_0 <= static
random_ConstantStackPush_83(iconst_0, o7, a6, i6, env, static) -{1,1}> random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_IntArithmetic_88(iconst_0, iconst_1, o7, a6, i6, env, static) -{1,1}> random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 < a6
random_FieldAccess_90(iconst_1, o7, a6, iconst_0, i6, env, static) -{1,1}> random_Load_94(o7, a6, iconst_1, i6, env, static') :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 0 <= o7 && 0 <= static && 0 < a6 && static' <= static + iconst_1
random_Load_94(o7, a6, iconst_1, i6, env, static) -{1,1}> random_InvokeMethod_100(o7, a6, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= o7 && 0 < a6
random_InvokeMethod_100(o12, a6, iconst_1, i6, env, static) -{0,0}> random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6
random_InvokeMethod_102(o12, a6, iconst_1, i6, env, static) -{1,1}> random_Return_106(i8, a6, iconst_1, i6, env, static) :|: 1 <= i6 && i8 <= o12 && 0 < o12 && iconst_1 = 1 && 0 < a6 && 0 <= i8
random_Return_106(i8, a6, iconst_1, i6, env, static) -{1,1}> main_Store_112(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Store_112(a6, i8, iconst_1, i6, env, static) -{1,1}> main_Load_115(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_Load_115(a6, i8, iconst_1, i6, env, static) -{1,1}> main_LE_123(a6, i8, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 < a6 && 0 <= i8
main_LE_123(a6, i12, iconst_1, i6, env, static) -{0,0}> main_LE_131(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12
main_LE_131(a6, i12, iconst_1, i6, env, static) -{1,1}> main_Load_137(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && 0 < i12 && iconst_1 = 1 && 0 < a6 && 1 <= i12
main_Load_137(a6, i12, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i12, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i12 && 0 < a6 && 1 <= i12

obtained
main_Load_200(a6, i16, 1, i6, env, static) -{5,5}> main_NE_271(a6, i30', i16, 1, i6, env, static) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
by chaining
main_Load_200(a6, i16, iconst_1, i6, env, static) -{1,1}> main_EQ_213(a6, i16, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i16 && 0 < a6
main_EQ_213(a6, i23, iconst_1, i6, env, static) -{0,0}> main_EQ_221(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 <= i23
main_EQ_221(a6, i23, iconst_1, i6, env, static) -{1,1}> main_Load_236(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && 0 < i23
main_Load_236(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_250(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_262(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_NE_271(a6, i30, i23, iconst_1, i6, env, static) :|: i30 < iconst_2 && 1 <= i6 && 0 <= i30 && iconst_1 = 1 && 1 <= i23 && i30 <= 1 && 0 < a6 && iconst_2 = 2

obtained
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
by chaining
main_NE_271(a6, iconst_0, i23, iconst_1, i6, env, static) -{0,0}> main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= iconst_0 && iconst_0 <= 1 && iconst_1 = 1 && 1 <= i23 && iconst_0 = 0 && 0 < a6
main_NE_281(a6, iconst_0, i23, iconst_1, i6, env, static) -{1,1}> main_Load_289(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && iconst_0 = 0 && 1 <= i23 && 0 < a6
main_Load_289(a6, i23, iconst_1, i6, env, static) -{1,1}> main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_ConstantStackPush_297(a6, i23, iconst_1, i6, env, static) -{1,1}> main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && iconst_2 = 2
main_IntArithmetic_310(a6, i23, iconst_2, iconst_1, i6, env, static) -{1,1}> main_Store_316(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && iconst_1 = 1 && 0 <= i37 && 1 <= i23 && 0 < a6 && iconst_2 = 2 && i37 < i23
main_Store_316(a6, i37, iconst_1, i6, env, static) -{1,1}> main_JMP_335(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_JMP_335(a6, i37, iconst_1, i6, env, static) -{1,1}> main_Load_342(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6
main_Load_342(a6, i37, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i37, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i37 && iconst_1 = 1 && 0 < a6

obtained
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
by chaining
main_NE_271(a6, iconst_1, i23, iconst_1, i6, env, static) -{0,0}> main_NE_280(a6, iconst_1, i23, i6, env, static) :|: 1 <= i6 && iconst_1 <= 1 && 0 <= iconst_1 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_NE_280(a6, iconst_1, i23, i6, env, static) -{1,1}> main_Inc_287(a6, i23, iconst_1, i6, env, static) :|: 0 < iconst_1 && 1 <= i6 && iconst_1 = 1 && 1 <= i23 && 0 < a6
main_Inc_287(a6, i23, iconst_1, i6, env, static) -{1,1}> main_JMP_295(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 1 <= i23 && 0 < a6 && i23 + -1 = i35
main_JMP_295(a6, i35, iconst_1, i6, env, static) -{1,1}> main_Load_307(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6
main_Load_307(a6, i35, iconst_1, i6, env, static) -{0,0}> main_Load_200(a6, i35, iconst_1, i6, env, static) :|: 1 <= i6 && 0 <= i35 && iconst_1 = 1 && 0 < a6

(36) Obligation:

IntTrs with 4 rules
Start term: main_Load_1(args, env, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, env, static) -{35,35}> main_Load_200(o2, i8', 1, i4', env, static'4) :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
main_Load_200(a6, i16, 1, i6, env, static) -{5,5}> main_NE_271(a6, i30', i16, 1, i6, env, static) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
main_NE_271(a6, 0, i23, 1, i6, env, static) -{6,6}> main_Load_200(a6, i37', 1, i6, env, static) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
main_NE_271(a6, 1, i23, 1, i6, env, static) -{3,3}> main_Load_200(a6, i35', 1, i6, env, static) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1

(37) 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_200(x1, x2, x3, x4, x5, x6) → main_Load_200(x1, x2, x4)
main_NE_271(x1, x2, x3, x4, x5, x6, x7) → main_NE_271(x1, x2, x3, x5)

(38) Obligation:

IntTrs with 4 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
main_NE_271(a6, 0, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
main_NE_271(a6, 1, i23, i6) -{3,3}> main_Load_200(a6, i35', i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1

(39) MovedArithmeticToConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from lhss to constraints.

main_NE_271(a6, 1, i23, i6) -{3,3}> main_Load_200(a6, i35', i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1
was transformed to
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i35', i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1

main_NE_271(a6, 0, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23
was transformed to
main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0

(40) Obligation:

IntTrs with 4 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i35', i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1
main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0

(41) MovedArithmeticFromConstraintsProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Moved arithmethic from constraints to rhss.

main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i35', i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1
was transformed to
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i23 + -1, i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1

(42) Obligation:

IntTrs with 4 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i23 + -1, i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1
main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0
main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2

(43) ExpressionSimplificationProof (BOTH CONCRETE BOUNDS(ID, ID) transformation)

Simplified expressions.

main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i23 + -1, i6) :|: i23 + -1 = i35' && 0 < a6 && 1 <= 1 && 0 < 1 && 1 <= i6 && 0 <= i35' && 1 <= i23 && 0 <= 1 && x = 1
was transformed to
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i23 - 1, i6) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1

main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && 0 <= 1 && 0 <= 0 && i37' < i23 && x = 0
was transformed to
main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && i37' < i23 && x = 0

main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 + 0 && 0 <= i8' && 1 <= i4' && 0 <= 2 && 0 < o7' && o7' < o2 && i8' <= o7' && 0 <= o2 && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 < 1 && 0 <= static'3 && 0 <= o7' && 0 < i8' && 0 <= i4' && 0 < 2 && 0 <= 1 && static'4 <= static'3 + 1
was transformed to
main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 && 1 <= i4' && 0 < o7' && o7' < o2 && i8' <= o7' && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 <= static'3 && 0 < i8' && 0 <= i4' && static'4 <= static'3 + 1

main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 0 <= i16 && 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
was transformed to
main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2

(44) Obligation:

IntTrs with 4 rules
Start term: main_Load_1(args, static)
Considered paths: all paths from start
Rules:
main_Load_1(o2, static) -{35,35}> main_Load_200(o2, i8', i4') :|: i4' < o2 && 1 <= i8' && static'3 <= static'2 + o2 && 0 < o2 && static'2 <= static'1 && 1 <= i4' && 0 < o7' && o7' < o2 && i8' <= o7' && -1 * static'3 <= 0 && 0 <= static'2 && o2 <= static'3 && static'1 <= static''' + 1 && 0 <= static'1 && static''' <= static + 2 && 0 <= static''' && 0 <= static && 0 <= static'3 && 0 < i8' && 0 <= i4' && static'4 <= static'3 + 1
main_NE_271(a6, x, i23, i6) -{6,6}> main_Load_200(a6, i37', i6) :|: 1 <= i23 && 0 < a6 && 0 <= i37' && 1 <= i6 && i37' < i23 && x = 0
main_Load_200(a6, i16, i6) -{5,5}> main_NE_271(a6, i30', i16, i6) :|: 1 <= i16 && 0 < a6 && i30' <= 1 && 0 < i16 && 1 <= i6 && 0 <= i30' && i30' < 2
main_NE_271(a6, x, i23, i6) -{3,3}> main_Load_200(a6, i23 - 1, i6) :|: i23 - 1 = i35' && 0 < a6 && 1 <= i6 && 0 <= i35' && 1 <= i23 && x = 1

(45) koat Proof (EQUIVALENT transformation)

YES(?, 28*ar_0 + 35)

Initial complexity problem:
1: T:
(Comp: ?, Cost: 35) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i8', i4', arityPad)) [ i4' < ar_0 /\ 1 <= i8' /\ static'3 <= static'2 + ar_0 /\ 0 < ar_0 /\ static'2 <= static'1 /\ 1 <= i4' /\ 0 < o7' /\ o7' < ar_0 /\ i8' <= o7' /\ -static'3 <= 0 /\ 0 <= static'2 /\ ar_0 <= static'3 /\ static'1 <= static''' + 1 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ 0 <= static''' /\ 0 <= ar_1 /\ 0 <= static'3 /\ 0 < i8' /\ 0 <= i4' /\ static'4 <= static'3 + 1 ]
(Comp: ?, Cost: 6) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i37', ar_3, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 0 <= i37' /\ 1 <= ar_3 /\ i37' < ar_2 /\ ar_1 = 0 ]
(Comp: ?, Cost: 5) main_Load_200(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_NE_271(ar_0, i30', ar_1, ar_2)) [ 1 <= ar_1 /\ 0 < ar_0 /\ i30' <= 1 /\ 0 < ar_1 /\ 1 <= ar_2 /\ 0 <= i30' /\ i30' < 2 ]
(Comp: ?, Cost: 3) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, ar_2 - 1, ar_3, arityPad)) [ ar_2 - 1 = i35' /\ 0 < ar_0 /\ 1 <= ar_3 /\ 0 <= i35' /\ 1 <= ar_2 /\ ar_1 = 1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0

Repeatedly propagating knowledge in problem 1 produces the following problem:
2: T:
(Comp: 1, Cost: 35) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i8', i4', arityPad)) [ i4' < ar_0 /\ 1 <= i8' /\ static'3 <= static'2 + ar_0 /\ 0 < ar_0 /\ static'2 <= static'1 /\ 1 <= i4' /\ 0 < o7' /\ o7' < ar_0 /\ i8' <= o7' /\ -static'3 <= 0 /\ 0 <= static'2 /\ ar_0 <= static'3 /\ static'1 <= static''' + 1 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ 0 <= static''' /\ 0 <= ar_1 /\ 0 <= static'3 /\ 0 < i8' /\ 0 <= i4' /\ static'4 <= static'3 + 1 ]
(Comp: ?, Cost: 6) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i37', ar_3, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 0 <= i37' /\ 1 <= ar_3 /\ i37' < ar_2 /\ ar_1 = 0 ]
(Comp: ?, Cost: 5) main_Load_200(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_NE_271(ar_0, i30', ar_1, ar_2)) [ 1 <= ar_1 /\ 0 < ar_0 /\ i30' <= 1 /\ 0 < ar_1 /\ 1 <= ar_2 /\ 0 <= i30' /\ i30' < 2 ]
(Comp: ?, Cost: 3) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, ar_2 - 1, ar_3, arityPad)) [ ar_2 - 1 = i35' /\ 0 < ar_0 /\ 1 <= ar_3 /\ 0 <= i35' /\ 1 <= ar_2 /\ ar_1 = 1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0

A polynomial rank function with
Pol(main_Load_1) = 2*V_1
Pol(main_Load_200) = 2*V_2
Pol(main_NE_271) = 2*V_3 - 1
Pol(koat_start) = 2*V_1
orients all transitions weakly and the transitions
main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i37', ar_3, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 0 <= i37' /\ 1 <= ar_3 /\ i37' < ar_2 /\ ar_1 = 0 ]
main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, ar_2 - 1, ar_3, arityPad)) [ ar_2 - 1 = i35' /\ 0 < ar_0 /\ 1 <= ar_3 /\ 0 <= i35' /\ 1 <= ar_2 /\ ar_1 = 1 ]
main_Load_200(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_NE_271(ar_0, i30', ar_1, ar_2)) [ 1 <= ar_1 /\ 0 < ar_0 /\ i30' <= 1 /\ 0 < ar_1 /\ 1 <= ar_2 /\ 0 <= i30' /\ i30' < 2 ]
strictly and produces the following problem:
3: T:
(Comp: 1, Cost: 35) main_Load_1(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i8', i4', arityPad)) [ i4' < ar_0 /\ 1 <= i8' /\ static'3 <= static'2 + ar_0 /\ 0 < ar_0 /\ static'2 <= static'1 /\ 1 <= i4' /\ 0 < o7' /\ o7' < ar_0 /\ i8' <= o7' /\ -static'3 <= 0 /\ 0 <= static'2 /\ ar_0 <= static'3 /\ static'1 <= static''' + 1 /\ 0 <= static'1 /\ static''' <= ar_1 + 2 /\ 0 <= static''' /\ 0 <= ar_1 /\ 0 <= static'3 /\ 0 < i8' /\ 0 <= i4' /\ static'4 <= static'3 + 1 ]
(Comp: 2*ar_0, Cost: 6) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, i37', ar_3, arityPad)) [ 1 <= ar_2 /\ 0 < ar_0 /\ 0 <= i37' /\ 1 <= ar_3 /\ i37' < ar_2 /\ ar_1 = 0 ]
(Comp: 2*ar_0, Cost: 5) main_Load_200(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_NE_271(ar_0, i30', ar_1, ar_2)) [ 1 <= ar_1 /\ 0 < ar_0 /\ i30' <= 1 /\ 0 < ar_1 /\ 1 <= ar_2 /\ 0 <= i30' /\ i30' < 2 ]
(Comp: 2*ar_0, Cost: 3) main_NE_271(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_200(ar_0, ar_2 - 1, ar_3, arityPad)) [ ar_2 - 1 = i35' /\ 0 < ar_0 /\ 1 <= ar_3 /\ 0 <= i35' /\ 1 <= ar_2 /\ ar_1 = 1 ]
(Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(main_Load_1(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ]
start location: koat_start
leaf cost: 0

Complexity upper bound 28*ar_0 + 35

Time: 0.184 sec (SMT: 0.168 sec)

(46) BOUNDS(CONSTANT, 35 + 28 * |args|)