0 JBC
↳1 JBC2FIG (⇒)
↳2 JBCTerminationGraph
↳3 FIGtoITRSProof (⇒)
↳4 AND
↳5 IDP
↳6 IDPtoQDPProof (⇒)
↳7 QDP
↳8 UsableRulesProof (⇔)
↳9 QDP
↳10 QReductionProof (⇔)
↳11 QDP
↳12 MRRProof (⇔)
↳13 QDP
↳14 DependencyGraphProof (⇔)
↳15 QDP
↳16 QDPSizeChangeProof (⇔)
↳17 YES
↳18 IDP
↳19 IDPtoQDPProof (⇒)
↳20 QDP
↳21 UsableRulesProof (⇔)
↳22 QDP
↳23 QReductionProof (⇔)
↳24 QDP
↳25 QDPQMonotonicMRRProof (⇔)
↳26 QDP
↳27 DependencyGraphProof (⇔)
↳28 QDP
↳29 QDPOrderProof (⇔)
↳30 QDP
↳31 DependencyGraphProof (⇔)
↳32 TRUE
↳33 IDP
↳34 IDPNonInfProof (⇒)
↳35 IDP
↳36 IDependencyGraphProof (⇔)
↳37 TRUE
public class Count {
public static void main(String[] args) {
Random.args = args;
Tree tree = Tree.createTree();
int c = count(tree);
}
public static Tree flatten(Tree start) {
Tree result = null;
Tree s,t,u;
while (start != null) {
if (start.left == null) {
result = new Tree(null,result);
start = start.right;
}
else {
s = start.left.left;
t = start.left.right;
u = start.right;
start = new Tree(s, new Tree(t,u));
}
}
return result;
}
public static int count(Tree start) {
int res = 0;
while (start != null) {
if (start.left == null) {
res++;
start = start.right;
}
else {
start = flatten(start);
}
}
return res;
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
public class Tree {
Tree left;
Tree right;
Object value;
public Tree(Tree l, Tree r) {
this.left = l;
this.right = r;
}
public Tree() {
}
public static Tree createNode() {
Tree result = new Tree();
result.value = new Object();
return result;
}
public static Tree createTree() {
int counter = Random.random();
if (counter == 0) {
return null;
}
Tree result = createNode();
Tree t = result;
while (counter > 0) {
int branch = Random.random();
if (branch > 0) {
if (t.left == null) {
t.left = createNode();
t = result;
} else {
t = t.left;
}
} else {
if (t.right == null) {
t.right = createNode();
t = result;
} else {
t = t.right;
}
}
counter--;
}
return result;
}
public static void main(String[] args) {
Random.args = args;
createTree();
}
}
Generated 196 rules for P and 3 rules for R.
Combined rules. Obtained 16 rules for P and 1 rules for R.
Filtered ground terms:
24307_0_flatten_Store(x1, x2, x3) → 24307_0_flatten_Store(x2, x3)
Tree(x1, x2, x3) → Tree(x2, x3)
14185_0_flatten_NULL(x1, x2, x3, x4) → 14185_0_flatten_NULL(x2, x3, x4)
22994_0_flatten_Store(x1, x2, x3, x4, x5) → 22994_0_flatten_Store(x2, x3, x4, x5)
22978_0_flatten_Store(x1, x2, x3, x4, x5) → 22978_0_flatten_Store(x2, x3, x4, x5)
24360_0_flatten_Store(x1, x2, x3) → 24360_0_flatten_Store(x2, x3)
23618_0_flatten_Store(x1, x2, x3, x4, x5) → 23618_0_flatten_Store(x2, x3, x4, x5)
23578_0_flatten_Store(x1, x2, x3, x4, x5) → 23578_0_flatten_Store(x2, x3, x4, x5)
23897_0_flatten_Store(x1, x2, x3, x4, x5) → 23897_0_flatten_Store(x2, x3, x4, x5)
14759_0_flatten_Return(x1, x2) → 14759_0_flatten_Return(x2)
Filtered duplicate args:
14185_0_flatten_NULL(x1, x2, x3) → 14185_0_flatten_NULL(x2, x3)
Finished conversion. Obtained 16 rules for P and 1 rules for R. System has no predefined symbols.
Generated 42 rules for P and 211 rules for R.
Combined rules. Obtained 7 rules for P and 20 rules for R.
Filtered ground terms:
7947_0_count_Store(x1, x2) → 7947_0_count_Store(x2)
6201_0_count_NULL(x1, x2, x3) → 6201_0_count_NULL(x2, x3)
Tree(x1, x2, x3) → Tree(x2, x3)
14759_0_flatten_Return(x1, x2) → 14759_0_flatten_Return(x2)
7665_0_flatten_ConstantStackPush(x1, x2) → 7665_0_flatten_ConstantStackPush(x2)
7650_0_flatten_ConstantStackPush(x1, x2) → 7650_0_flatten_ConstantStackPush(x2)
14185_0_flatten_NULL(x1, x2, x3, x4) → 14185_0_flatten_NULL(x2, x3, x4)
22780_0_flatten_FieldAccess(x1, x2, x3, x4, x5) → 22780_0_flatten_FieldAccess(x2, x3, x4, x5)
23249_0_flatten_FieldAccess(x1, x2, x3, x4, x5) → 23249_0_flatten_FieldAccess(x2, x3, x4, x5)
23897_0_flatten_Store(x1, x2, x3, x4, x5) → 23897_0_flatten_Store(x2, x3, x4, x5)
23578_0_flatten_Store(x1, x2, x3, x4, x5) → 23578_0_flatten_Store(x2, x3, x4, x5)
22978_0_flatten_Store(x1, x2, x3, x4, x5) → 22978_0_flatten_Store(x2, x3, x4, x5)
24267_0_flatten_FieldAccess(x1, x2, x3) → 24267_0_flatten_FieldAccess(x2, x3)
24360_0_flatten_Store(x1, x2, x3) → 24360_0_flatten_Store(x2, x3)
6394_0_count_Return(x1) → 6394_0_count_Return
Filtered duplicate args:
6201_0_count_NULL(x1, x2) → 6201_0_count_NULL(x2)
14185_0_flatten_NULL(x1, x2, x3) → 14185_0_flatten_NULL(x2, x3)
Finished conversion. Obtained 7 rules for P and 20 rules for R. System has no predefined symbols.
Generated 257 rules for P and 74 rules for R.
Combined rules. Obtained 15 rules for P and 0 rules for R.
Filtered ground terms:
Tree(x1, x2, x3) → Tree(x2, x3)
29267_0_random_ArrayAccess(x1, x2, x3) → 29267_0_random_ArrayAccess(x2, x3)
29429_0_random_IntArithmetic(x1, x2, x3, x4) → 29429_0_random_IntArithmetic(x2, x3)
Cond_29429_1_createTree_InvokeMethod9(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod9(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod2(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod2(x1, x2, x3)
Filtered all non-integer terms:
29267_1_createTree_InvokeMethod(x1, x2, x3, x4) → 29267_1_createTree_InvokeMethod(x1, x2)
Cond_29267_1_createTree_InvokeMethod(x1, x2, x3, x4, x5) → Cond_29267_1_createTree_InvokeMethod(x1, x2, x3)
29429_1_createTree_InvokeMethod(x1, x2, x3, x4) → 29429_1_createTree_InvokeMethod(x1, x2)
29429_0_random_IntArithmetic(x1, x2) → 29429_0_random_IntArithmetic(x2)
Tree(x1, x2) → Tree
Cond_29429_1_createTree_InvokeMethod(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod1(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod1(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod3(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod3(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod4(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod4(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod5(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod5(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod6(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod6(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod7(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod7(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod8(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod8(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod10(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod10(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod11(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod11(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod12(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod12(x1, x2, x3)
Cond_29429_1_createTree_InvokeMethod13(x1, x2, x3, x4, x5) → Cond_29429_1_createTree_InvokeMethod13(x1, x2, x3)
Filtered all free variables:
29429_1_createTree_InvokeMethod(x1, x2) → 29429_1_createTree_InvokeMethod(x2)
Cond_29429_1_createTree_InvokeMethod(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod(x1, x3)
29267_1_createTree_InvokeMethod(x1, x2) → 29267_1_createTree_InvokeMethod(x2)
Cond_29429_1_createTree_InvokeMethod1(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod1(x1, x3)
Cond_29429_1_createTree_InvokeMethod2(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod2(x1, x3)
Cond_29429_1_createTree_InvokeMethod3(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod3(x1, x3)
Cond_29429_1_createTree_InvokeMethod4(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod4(x1, x3)
Cond_29429_1_createTree_InvokeMethod5(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod5(x1, x3)
Cond_29429_1_createTree_InvokeMethod6(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod6(x1, x3)
Cond_29429_1_createTree_InvokeMethod7(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod7(x1, x3)
Cond_29429_1_createTree_InvokeMethod8(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod8(x1, x3)
Cond_29429_1_createTree_InvokeMethod9(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod9(x1, x3)
Cond_29429_1_createTree_InvokeMethod10(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod10(x1, x3)
Cond_29429_1_createTree_InvokeMethod11(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod11(x1, x3)
Cond_29429_1_createTree_InvokeMethod12(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod12(x1, x3)
Cond_29429_1_createTree_InvokeMethod13(x1, x2, x3) → Cond_29429_1_createTree_InvokeMethod13(x1, x3)
Cond_29267_1_createTree_InvokeMethod(x1, x2, x3) → Cond_29267_1_createTree_InvokeMethod(x1, x3)
Combined rules. Obtained 1 rules for P and 0 rules for R.
Finished conversion. Obtained 1 rules for P and 0 rules for R. System has predefined symbols.
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
(0) -> (1), if ((x0[0] →* x3[1])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(0) -> (2), if ((x0[0] →* x3[2])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))))
(0) -> (4), if ((x0[0] →* x1[4])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(NULL, x0[4]))))
(0) -> (5), if ((x0[0] →* x1[5])∧(java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))) →* java.lang.Object(Tree(NULL, x0[5]))))
(1) -> (1), if ((x3[1] →* x3[1]')∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1]', x1[1]')), x2[1]'))))
(1) -> (2), if ((x3[1] →* x3[2])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))))
(1) -> (4), if ((x3[1] →* x1[4])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(NULL, x0[4]))))
(1) -> (5), if ((x3[1] →* x1[5])∧(java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))) →* java.lang.Object(Tree(NULL, x0[5]))))
(2) -> (0), if ((x3[2] →* x0[0])∧(x0[2] →* x1[0])∧(x1[2] →* x2[0])∧(x2[2] →* x3[0]))
(3) -> (1), if ((java.lang.Object(Tree(NULL, x0[3])) →* x3[1])∧(x1[3] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(3) -> (2), if ((java.lang.Object(Tree(NULL, x0[3])) →* x3[2])∧(x1[3] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))))
(3) -> (4), if ((java.lang.Object(Tree(NULL, x0[3])) →* x1[4])∧(x1[3] →* java.lang.Object(Tree(NULL, x0[4]))))
(3) -> (5), if ((java.lang.Object(Tree(NULL, x0[3])) →* x1[5])∧(x1[3] →* java.lang.Object(Tree(NULL, x0[5]))))
(4) -> (1), if ((java.lang.Object(Tree(NULL, x1[4])) →* x3[1])∧(x0[4] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))))
(4) -> (2), if ((java.lang.Object(Tree(NULL, x1[4])) →* x3[2])∧(x0[4] →* java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))))
(4) -> (4), if ((java.lang.Object(Tree(NULL, x1[4])) →* x1[4]')∧(x0[4] →* java.lang.Object(Tree(NULL, x0[4]'))))
(4) -> (5), if ((java.lang.Object(Tree(NULL, x1[4])) →* x1[5])∧(x0[4] →* java.lang.Object(Tree(NULL, x0[5]))))
(5) -> (3), if ((java.lang.Object(Tree(NULL, x1[5])) →* java.lang.Object(Tree(NULL, x0[3])))∧(x0[5] →* x1[3]))
23897_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 14185_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
14185_0_FLATTEN_NULL(x3[2], java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))) → 23897_0_FLATTEN_STORE(x3[2], x0[2], x1[2], x2[2])
24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[3])), x1[3]) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[3])), x1[3])
14185_0_FLATTEN_NULL(x1[4], java.lang.Object(Tree(NULL, x0[4]))) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[4])), x0[4])
14185_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
14185_0_flatten_NULL(x0, NULL)
23897_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 14185_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
14185_0_FLATTEN_NULL(x3[2], java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))) → 23897_0_FLATTEN_STORE(x3[2], x0[2], x1[2], x2[2])
24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[3])), x1[3]) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[3])), x1[3])
14185_0_FLATTEN_NULL(x1[4], java.lang.Object(Tree(NULL, x0[4]))) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[4])), x0[4])
14185_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, NULL)
23897_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 14185_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
14185_0_FLATTEN_NULL(x3[2], java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))) → 23897_0_FLATTEN_STORE(x3[2], x0[2], x1[2], x2[2])
24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[3])), x1[3]) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[3])), x1[3])
14185_0_FLATTEN_NULL(x1[4], java.lang.Object(Tree(NULL, x0[4]))) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[4])), x0[4])
14185_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(java.lang.Object(Tree(x0[1], x1[1])), x2[1]))) → 14185_0_FLATTEN_NULL(x3[1], java.lang.Object(Tree(x0[1], java.lang.Object(Tree(x1[1], x2[1])))))
14185_0_FLATTEN_NULL(x3[2], java.lang.Object(Tree(java.lang.Object(Tree(x0[2], x1[2])), x2[2]))) → 23897_0_FLATTEN_STORE(x3[2], x0[2], x1[2], x2[2])
POL(14185_0_FLATTEN_NULL(x1, x2)) = x1 + x2
POL(23897_0_FLATTEN_STORE(x1, x2, x3, x4)) = 2 + x1 + 2·x2 + 2·x3 + x4
POL(24360_0_FLATTEN_STORE(x1, x2)) = x1 + x2
POL(NULL) = 0
POL(Tree(x1, x2)) = 1 + 2·x1 + x2
POL(java.lang.Object(x1)) = x1
23897_0_FLATTEN_STORE(x0[0], x1[0], x2[0], x3[0]) → 14185_0_FLATTEN_NULL(x0[0], java.lang.Object(Tree(x1[0], java.lang.Object(Tree(x2[0], x3[0])))))
24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[3])), x1[3]) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[3])), x1[3])
14185_0_FLATTEN_NULL(x1[4], java.lang.Object(Tree(NULL, x0[4]))) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[4])), x0[4])
14185_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
14185_0_FLATTEN_NULL(x1[4], java.lang.Object(Tree(NULL, x0[4]))) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x1[4])), x0[4])
14185_0_FLATTEN_NULL(x1[5], java.lang.Object(Tree(NULL, x0[5]))) → 24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x1[5])), x0[5])
24360_0_FLATTEN_STORE(java.lang.Object(Tree(NULL, x0[3])), x1[3]) → 14185_0_FLATTEN_NULL(java.lang.Object(Tree(NULL, x0[3])), x1[3])
From the DPs we obtained the following set of size-change graphs:
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
(0) -> (1), if ((7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) →* 14759_0_flatten_Return(x0[1]))∧(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])) →* java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))))
(1) -> (0), if ((x0[1] →* java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))))
(1) -> (3), if ((x0[1] →* java.lang.Object(Tree(NULL, x0[3]))))
(1) -> (4), if ((x0[1] →* java.lang.Object(Tree(NULL, x0[4]))))
(2) -> (0), if ((x0[2] →* java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))))
(2) -> (3), if ((x0[2] →* java.lang.Object(Tree(NULL, x0[3]))))
(2) -> (4), if ((x0[2] →* java.lang.Object(Tree(NULL, x0[4]))))
(3) -> (0), if ((x0[3] →* java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))))
(3) -> (3), if ((x0[3] →* java.lang.Object(Tree(NULL, x0[3]'))))
(3) -> (4), if ((x0[3] →* java.lang.Object(Tree(NULL, x0[4]))))
(4) -> (2), if ((x0[4] →* x0[2]))
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
7947_0_COUNT_STORE(x0[2]) → 6201_0_COUNT_NULL(x0[2])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[3]))) → 6201_0_COUNT_NULL(x0[3])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[4]))) → 7947_0_COUNT_STORE(x0[4])
6201_0_count_NULL(NULL) → 6394_0_count_Return
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
6201_0_count_NULL(NULL)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
7947_0_COUNT_STORE(x0[2]) → 6201_0_COUNT_NULL(x0[2])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[3]))) → 6201_0_COUNT_NULL(x0[3])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[4]))) → 7947_0_COUNT_STORE(x0[4])
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
6201_0_count_NULL(NULL)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
6201_0_count_NULL(NULL)
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
7947_0_COUNT_STORE(x0[2]) → 6201_0_COUNT_NULL(x0[2])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[3]))) → 6201_0_COUNT_NULL(x0[3])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[4]))) → 7947_0_COUNT_STORE(x0[4])
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[3]))) → 6201_0_COUNT_NULL(x0[3])
6201_0_COUNT_NULL(java.lang.Object(Tree(NULL, x0[4]))) → 7947_0_COUNT_STORE(x0[4])
POL(14185_0_flatten_NULL(x1, x2)) = 1 + x1 + x2
POL(14759_0_flatten_Return(x1)) = 2 + x1
POL(22978_0_flatten_Store(x1, x2, x3, x4)) = 1 + x1 + x2 + x3 + x4
POL(23249_0_flatten_FieldAccess(x1, x2, x3, x4)) = 1 + x1 + x4
POL(24267_0_flatten_FieldAccess(x1, x2)) = x1 + x2
POL(24360_0_flatten_Store(x1, x2)) = 1 + x1 + x2
POL(6201_0_COUNT_NULL(x1)) = 2 + x1
POL(7650_0_flatten_ConstantStackPush(x1)) = 2 + x1
POL(7650_1_COUNT_INVOKEMETHOD(x1, x2)) = x1
POL(7947_0_COUNT_STORE(x1)) = 2 + x1
POL(NULL) = 1
POL(Tree(x1, x2)) = x1 + x2
POL(java.lang.Object(x1)) = x1
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
7947_0_COUNT_STORE(x0[2]) → 6201_0_COUNT_NULL(x0[2])
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
7650_1_COUNT_INVOKEMETHOD(14759_0_flatten_Return(x0[1]), java.lang.Object(Tree(java.lang.Object(x1[1]), x2[1]))) → 6201_0_COUNT_NULL(x0[1])
POL(7650_1_COUNT_INVOKEMETHOD(x1, x2)) = 0A + 1A · x1 + -I · x2
POL(14759_0_flatten_Return(x1)) = -I + 0A · x1
POL(java.lang.Object(x1)) = 1A + 0A · x1
POL(Tree(x1, x2)) = 0A + 1A · x1 + 0A · x2
POL(6201_0_COUNT_NULL(x1)) = -I + 0A · x1
POL(7650_0_flatten_ConstantStackPush(x1)) = 1A + -I · x1
POL(14185_0_flatten_NULL(x1, x2)) = 1A + 0A · x1 + -I · x2
POL(NULL) = 0A
POL(22978_0_flatten_Store(x1, x2, x3, x4)) = 1A + 0A · x1 + -I · x2 + -I · x3 + -I · x4
POL(24360_0_flatten_Store(x1, x2)) = -I + 0A · x1 + -I · x2
POL(24267_0_flatten_FieldAccess(x1, x2)) = -I + 0A · x1 + -I · x2
POL(23249_0_flatten_FieldAccess(x1, x2, x3, x4)) = 1A + 0A · x1 + -I · x2 + -I · x3 + -I · x4
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
6201_0_COUNT_NULL(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))) → 7650_1_COUNT_INVOKEMETHOD(7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0]))), java.lang.Object(Tree(java.lang.Object(x0[0]), x1[0])))
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1))) → 14185_0_flatten_NULL(NULL, java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 14185_0_flatten_NULL(x3, java.lang.Object(Tree(x0, java.lang.Object(Tree(x1, x2)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x1)), x0)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 22978_0_flatten_Store(x3, x0, x1, x2)
22978_0_flatten_Store(x0, x1, x2, x3) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24360_0_flatten_Store(java.lang.Object(Tree(NULL, x1)), x0)
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x1, java.lang.Object(Tree(NULL, x0))) → 24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x1)), java.lang.Object(Tree(NULL, x0)))
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1))) → 14185_0_flatten_NULL(java.lang.Object(Tree(NULL, x0)), x1)
14185_0_flatten_NULL(x3, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2))) → 23249_0_flatten_FieldAccess(x3, x0, x1, java.lang.Object(Tree(java.lang.Object(Tree(x0, x1)), x2)))
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3))) → 14185_0_flatten_NULL(x0, java.lang.Object(Tree(x1, java.lang.Object(Tree(x2, x3)))))
14185_0_flatten_NULL(x0, NULL) → 14759_0_flatten_Return(x0)
7650_0_flatten_ConstantStackPush(java.lang.Object(Tree(java.lang.Object(x0), x1)))
14185_0_flatten_NULL(x0, NULL)
14185_0_flatten_NULL(x0, java.lang.Object(Tree(NULL, x1)))
14185_0_flatten_NULL(x0, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
24360_0_flatten_Store(java.lang.Object(Tree(NULL, x0)), x1)
24267_0_flatten_FieldAccess(java.lang.Object(Tree(NULL, x0)), java.lang.Object(Tree(NULL, x1)))
22978_0_flatten_Store(x0, x1, x2, x3)
23249_0_flatten_FieldAccess(x0, x1, x2, java.lang.Object(Tree(java.lang.Object(Tree(x1, x2)), x3)))
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(0) -> (1), if ((x0[0] > 0 && 0 < x0[0] + -1 →* TRUE)∧(x0[0] →* x0[1]))
(1) -> (0), if ((x0[1] + -1 →* x0[0]))
(1) (&&(>(x0[0], 0), <(0, +(x0[0], -1)))=TRUE∧x0[0]=x0[1] ⇒ 29267_1_CREATETREE_INVOKEMETHOD(x0[0])≥NonInfC∧29267_1_CREATETREE_INVOKEMETHOD(x0[0])≥COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])∧(UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥))
(2) (>(x0[0], 0)=TRUE∧<(0, +(x0[0], -1))=TRUE ⇒ 29267_1_CREATETREE_INVOKEMETHOD(x0[0])≥NonInfC∧29267_1_CREATETREE_INVOKEMETHOD(x0[0])≥COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])∧(UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥))
(3) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(4) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(5) (x0[0] + [-1] ≥ 0∧x0[0] + [-2] ≥ 0 ⇒ (UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(6) (x0[0] ≥ 0∧[-1] + x0[0] ≥ 0 ⇒ (UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10 + (2)bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(7) ([1] + x0[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])), ≥)∧[(-1)Bound*bni_10 + (4)bni_10] + [(2)bni_10]x0[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(8) (COND_29267_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1])≥NonInfC∧COND_29267_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1])≥29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))∧(UIncreasing(29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥))
(9) ((UIncreasing(29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(10) ((UIncreasing(29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(11) ((UIncreasing(29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧[1 + (-1)bso_13] ≥ 0)
(12) ((UIncreasing(29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))), ≥)∧0 = 0∧[1 + (-1)bso_13] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(29267_1_CREATETREE_INVOKEMETHOD(x1)) = [2]x1
POL(COND_29267_1_CREATETREE_INVOKEMETHOD(x1, x2)) = [-1] + [2]x2
POL(&&(x1, x2)) = [-1]
POL(>(x1, x2)) = [-1]
POL(0) = 0
POL(<(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
29267_1_CREATETREE_INVOKEMETHOD(x0[0]) → COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])
COND_29267_1_CREATETREE_INVOKEMETHOD(TRUE, x0[1]) → 29267_1_CREATETREE_INVOKEMETHOD(+(x0[1], -1))
29267_1_CREATETREE_INVOKEMETHOD(x0[0]) → COND_29267_1_CREATETREE_INVOKEMETHOD(&&(>(x0[0], 0), <(0, +(x0[0], -1))), x0[0])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Integer