0 JBC
↳1 JBC2FIG (⇒)
↳2 JBCTerminationGraph
↳3 FIGtoITRSProof (⇒)
↳4 AND
↳5 IDP
↳6 IDPNonInfProof (⇒)
↳7 AND
↳8 IDP
↳9 IDPNonInfProof (⇒)
↳10 IDP
↳11 IDependencyGraphProof (⇔)
↳12 TRUE
↳13 IDP
↳14 IDPtoQDPProof (⇒)
↳15 QDP
↳16 UsableRulesProof (⇔)
↳17 QDP
↳18 QReductionProof (⇔)
↳19 QDP
↳20 QDPSizeChangeProof (⇔)
↳21 YES
↳22 IDP
↳23 IDPNonInfProof (⇒)
↳24 AND
↳25 IDP
↳26 IDependencyGraphProof (⇔)
↳27 TRUE
↳28 IDP
↳29 IDependencyGraphProof (⇔)
↳30 TRUE
public class AppE {
AppE next;
public static void main(String[] args) {
Random.args = args;
AppE list = createList();
list.appE(Random.random());
}
public void appE(int i) {
if (next == null) {
if (i <= 0) {
return;
} else {
next = new AppE();
}
i--;
}
next.appE(i);
}
public static AppE createList() {
AppE result = null;
int length = Random.random();
while (length > 0) {
result = new AppE(result);
length--;
}
return result;
}
public AppE() {
this.next = null;
}
public AppE(AppE n) {
this.next = n;
}
}
class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
Generated 36 rules for P and 22 rules for R.
Combined rules. Obtained 2 rules for P and 7 rules for R.
Filtered ground terms:
978_1_appE_InvokeMethod(x1, x2, x3) → 978_1_appE_InvokeMethod(x1, x3)
AppE(x1, x2) → AppE(x2)
534_0_appE_FieldAccess(x1, x2, x3, x4) → 534_0_appE_FieldAccess(x2, x3, x4)
Cond_534_0_appE_FieldAccess(x1, x2, x3, x4, x5) → Cond_534_0_appE_FieldAccess(x1, x4)
1042_0_appE_Return(x1) → 1042_0_appE_Return
1000_0_appE_Return(x1) → 1000_0_appE_Return
672_0_appE_Return(x1, x2, x3) → 672_0_appE_Return
759_0_appE_Return(x1) → 759_0_appE_Return
Filtered duplicate args:
534_0_appE_FieldAccess(x1, x2, x3) → 534_0_appE_FieldAccess(x2, x3)
Combined rules. Obtained 2 rules for P and 7 rules for R.
Finished conversion. Obtained 2 rules for P and 7 rules for R. System has predefined symbols.
Generated 17 rules for P and 3 rules for R.
Combined rules. Obtained 1 rules for P and 1 rules for R.
Filtered ground terms:
352_0_createList_LE(x1, x2, x3) → 352_0_createList_LE(x2, x3)
Cond_352_0_createList_LE(x1, x2, x3, x4) → Cond_352_0_createList_LE(x1, x3, x4)
378_0_createList_Return(x1) → 378_0_createList_Return
Filtered duplicate args:
352_0_createList_LE(x1, x2) → 352_0_createList_LE(x2)
Cond_352_0_createList_LE(x1, x2, x3) → Cond_352_0_createList_LE(x1, x3)
Combined rules. Obtained 1 rules for P and 1 rules for R.
Finished conversion. Obtained 1 rules for P and 1 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 |
Integer
(0) -> (0), if ((x1[0] →* x1[0]')∧(java.lang.Object(x0[0]) →* java.lang.Object(AppE(java.lang.Object(x0[0]')))))
(0) -> (1), if ((x1[0] →* x0[1])∧(java.lang.Object(x0[0]) →* java.lang.Object(AppE(NULL))))
(1) -> (2), if ((x0[1] > 0 →* TRUE)∧(x0[1] →* x0[2]))
(2) -> (0), if ((x0[2] + -1 →* x1[0])∧(java.lang.Object(AppE(NULL)) →* java.lang.Object(AppE(java.lang.Object(x0[0])))))
(2) -> (1), if (x0[2] + -1 →* x0[1])
(1) (x1[0]=x1[0]1∧java.lang.Object(x0[0])=java.lang.Object(AppE(java.lang.Object(x0[0]1)))∧x1[0]1=x1[0]2∧java.lang.Object(x0[0]1)=java.lang.Object(AppE(java.lang.Object(x0[0]2))) ⇒ 534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(2) (534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(java.lang.Object(x0[0]2))))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(java.lang.Object(x0[0]2))))))≥534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]2))))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(3) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[4 + (-1)bso_25] + [4]x0[0]2 ≥ 0)
(4) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[4 + (-1)bso_25] + [4]x0[0]2 ≥ 0)
(5) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[4 + (-1)bso_25] + [4]x0[0]2 ≥ 0)
(6) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧0 ≥ 0∧[4 + (-1)bso_25] ≥ 0∧[1] ≥ 0)
(7) (+(x0[2], -1)=x1[0]∧java.lang.Object(AppE(NULL))=java.lang.Object(AppE(java.lang.Object(x0[0])))∧x1[0]=x1[0]1∧java.lang.Object(x0[0])=java.lang.Object(AppE(java.lang.Object(x0[0]1))) ⇒ 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))), ≥))
(8) (x1[0]=x1[0]1∧java.lang.Object(x0[0])=java.lang.Object(AppE(java.lang.Object(x0[0]1)))∧x1[0]1=x0[1]∧java.lang.Object(x0[0]1)=java.lang.Object(AppE(NULL)) ⇒ 534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(9) (534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(NULL)))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(NULL)))))≥534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(10) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[2 + (-1)bso_25] ≥ 0)
(11) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[2 + (-1)bso_25] ≥ 0)
(12) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[2 + (-1)bso_25] ≥ 0)
(13) ((UIncreasing(534_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧0 ≥ 0∧[2 + (-1)bso_25] ≥ 0)
(14) (+(x0[2], -1)=x1[0]∧java.lang.Object(AppE(NULL))=java.lang.Object(AppE(java.lang.Object(x0[0])))∧x1[0]=x0[1]∧java.lang.Object(x0[0])=java.lang.Object(AppE(NULL)) ⇒ 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥NonInfC∧534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))∧(UIncreasing(534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))), ≥))
(15) (>(x0[1], 0)=TRUE∧x0[1]=x0[2] ⇒ 534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(16) (>(x0[1], 0)=TRUE ⇒ 534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(17) (0 ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_26 + (-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[(-1)bso_27] + x0[1] ≥ 0)
(18) (0 ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_26 + (-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[(-1)bso_27] + x0[1] ≥ 0)
(19) (0 ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_26 + (-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[(-1)bso_27] + x0[1] ≥ 0)
(20) (0 ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[bni_26] ≥ 0∧[(2)bni_26 + (-1)Bound*bni_26] ≥ 0∧[1] ≥ 0∧[(-1)bso_27] ≥ 0)
(21) (>(x0[1], 0)=TRUE∧x0[1]=x0[2]∧+(x0[2], -1)=x1[0]∧java.lang.Object(AppE(NULL))=java.lang.Object(AppE(java.lang.Object(x0[0]))) ⇒ COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(22) (>(x0[1], 0)=TRUE∧x0[1]=x0[2]∧+(x0[2], -1)=x0[1]1 ⇒ COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(23) (>(x0[1], 0)=TRUE ⇒ COND_534_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_534_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥534_0_APPE_FIELDACCESS(+(x0[1], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(24) (0 ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_28 + (-1)Bound*bni_28] ≥ 0∧[(-1)bso_29] ≥ 0)
(25) (0 ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_28 + (-1)Bound*bni_28] ≥ 0∧[(-1)bso_29] ≥ 0)
(26) (0 ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_28 + (-1)Bound*bni_28] ≥ 0∧[(-1)bso_29] ≥ 0)
(27) (0 ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧0 ≥ 0∧[(2)bni_28 + (-1)Bound*bni_28] ≥ 0∧0 ≥ 0∧[(-1)bso_29] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(707_1_appE_InvokeMethod(x1, x2, x3)) = 0
POL(672_0_appE_Return) = 0
POL(java.lang.Object(x1)) = [1] + [2]x1
POL(AppE(x1)) = x1
POL(NULL) = 0
POL(0) = 0
POL(759_0_appE_Return) = 0
POL(1042_0_appE_Return) = 0
POL(1000_0_appE_Return) = 0
POL(978_1_appE_InvokeMethod(x1, x2)) = 0
POL(534_0_APPE_FIELDACCESS(x1, x2)) = [1] + x2 + x1
POL(COND_534_0_APPE_FIELDACCESS(x1, x2, x3)) = [2]
POL(>(x1, x2)) = 0
POL(+(x1, x2)) = 0
POL(-1) = 0
534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
!= | ~ | 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
(2) -> (1), if (x0[2] + -1 →* x0[1])
(1) -> (2), if ((x0[1] > 0 →* TRUE)∧(x0[1] →* x0[2]))
(1) (>(x0[1], 0)=TRUE∧x0[1]=x0[2] ⇒ 534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(2) (>(x0[1], 0)=TRUE ⇒ 534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(3) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_27] + [bni_27]x0[1] ≥ 0∧[(-1)bso_28] ≥ 0)
(4) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_27] + [bni_27]x0[1] ≥ 0∧[(-1)bso_28] ≥ 0)
(5) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_27] + [bni_27]x0[1] ≥ 0∧[(-1)bso_28] ≥ 0)
(6) (x0[1] ≥ 0 ⇒ (UIncreasing(COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_27 + bni_27] + [bni_27]x0[1] ≥ 0∧[(-1)bso_28] ≥ 0)
(7) (>(x0[1], 0)=TRUE∧x0[1]=x0[2]∧+(x0[2], -1)=x0[1]1 ⇒ COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(8) (>(x0[1], 0)=TRUE ⇒ COND_534_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_534_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥534_0_APPE_FIELDACCESS(+(x0[1], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(9) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_29] + [bni_29]x0[1] ≥ 0∧[1 + (-1)bso_30] ≥ 0)
(10) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_29] + [bni_29]x0[1] ≥ 0∧[1 + (-1)bso_30] ≥ 0)
(11) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_29] + [bni_29]x0[1] ≥ 0∧[1 + (-1)bso_30] ≥ 0)
(12) (x0[1] ≥ 0 ⇒ (UIncreasing(534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_29 + bni_29] + [bni_29]x0[1] ≥ 0∧[1 + (-1)bso_30] ≥ 0)
POL(TRUE) = [3]
POL(FALSE) = 0
POL(707_1_appE_InvokeMethod(x1, x2, x3)) = [-1] + [-1]x3 + [-1]x2 + [-1]x1
POL(672_0_appE_Return) = [-1]
POL(java.lang.Object(x1)) = [-1] + [-1]x1
POL(AppE(x1)) = [-1] + [-1]x1
POL(NULL) = [-1]
POL(0) = 0
POL(759_0_appE_Return) = [-1]
POL(1042_0_appE_Return) = [-1]
POL(1000_0_appE_Return) = [-1]
POL(978_1_appE_InvokeMethod(x1, x2)) = [-1] + [-1]x2 + [-1]x1
POL(534_0_APPE_FIELDACCESS(x1, x2)) = [-1] + [-1]x2 + x1
POL(COND_534_0_APPE_FIELDACCESS(x1, x2, x3)) = [-1] + [-1]x3 + x2
POL(>(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_534_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 534_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
534_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_534_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
!= | ~ | 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
!= | ~ | 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) -> (0), if ((x1[0] →* x1[0]')∧(java.lang.Object(x0[0]) →* java.lang.Object(AppE(java.lang.Object(x0[0]')))))
534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
707_1_appE_InvokeMethod(672_0_appE_Return, java.lang.Object(AppE(NULL)), pos(01)) → 759_0_appE_Return
707_1_appE_InvokeMethod(759_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), pos(01)) → 1042_0_appE_Return
707_1_appE_InvokeMethod(1000_0_appE_Return, java.lang.Object(x0), x1) → 1042_0_appE_Return
707_1_appE_InvokeMethod(1042_0_appE_Return, java.lang.Object(x0), x1) → 1042_0_appE_Return
978_1_appE_InvokeMethod(672_0_appE_Return, pos(01)) → 1000_0_appE_Return
978_1_appE_InvokeMethod(1000_0_appE_Return, x0) → 1042_0_appE_Return
978_1_appE_InvokeMethod(1042_0_appE_Return, x0) → 1042_0_appE_Return
707_1_appE_InvokeMethod(672_0_appE_Return, java.lang.Object(AppE(NULL)), pos(01))
707_1_appE_InvokeMethod(759_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), pos(01))
707_1_appE_InvokeMethod(1000_0_appE_Return, java.lang.Object(x0), x1)
707_1_appE_InvokeMethod(1042_0_appE_Return, java.lang.Object(x0), x1)
978_1_appE_InvokeMethod(672_0_appE_Return, pos(01))
978_1_appE_InvokeMethod(1000_0_appE_Return, x0)
978_1_appE_InvokeMethod(1042_0_appE_Return, x0)
534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
707_1_appE_InvokeMethod(672_0_appE_Return, java.lang.Object(AppE(NULL)), pos(01))
707_1_appE_InvokeMethod(759_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), pos(01))
707_1_appE_InvokeMethod(1000_0_appE_Return, java.lang.Object(x0), x1)
707_1_appE_InvokeMethod(1042_0_appE_Return, java.lang.Object(x0), x1)
978_1_appE_InvokeMethod(672_0_appE_Return, pos(01))
978_1_appE_InvokeMethod(1000_0_appE_Return, x0)
978_1_appE_InvokeMethod(1042_0_appE_Return, x0)
707_1_appE_InvokeMethod(672_0_appE_Return, java.lang.Object(AppE(NULL)), pos(01))
707_1_appE_InvokeMethod(759_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), pos(01))
707_1_appE_InvokeMethod(1000_0_appE_Return, java.lang.Object(x0), x1)
707_1_appE_InvokeMethod(1042_0_appE_Return, java.lang.Object(x0), x1)
978_1_appE_InvokeMethod(672_0_appE_Return, pos(01))
978_1_appE_InvokeMethod(1000_0_appE_Return, x0)
978_1_appE_InvokeMethod(1042_0_appE_Return, x0)
534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 534_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
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 |
Integer
(0) -> (1), if ((x0[0] > 0 →* TRUE)∧(x0[0] →* x0[1]))
(1) -> (0), if ((x0[1] + -1 →* x0[0]))
(1) (>(x0[0], 0)=TRUE∧x0[0]=x0[1] ⇒ 352_0_CREATELIST_LE(x0[0])≥NonInfC∧352_0_CREATELIST_LE(x0[0])≥COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(2) (>(x0[0], 0)=TRUE ⇒ 352_0_CREATELIST_LE(x0[0])≥NonInfC∧352_0_CREATELIST_LE(x0[0])≥COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(3) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(4) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(5) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_10] + [(2)bni_10]x0[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(6) (x0[0] ≥ 0 ⇒ (UIncreasing(COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_10 + (2)bni_10] + [(2)bni_10]x0[0] ≥ 0∧[(-1)bso_11] ≥ 0)
(7) (COND_352_0_CREATELIST_LE(TRUE, x0[1])≥NonInfC∧COND_352_0_CREATELIST_LE(TRUE, x0[1])≥352_0_CREATELIST_LE(+(x0[1], -1))∧(UIncreasing(352_0_CREATELIST_LE(+(x0[1], -1))), ≥))
(8) ((UIncreasing(352_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[2 + (-1)bso_13] ≥ 0)
(9) ((UIncreasing(352_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[2 + (-1)bso_13] ≥ 0)
(10) ((UIncreasing(352_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[2 + (-1)bso_13] ≥ 0)
(11) ((UIncreasing(352_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧0 = 0∧[2 + (-1)bso_13] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(352_0_createList_LE(x1)) = [-1]
POL(0) = 0
POL(378_0_createList_Return) = [-1]
POL(352_0_CREATELIST_LE(x1)) = [2]x1
POL(COND_352_0_CREATELIST_LE(x1, x2)) = [2]x2
POL(>(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
COND_352_0_CREATELIST_LE(TRUE, x0[1]) → 352_0_CREATELIST_LE(+(x0[1], -1))
352_0_CREATELIST_LE(x0[0]) → COND_352_0_CREATELIST_LE(>(x0[0], 0), x0[0])
352_0_CREATELIST_LE(x0[0]) → COND_352_0_CREATELIST_LE(>(x0[0], 0), 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
!= | ~ | 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