0 JBC
↳1 JBCToGraph (⇒, 340 ms)
↳2 JBCTerminationGraph
↳3 TerminationGraphToSCCProof (⇒, 0 ms)
↳4 AND
↳5 JBCTerminationSCC
↳6 SCCToIDPv1Proof (⇒, 100 ms)
↳7 IDP
↳8 IDPNonInfProof (⇒, 140 ms)
↳9 AND
↳10 IDP
↳11 IDependencyGraphProof (⇔, 0 ms)
↳12 TRUE
↳13 IDP
↳14 IDependencyGraphProof (⇔, 0 ms)
↳15 TRUE
↳16 JBCTerminationSCC
↳17 SCCToIDPv1Proof (⇒, 120 ms)
↳18 IDP
↳19 IDPtoQDPProof (⇒, 10 ms)
↳20 QDP
↳21 QDPSizeChangeProof (⇔, 0 ms)
↳22 YES
public class ObjectList {
Object value;
ObjectList next;
public ObjectList(Object value, ObjectList next) {
this.value = value;
this.next = next;
}
public static ObjectList createList() {
ObjectList result = null;
int length = Random.random();
while (length > 0) {
result = new ObjectList(new Object(), result);
length--;
}
return result;
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
/**
* Allegedly based on an interview question at Microsoft.
*/
public class RunningPointers {
public static boolean isCyclic(ObjectList l) {
if (l == null) {
return false;
}
ObjectList l1, l2;
l1 = l;
l2 = l.next;
while (l2 != null && l1 != l2) {
l2 = l2.next;
if (l2 == null) {
return false;
}
else if (l2 == l1) {
return true;
}
else {
l2 = l2.next;
}
l1 = l1.next;
}
return l2 != null;
}
public static void main(String[] args) {
Random.args = args;
ObjectList list = ObjectList.createList();
isCyclic(list);
}
}
Generated 23 rules for P and 0 rules for R.
P rules:
362_0_createList_LE(EOS(STATIC_362), i37, i37) → 365_0_createList_LE(EOS(STATIC_365), i37, i37)
365_0_createList_LE(EOS(STATIC_365), i37, i37) → 369_0_createList_New(EOS(STATIC_369), i37) | >(i37, 0)
369_0_createList_New(EOS(STATIC_369), i37) → 373_0_createList_Duplicate(EOS(STATIC_373), i37)
373_0_createList_Duplicate(EOS(STATIC_373), i37) → 375_0_createList_New(EOS(STATIC_375), i37)
375_0_createList_New(EOS(STATIC_375), i37) → 380_0_createList_Duplicate(EOS(STATIC_380), i37)
380_0_createList_Duplicate(EOS(STATIC_380), i37) → 388_0_createList_InvokeMethod(EOS(STATIC_388), i37)
388_0_createList_InvokeMethod(EOS(STATIC_388), i37) → 393_0_createList_Load(EOS(STATIC_393), i37)
393_0_createList_Load(EOS(STATIC_393), i37) → 397_0_createList_InvokeMethod(EOS(STATIC_397), i37)
397_0_createList_InvokeMethod(EOS(STATIC_397), i37) → 400_0_<init>_Load(EOS(STATIC_400), i37)
400_0_<init>_Load(EOS(STATIC_400), i37) → 405_0_<init>_InvokeMethod(EOS(STATIC_405), i37)
405_0_<init>_InvokeMethod(EOS(STATIC_405), i37) → 409_0_<init>_Load(EOS(STATIC_409), i37)
409_0_<init>_Load(EOS(STATIC_409), i37) → 414_0_<init>_Load(EOS(STATIC_414), i37)
414_0_<init>_Load(EOS(STATIC_414), i37) → 420_0_<init>_FieldAccess(EOS(STATIC_420), i37)
420_0_<init>_FieldAccess(EOS(STATIC_420), i37) → 427_0_<init>_Load(EOS(STATIC_427), i37)
427_0_<init>_Load(EOS(STATIC_427), i37) → 433_0_<init>_Load(EOS(STATIC_433), i37)
433_0_<init>_Load(EOS(STATIC_433), i37) → 439_0_<init>_FieldAccess(EOS(STATIC_439), i37)
439_0_<init>_FieldAccess(EOS(STATIC_439), i37) → 446_0_<init>_Return(EOS(STATIC_446), i37)
446_0_<init>_Return(EOS(STATIC_446), i37) → 450_0_createList_Store(EOS(STATIC_450), i37)
450_0_createList_Store(EOS(STATIC_450), i37) → 454_0_createList_Inc(EOS(STATIC_454), i37)
454_0_createList_Inc(EOS(STATIC_454), i37) → 457_0_createList_JMP(EOS(STATIC_457), +(i37, -1)) | >(i37, 0)
457_0_createList_JMP(EOS(STATIC_457), i43) → 463_0_createList_Load(EOS(STATIC_463), i43)
463_0_createList_Load(EOS(STATIC_463), i43) → 360_0_createList_Load(EOS(STATIC_360), i43)
360_0_createList_Load(EOS(STATIC_360), i34) → 362_0_createList_LE(EOS(STATIC_362), i34, i34)
R rules:
Combined rules. Obtained 1 conditional rules for P and 0 conditional rules for R.
P rules:
362_0_createList_LE(EOS(STATIC_362), x0, x0) → 362_0_createList_LE(EOS(STATIC_362), +(x0, -1), +(x0, -1)) | >(x0, 0)
R rules:
Filtered ground terms:
362_0_createList_LE(x1, x2, x3) → 362_0_createList_LE(x2, x3)
EOS(x1) → EOS
Cond_362_0_createList_LE(x1, x2, x3, x4) → Cond_362_0_createList_LE(x1, x3, x4)
Filtered duplicate args:
362_0_createList_LE(x1, x2) → 362_0_createList_LE(x2)
Cond_362_0_createList_LE(x1, x2, x3) → Cond_362_0_createList_LE(x1, x3)
Combined rules. Obtained 1 conditional rules for P and 0 conditional rules for R.
P rules:
362_0_createList_LE(x0) → 362_0_createList_LE(+(x0, -1)) | >(x0, 0)
R rules:
Finished conversion. Obtained 2 rules for P and 0 rules for R. System has predefined symbols.
P rules:
362_0_CREATELIST_LE(x0) → COND_362_0_CREATELIST_LE(>(x0, 0), x0)
COND_362_0_CREATELIST_LE(TRUE, x0) → 362_0_CREATELIST_LE(+(x0, -1))
R rules:
!= | ~ | 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 ∧x0[0] →* x0[1])
(1) -> (0), if (x0[1] + -1 →* x0[0])
(1) (>(x0[0], 0)=TRUE∧x0[0]=x0[1] ⇒ 362_0_CREATELIST_LE(x0[0])≥NonInfC∧362_0_CREATELIST_LE(x0[0])≥COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(2) (>(x0[0], 0)=TRUE ⇒ 362_0_CREATELIST_LE(x0[0])≥NonInfC∧362_0_CREATELIST_LE(x0[0])≥COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(3) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_8] + [(2)bni_8]x0[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(4) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_8] + [(2)bni_8]x0[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(5) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_8] + [(2)bni_8]x0[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(6) (x0[0] ≥ 0 ⇒ (UIncreasing(COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥)∧[(-1)Bound*bni_8 + (2)bni_8] + [(2)bni_8]x0[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(7) (COND_362_0_CREATELIST_LE(TRUE, x0[1])≥NonInfC∧COND_362_0_CREATELIST_LE(TRUE, x0[1])≥362_0_CREATELIST_LE(+(x0[1], -1))∧(UIncreasing(362_0_CREATELIST_LE(+(x0[1], -1))), ≥))
(8) ((UIncreasing(362_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(9) ((UIncreasing(362_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(10) ((UIncreasing(362_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(11) ((UIncreasing(362_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧0 = 0∧[2 + (-1)bso_11] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(362_0_CREATELIST_LE(x1)) = [2]x1
POL(COND_362_0_CREATELIST_LE(x1, x2)) = [2]x2
POL(>(x1, x2)) = [-1]
POL(0) = 0
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
COND_362_0_CREATELIST_LE(TRUE, x0[1]) → 362_0_CREATELIST_LE(+(x0[1], -1))
362_0_CREATELIST_LE(x0[0]) → COND_362_0_CREATELIST_LE(>(x0[0], 0), x0[0])
362_0_CREATELIST_LE(x0[0]) → COND_362_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
Generated 35 rules for P and 0 rules for R.
P rules:
818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), java.lang.Object(o269sub)) → 819_0_isCyclic_NULL(EOS(STATIC_819), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), java.lang.Object(o269sub))
819_0_isCyclic_NULL(EOS(STATIC_819), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), java.lang.Object(o269sub)) → 821_0_isCyclic_Load(EOS(STATIC_821), java.lang.Object(o259sub), o257, java.lang.Object(o269sub))
821_0_isCyclic_Load(EOS(STATIC_821), java.lang.Object(o259sub), o257, java.lang.Object(o269sub)) → 823_0_isCyclic_Load(EOS(STATIC_823), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), o257)
823_0_isCyclic_Load(EOS(STATIC_823), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), o257) → 827_0_isCyclic_EQ(EOS(STATIC_827), java.lang.Object(o259sub), o257, java.lang.Object(o269sub), o257, java.lang.Object(o269sub))
827_0_isCyclic_EQ(EOS(STATIC_827), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub), java.lang.Object(o271sub), java.lang.Object(o269sub)) → 830_0_isCyclic_EQ(EOS(STATIC_830), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub), java.lang.Object(o271sub), java.lang.Object(o269sub))
830_0_isCyclic_EQ(EOS(STATIC_830), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub), java.lang.Object(o271sub), java.lang.Object(o269sub)) → 836_0_isCyclic_EQ(EOS(STATIC_836), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub), java.lang.Object(o271sub), java.lang.Object(o269sub))
836_0_isCyclic_EQ(EOS(STATIC_836), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub), java.lang.Object(o271sub), java.lang.Object(o269sub)) → 843_0_isCyclic_Load(EOS(STATIC_843), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub))
843_0_isCyclic_Load(EOS(STATIC_843), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub)) → 852_0_isCyclic_FieldAccess(EOS(STATIC_852), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o269sub))
852_0_isCyclic_FieldAccess(EOS(STATIC_852), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o294))) → 859_0_isCyclic_FieldAccess(EOS(STATIC_859), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o294)))
859_0_isCyclic_FieldAccess(EOS(STATIC_859), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o294))) → 864_0_isCyclic_Store(EOS(STATIC_864), java.lang.Object(o259sub), java.lang.Object(o271sub), o294)
864_0_isCyclic_Store(EOS(STATIC_864), java.lang.Object(o259sub), java.lang.Object(o271sub), o294) → 870_0_isCyclic_Load(EOS(STATIC_870), java.lang.Object(o259sub), java.lang.Object(o271sub), o294)
870_0_isCyclic_Load(EOS(STATIC_870), java.lang.Object(o259sub), java.lang.Object(o271sub), o294) → 876_0_isCyclic_NONNULL(EOS(STATIC_876), java.lang.Object(o259sub), java.lang.Object(o271sub), o294, o294)
876_0_isCyclic_NONNULL(EOS(STATIC_876), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub)) → 883_0_isCyclic_NONNULL(EOS(STATIC_883), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub))
883_0_isCyclic_NONNULL(EOS(STATIC_883), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub)) → 892_0_isCyclic_Load(EOS(STATIC_892), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub))
892_0_isCyclic_Load(EOS(STATIC_892), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub)) → 901_0_isCyclic_Load(EOS(STATIC_901), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub))
901_0_isCyclic_Load(EOS(STATIC_901), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub)) → 909_0_isCyclic_NE(EOS(STATIC_909), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub), java.lang.Object(o271sub))
909_0_isCyclic_NE(EOS(STATIC_909), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub), java.lang.Object(o309sub), java.lang.Object(o271sub)) → 917_0_isCyclic_Load(EOS(STATIC_917), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub))
917_0_isCyclic_Load(EOS(STATIC_917), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub)) → 924_0_isCyclic_FieldAccess(EOS(STATIC_924), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(o309sub))
924_0_isCyclic_FieldAccess(EOS(STATIC_924), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o345))) → 929_0_isCyclic_FieldAccess(EOS(STATIC_929), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o345)))
929_0_isCyclic_FieldAccess(EOS(STATIC_929), java.lang.Object(o259sub), java.lang.Object(o271sub), java.lang.Object(ObjectList(EOC, o345))) → 933_0_isCyclic_Store(EOS(STATIC_933), java.lang.Object(o259sub), java.lang.Object(o271sub), o345)
933_0_isCyclic_Store(EOS(STATIC_933), java.lang.Object(o259sub), java.lang.Object(o271sub), o345) → 936_0_isCyclic_Load(EOS(STATIC_936), java.lang.Object(o259sub), java.lang.Object(o271sub), o345)
936_0_isCyclic_Load(EOS(STATIC_936), java.lang.Object(o259sub), java.lang.Object(o271sub), o345) → 941_0_isCyclic_FieldAccess(EOS(STATIC_941), java.lang.Object(o259sub), o345, java.lang.Object(o271sub))
941_0_isCyclic_FieldAccess(EOS(STATIC_941), java.lang.Object(o259sub), o345, java.lang.Object(o271sub)) → 945_0_isCyclic_FieldAccess(EOS(STATIC_945), java.lang.Object(o259sub), o345, java.lang.Object(o271sub))
941_0_isCyclic_FieldAccess(EOS(STATIC_941), java.lang.Object(o259sub), o345, java.lang.Object(o259sub)) → 947_0_isCyclic_FieldAccess(EOS(STATIC_947), java.lang.Object(o259sub), o345, java.lang.Object(o259sub))
945_0_isCyclic_FieldAccess(EOS(STATIC_945), java.lang.Object(o259sub), o345, java.lang.Object(ObjectList(EOC, o359))) → 950_0_isCyclic_FieldAccess(EOS(STATIC_950), java.lang.Object(o259sub), o345, java.lang.Object(ObjectList(EOC, o359)))
950_0_isCyclic_FieldAccess(EOS(STATIC_950), java.lang.Object(o259sub), o345, java.lang.Object(ObjectList(EOC, o359))) → 954_0_isCyclic_Store(EOS(STATIC_954), java.lang.Object(o259sub), o345, o359)
954_0_isCyclic_Store(EOS(STATIC_954), java.lang.Object(o259sub), o345, o359) → 959_0_isCyclic_JMP(EOS(STATIC_959), java.lang.Object(o259sub), o359, o345)
959_0_isCyclic_JMP(EOS(STATIC_959), java.lang.Object(o259sub), o359, o345) → 966_0_isCyclic_Load(EOS(STATIC_966), java.lang.Object(o259sub), o359, o345)
966_0_isCyclic_Load(EOS(STATIC_966), java.lang.Object(o259sub), o359, o345) → 817_0_isCyclic_Load(EOS(STATIC_817), java.lang.Object(o259sub), o359, o345)
817_0_isCyclic_Load(EOS(STATIC_817), java.lang.Object(o259sub), o257, o258) → 818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(o259sub), o257, o258, o258)
947_0_isCyclic_FieldAccess(EOS(STATIC_947), java.lang.Object(ObjectList(EOC, o362)), o345, java.lang.Object(ObjectList(EOC, o362))) → 952_0_isCyclic_FieldAccess(EOS(STATIC_952), java.lang.Object(ObjectList(EOC, o362)), o345, java.lang.Object(ObjectList(EOC, o362)))
952_0_isCyclic_FieldAccess(EOS(STATIC_952), java.lang.Object(ObjectList(EOC, o362)), o345, java.lang.Object(ObjectList(EOC, o362))) → 956_0_isCyclic_Store(EOS(STATIC_956), java.lang.Object(ObjectList(EOC, o362)), o345, o362)
956_0_isCyclic_Store(EOS(STATIC_956), java.lang.Object(ObjectList(EOC, o362)), o345, o362) → 961_0_isCyclic_JMP(EOS(STATIC_961), java.lang.Object(ObjectList(EOC, o362)), o362, o345)
961_0_isCyclic_JMP(EOS(STATIC_961), java.lang.Object(ObjectList(EOC, o362)), o362, o345) → 970_0_isCyclic_Load(EOS(STATIC_970), java.lang.Object(ObjectList(EOC, o362)), o362, o345)
970_0_isCyclic_Load(EOS(STATIC_970), java.lang.Object(ObjectList(EOC, o362)), o362, o345) → 817_0_isCyclic_Load(EOS(STATIC_817), java.lang.Object(ObjectList(EOC, o362)), o362, o345)
R rules:
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(x0), java.lang.Object(ObjectList(EOC, x1)), java.lang.Object(ObjectList(EOC, java.lang.Object(ObjectList(EOC, x2)))), java.lang.Object(ObjectList(EOC, java.lang.Object(ObjectList(EOC, x2))))) → 818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(x0), x1, x2, x2)
818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(ObjectList(EOC, x0)), java.lang.Object(ObjectList(EOC, x0)), java.lang.Object(ObjectList(EOC, java.lang.Object(ObjectList(EOC, x1)))), java.lang.Object(ObjectList(EOC, java.lang.Object(ObjectList(EOC, x1))))) → 818_0_isCyclic_NULL(EOS(STATIC_818), java.lang.Object(ObjectList(EOC, x0)), x0, x1, x1)
R rules:
Filtered ground terms:
818_0_isCyclic_NULL(x1, x2, x3, x4, x5) → 818_0_isCyclic_NULL(x2, x3, x4, x5)
ObjectList(x1, x2) → ObjectList(x2)
EOS(x1) → EOS
Filtered duplicate args:
818_0_isCyclic_NULL(x1, x2, x3, x4) → 818_0_isCyclic_NULL(x1, x2, x4)
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
818_0_isCyclic_NULL(java.lang.Object(x0), java.lang.Object(ObjectList(x1)), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x2))))) → 818_0_isCyclic_NULL(java.lang.Object(x0), x1, x2)
818_0_isCyclic_NULL(java.lang.Object(ObjectList(x0)), java.lang.Object(ObjectList(x0)), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x1))))) → 818_0_isCyclic_NULL(java.lang.Object(ObjectList(x0)), x0, x1)
R rules:
Finished conversion. Obtained 2 rules for P and 0 rules for R. System has no predefined symbols.
P rules:
818_0_ISCYCLIC_NULL(java.lang.Object(x0), java.lang.Object(ObjectList(x1)), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x2))))) → 818_0_ISCYCLIC_NULL(java.lang.Object(x0), x1, x2)
818_0_ISCYCLIC_NULL(java.lang.Object(ObjectList(x0)), java.lang.Object(ObjectList(x0)), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x1))))) → 818_0_ISCYCLIC_NULL(java.lang.Object(ObjectList(x0)), x0, x1)
R rules:
!= | ~ | 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 (java.lang.Object(x0[0]) →* java.lang.Object(x0[0]')∧x1[0] →* java.lang.Object(ObjectList(x1[0]'))∧x2[0] →* java.lang.Object(ObjectList(java.lang.Object(ObjectList(x2[0]')))))
(0) -> (1), if (java.lang.Object(x0[0]) →* java.lang.Object(ObjectList(x0[1]))∧x1[0] →* java.lang.Object(ObjectList(x0[1]))∧x2[0] →* java.lang.Object(ObjectList(java.lang.Object(ObjectList(x1[1])))))
(1) -> (0), if (java.lang.Object(ObjectList(x0[1])) →* java.lang.Object(x0[0])∧x0[1] →* java.lang.Object(ObjectList(x1[0]))∧x1[1] →* java.lang.Object(ObjectList(java.lang.Object(ObjectList(x2[0])))))
(1) -> (1), if (java.lang.Object(ObjectList(x0[1])) →* java.lang.Object(ObjectList(x0[1]'))∧x0[1] →* java.lang.Object(ObjectList(x0[1]'))∧x1[1] →* java.lang.Object(ObjectList(java.lang.Object(ObjectList(x1[1]')))))
818_0_ISCYCLIC_NULL(java.lang.Object(x0[0]), java.lang.Object(ObjectList(x1[0])), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x2[0]))))) → 818_0_ISCYCLIC_NULL(java.lang.Object(x0[0]), x1[0], x2[0])
818_0_ISCYCLIC_NULL(java.lang.Object(ObjectList(x0[1])), java.lang.Object(ObjectList(x0[1])), java.lang.Object(ObjectList(java.lang.Object(ObjectList(x1[1]))))) → 818_0_ISCYCLIC_NULL(java.lang.Object(ObjectList(x0[1])), x0[1], x1[1])
From the DPs we obtained the following set of size-change graphs: