0 JBC
↳1 JBCToGraph (⇒, 260 ms)
↳2 JBCTerminationGraph
↳3 TerminationGraphToSCCProof (⇒, 0 ms)
↳4 AND
↳5 JBCTerminationSCC
↳6 SCCToIDPv1Proof (⇒, 450 ms)
↳7 IDP
↳8 IDPNonInfProof (⇒, 250 ms)
↳9 AND
↳10 IDP
↳11 IDPNonInfProof (⇒, 410 ms)
↳12 IDP
↳13 IDependencyGraphProof (⇔, 0 ms)
↳14 TRUE
↳15 IDP
↳16 IDPtoQDPProof (⇒, 0 ms)
↳17 QDP
↳18 UsableRulesProof (⇔, 0 ms)
↳19 QDP
↳20 QReductionProof (⇔, 0 ms)
↳21 QDP
↳22 QDPSizeChangeProof (⇔, 0 ms)
↳23 YES
↳24 JBCTerminationSCC
↳25 SCCToIDPv1Proof (⇒, 130 ms)
↳26 IDP
↳27 IDPNonInfProof (⇒, 180 ms)
↳28 AND
↳29 IDP
↳30 IDependencyGraphProof (⇔, 0 ms)
↳31 TRUE
↳32 IDP
↳33 IDependencyGraphProof (⇔, 0 ms)
↳34 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 34 rules for P and 23 rules for R.
P rules:
554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(AppE(EOC, o99)), i67, java.lang.Object(AppE(EOC, o99))) → 562_0_appE_FieldAccess(EOS(STATIC_562), java.lang.Object(AppE(EOC, o99)), i67, java.lang.Object(AppE(EOC, o99)))
562_0_appE_FieldAccess(EOS(STATIC_562), java.lang.Object(AppE(EOC, o99)), i67, java.lang.Object(AppE(EOC, o99))) → 570_0_appE_NONNULL(EOS(STATIC_570), java.lang.Object(AppE(EOC, o99)), i67, o99)
570_0_appE_NONNULL(EOS(STATIC_570), java.lang.Object(AppE(EOC, java.lang.Object(o102sub))), i67, java.lang.Object(o102sub)) → 580_0_appE_NONNULL(EOS(STATIC_580), java.lang.Object(AppE(EOC, java.lang.Object(o102sub))), i67, java.lang.Object(o102sub))
570_0_appE_NONNULL(EOS(STATIC_570), java.lang.Object(AppE(EOC, NULL)), i67, NULL) → 581_0_appE_NONNULL(EOS(STATIC_581), java.lang.Object(AppE(EOC, NULL)), i67, NULL)
580_0_appE_NONNULL(EOS(STATIC_580), java.lang.Object(AppE(EOC, java.lang.Object(o102sub))), i67, java.lang.Object(o102sub)) → 589_0_appE_Load(EOS(STATIC_589), java.lang.Object(AppE(EOC, java.lang.Object(o102sub))), i67)
589_0_appE_Load(EOS(STATIC_589), java.lang.Object(AppE(EOC, java.lang.Object(o102sub))), i67) → 597_0_appE_FieldAccess(EOS(STATIC_597), i67, java.lang.Object(AppE(EOC, java.lang.Object(o102sub))))
597_0_appE_FieldAccess(EOS(STATIC_597), i67, java.lang.Object(AppE(EOC, java.lang.Object(o102sub)))) → 609_0_appE_Load(EOS(STATIC_609), i67, java.lang.Object(o102sub))
609_0_appE_Load(EOS(STATIC_609), i67, java.lang.Object(o102sub)) → 621_0_appE_InvokeMethod(EOS(STATIC_621), java.lang.Object(o102sub), i67)
621_0_appE_InvokeMethod(EOS(STATIC_621), java.lang.Object(o102sub), i67) → 630_1_appE_InvokeMethod(630_0_appE_Load(EOS(STATIC_630), java.lang.Object(o102sub), i67), java.lang.Object(o102sub), i67)
630_0_appE_Load(EOS(STATIC_630), java.lang.Object(o102sub), i67) → 641_0_appE_Load(EOS(STATIC_641), java.lang.Object(o102sub), i67)
641_0_appE_Load(EOS(STATIC_641), java.lang.Object(o102sub), i67) → 546_0_appE_Load(EOS(STATIC_546), java.lang.Object(o102sub), i67)
546_0_appE_Load(EOS(STATIC_546), java.lang.Object(o93sub), i67) → 554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(o93sub), i67, java.lang.Object(o93sub))
581_0_appE_NONNULL(EOS(STATIC_581), java.lang.Object(AppE(EOC, NULL)), i67, NULL) → 591_0_appE_Load(EOS(STATIC_591), java.lang.Object(AppE(EOC, NULL)), i67)
591_0_appE_Load(EOS(STATIC_591), java.lang.Object(AppE(EOC, NULL)), i67) → 600_0_appE_GT(EOS(STATIC_600), java.lang.Object(AppE(EOC, NULL)), i67, i67)
600_0_appE_GT(EOS(STATIC_600), java.lang.Object(AppE(EOC, NULL)), i74, i74) → 612_0_appE_GT(EOS(STATIC_612), java.lang.Object(AppE(EOC, NULL)), i74, i74)
612_0_appE_GT(EOS(STATIC_612), java.lang.Object(AppE(EOC, NULL)), i74, i74) → 624_0_appE_Load(EOS(STATIC_624), java.lang.Object(AppE(EOC, NULL)), i74) | >(i74, 0)
624_0_appE_Load(EOS(STATIC_624), java.lang.Object(AppE(EOC, NULL)), i74) → 634_0_appE_New(EOS(STATIC_634), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)))
634_0_appE_New(EOS(STATIC_634), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL))) → 648_0_appE_Duplicate(EOS(STATIC_648), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
648_0_appE_Duplicate(EOS(STATIC_648), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 657_0_appE_InvokeMethod(EOS(STATIC_657), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
657_0_appE_InvokeMethod(EOS(STATIC_657), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 673_0_<init>_Load(EOS(STATIC_673), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
673_0_<init>_Load(EOS(STATIC_673), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 695_0_<init>_InvokeMethod(EOS(STATIC_695), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
695_0_<init>_InvokeMethod(EOS(STATIC_695), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 702_0_<init>_Load(EOS(STATIC_702), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
702_0_<init>_Load(EOS(STATIC_702), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 711_0_<init>_ConstantStackPush(EOS(STATIC_711), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
711_0_<init>_ConstantStackPush(EOS(STATIC_711), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 718_0_<init>_FieldAccess(EOS(STATIC_718), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), NULL)
718_0_<init>_FieldAccess(EOS(STATIC_718), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), NULL) → 729_0_<init>_Return(EOS(STATIC_729), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
729_0_<init>_Return(EOS(STATIC_729), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 736_0_appE_FieldAccess(EOS(STATIC_736), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL)))
736_0_appE_FieldAccess(EOS(STATIC_736), java.lang.Object(AppE(EOC, NULL)), i74, java.lang.Object(AppE(EOC, NULL)), java.lang.Object(AppE(EOC, NULL))) → 754_0_appE_Inc(EOS(STATIC_754), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i74)
754_0_appE_Inc(EOS(STATIC_754), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i74) → 771_0_appE_Load(EOS(STATIC_771), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), +(i74, -1)) | >(i74, 0)
771_0_appE_Load(EOS(STATIC_771), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i97) → 782_0_appE_FieldAccess(EOS(STATIC_782), i97, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))))
782_0_appE_FieldAccess(EOS(STATIC_782), i97, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL))))) → 788_0_appE_Load(EOS(STATIC_788), i97, java.lang.Object(AppE(EOC, NULL)))
788_0_appE_Load(EOS(STATIC_788), i97, java.lang.Object(AppE(EOC, NULL))) → 801_0_appE_InvokeMethod(EOS(STATIC_801), java.lang.Object(AppE(EOC, NULL)), i97)
801_0_appE_InvokeMethod(EOS(STATIC_801), java.lang.Object(AppE(EOC, NULL)), i97) → 811_1_appE_InvokeMethod(811_0_appE_Load(EOS(STATIC_811), java.lang.Object(AppE(EOC, NULL)), i97), java.lang.Object(AppE(EOC, NULL)), i97)
811_0_appE_Load(EOS(STATIC_811), java.lang.Object(AppE(EOC, NULL)), i97) → 814_0_appE_Load(EOS(STATIC_814), java.lang.Object(AppE(EOC, NULL)), i97)
814_0_appE_Load(EOS(STATIC_814), java.lang.Object(AppE(EOC, NULL)), i97) → 546_0_appE_Load(EOS(STATIC_546), java.lang.Object(AppE(EOC, NULL)), i97)
R rules:
600_0_appE_GT(EOS(STATIC_600), java.lang.Object(AppE(EOC, NULL)), matching1, matching2) → 611_0_appE_GT(EOS(STATIC_611), java.lang.Object(AppE(EOC, NULL)), 0, 0) | &&(=(matching1, 0), =(matching2, 0))
611_0_appE_GT(EOS(STATIC_611), java.lang.Object(AppE(EOC, NULL)), matching1, matching2) → 623_0_appE_Return(EOS(STATIC_623), java.lang.Object(AppE(EOC, NULL)), 0) | &&(&&(<=(0, 0), =(matching1, 0)), =(matching2, 0))
630_1_appE_InvokeMethod(623_0_appE_Return(EOS(STATIC_623), java.lang.Object(AppE(EOC, NULL)), matching1), java.lang.Object(AppE(EOC, NULL)), matching2) → 680_0_appE_Return(EOS(STATIC_680), java.lang.Object(AppE(EOC, NULL)), 0, java.lang.Object(AppE(EOC, NULL)), 0) | &&(=(matching1, 0), =(matching2, 0))
630_1_appE_InvokeMethod(693_0_appE_Return(EOS(STATIC_693)), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), matching1) → 716_0_appE_Return(EOS(STATIC_716), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), 0) | =(matching1, 0)
630_1_appE_InvokeMethod(832_0_appE_Return(EOS(STATIC_832)), java.lang.Object(o102sub), i115) → 869_0_appE_Return(EOS(STATIC_869), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i115)
630_1_appE_InvokeMethod(878_0_appE_Return(EOS(STATIC_878)), java.lang.Object(o102sub), i135) → 929_0_appE_Return(EOS(STATIC_929), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i135)
630_1_appE_InvokeMethod(955_0_appE_Return(EOS(STATIC_955)), java.lang.Object(o102sub), i165) → 998_0_appE_Return(EOS(STATIC_998), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i165)
680_0_appE_Return(EOS(STATIC_680), java.lang.Object(AppE(EOC, NULL)), matching1, java.lang.Object(AppE(EOC, NULL)), matching2) → 693_0_appE_Return(EOS(STATIC_693)) | &&(=(matching1, 0), =(matching2, 0))
716_0_appE_Return(EOS(STATIC_716), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), matching1) → 770_0_appE_Return(EOS(STATIC_770), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), 0) | =(matching1, 0)
770_0_appE_Return(EOS(STATIC_770), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o168)))), matching1) → 870_0_appE_Return(EOS(STATIC_870), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o168)))), 0) | =(matching1, 0)
811_1_appE_InvokeMethod(623_0_appE_Return(EOS(STATIC_623), java.lang.Object(AppE(EOC, NULL)), matching1), java.lang.Object(AppE(EOC, NULL)), matching2) → 827_0_appE_Return(EOS(STATIC_827), java.lang.Object(AppE(EOC, NULL)), 0, java.lang.Object(AppE(EOC, NULL)), 0) | &&(=(matching1, 0), =(matching2, 0))
811_1_appE_InvokeMethod(832_0_appE_Return(EOS(STATIC_832)), java.lang.Object(AppE(EOC, NULL)), i118) → 872_0_appE_Return(EOS(STATIC_872), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i118)
811_1_appE_InvokeMethod(878_0_appE_Return(EOS(STATIC_878)), java.lang.Object(AppE(EOC, NULL)), i137) → 937_0_appE_Return(EOS(STATIC_937), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i137)
811_1_appE_InvokeMethod(955_0_appE_Return(EOS(STATIC_955)), java.lang.Object(AppE(EOC, NULL)), i168) → 1003_0_appE_Return(EOS(STATIC_1003), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i168)
827_0_appE_Return(EOS(STATIC_827), java.lang.Object(AppE(EOC, NULL)), matching1, java.lang.Object(AppE(EOC, NULL)), matching2) → 832_0_appE_Return(EOS(STATIC_832)) | &&(=(matching1, 0), =(matching2, 0))
869_0_appE_Return(EOS(STATIC_869), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i115) → 870_0_appE_Return(EOS(STATIC_870), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i115)
870_0_appE_Return(EOS(STATIC_870), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))), i125) → 878_0_appE_Return(EOS(STATIC_878))
872_0_appE_Return(EOS(STATIC_872), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i118) → 938_0_appE_Return(EOS(STATIC_938), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), i118)
929_0_appE_Return(EOS(STATIC_929), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i135) → 870_0_appE_Return(EOS(STATIC_870), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i135)
937_0_appE_Return(EOS(STATIC_937), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i137) → 938_0_appE_Return(EOS(STATIC_938), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o255)))))), i137)
938_0_appE_Return(EOS(STATIC_938), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))), i152) → 955_0_appE_Return(EOS(STATIC_955))
998_0_appE_Return(EOS(STATIC_998), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i165) → 870_0_appE_Return(EOS(STATIC_870), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i165)
1003_0_appE_Return(EOS(STATIC_1003), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i168) → 938_0_appE_Return(EOS(STATIC_938), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, o321)))))), i168)
Combined rules. Obtained 2 conditional rules for P and 9 conditional rules for R.
P rules:
554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(AppE(EOC, java.lang.Object(x0))), x1, java.lang.Object(AppE(EOC, java.lang.Object(x0)))) → 630_1_appE_InvokeMethod(554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(x0), x1, java.lang.Object(x0)), java.lang.Object(x0), x1)
554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(AppE(EOC, NULL)), x0, java.lang.Object(AppE(EOC, NULL))) → 811_1_appE_InvokeMethod(554_0_appE_FieldAccess(EOS(STATIC_554), java.lang.Object(AppE(EOC, NULL)), +(x0, -1), java.lang.Object(AppE(EOC, NULL))), java.lang.Object(AppE(EOC, NULL)), +(x0, -1)) | >(x0, 0)
R rules:
630_1_appE_InvokeMethod(623_0_appE_Return(EOS(STATIC_623), java.lang.Object(AppE(EOC, NULL)), 0), java.lang.Object(AppE(EOC, NULL)), 0) → 693_0_appE_Return(EOS(STATIC_693))
630_1_appE_InvokeMethod(832_0_appE_Return(EOS(STATIC_832)), java.lang.Object(x0), x1) → 878_0_appE_Return(EOS(STATIC_878))
630_1_appE_InvokeMethod(878_0_appE_Return(EOS(STATIC_878)), java.lang.Object(x0), x1) → 878_0_appE_Return(EOS(STATIC_878))
630_1_appE_InvokeMethod(955_0_appE_Return(EOS(STATIC_955)), java.lang.Object(x0), x1) → 878_0_appE_Return(EOS(STATIC_878))
630_1_appE_InvokeMethod(693_0_appE_Return(EOS(STATIC_693)), java.lang.Object(AppE(EOC, java.lang.Object(AppE(EOC, NULL)))), 0) → 878_0_appE_Return(EOS(STATIC_878))
811_1_appE_InvokeMethod(623_0_appE_Return(EOS(STATIC_623), java.lang.Object(AppE(EOC, NULL)), 0), java.lang.Object(AppE(EOC, NULL)), 0) → 832_0_appE_Return(EOS(STATIC_832))
811_1_appE_InvokeMethod(832_0_appE_Return(EOS(STATIC_832)), java.lang.Object(AppE(EOC, NULL)), x0) → 955_0_appE_Return(EOS(STATIC_955))
811_1_appE_InvokeMethod(878_0_appE_Return(EOS(STATIC_878)), java.lang.Object(AppE(EOC, NULL)), x0) → 955_0_appE_Return(EOS(STATIC_955))
811_1_appE_InvokeMethod(955_0_appE_Return(EOS(STATIC_955)), java.lang.Object(AppE(EOC, NULL)), x0) → 955_0_appE_Return(EOS(STATIC_955))
Filtered ground terms:
811_1_appE_InvokeMethod(x1, x2, x3) → 811_1_appE_InvokeMethod(x1, x3)
AppE(x1, x2) → AppE(x2)
554_0_appE_FieldAccess(x1, x2, x3, x4) → 554_0_appE_FieldAccess(x2, x3, x4)
Cond_554_0_appE_FieldAccess(x1, x2, x3, x4, x5) → Cond_554_0_appE_FieldAccess(x1, x4)
955_0_appE_Return(x1) → 955_0_appE_Return
878_0_appE_Return(x1) → 878_0_appE_Return
832_0_appE_Return(x1) → 832_0_appE_Return
623_0_appE_Return(x1, x2, x3) → 623_0_appE_Return
693_0_appE_Return(x1) → 693_0_appE_Return
Filtered duplicate args:
554_0_appE_FieldAccess(x1, x2, x3) → 554_0_appE_FieldAccess(x2, x3)
Combined rules. Obtained 2 conditional rules for P and 9 conditional rules for R.
P rules:
554_0_appE_FieldAccess(x1, java.lang.Object(AppE(java.lang.Object(x0)))) → 630_1_appE_InvokeMethod(554_0_appE_FieldAccess(x1, java.lang.Object(x0)), java.lang.Object(x0), x1)
554_0_appE_FieldAccess(x0, java.lang.Object(AppE(NULL))) → 811_1_appE_InvokeMethod(554_0_appE_FieldAccess(+(x0, -1), java.lang.Object(AppE(NULL))), +(x0, -1)) | >(x0, 0)
R rules:
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(AppE(NULL)), 0) → 693_0_appE_Return
630_1_appE_InvokeMethod(832_0_appE_Return, java.lang.Object(x0), x1) → 878_0_appE_Return
630_1_appE_InvokeMethod(878_0_appE_Return, java.lang.Object(x0), x1) → 878_0_appE_Return
630_1_appE_InvokeMethod(955_0_appE_Return, java.lang.Object(x0), x1) → 878_0_appE_Return
630_1_appE_InvokeMethod(693_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), 0) → 878_0_appE_Return
811_1_appE_InvokeMethod(623_0_appE_Return, 0) → 832_0_appE_Return
811_1_appE_InvokeMethod(832_0_appE_Return, x0) → 955_0_appE_Return
811_1_appE_InvokeMethod(878_0_appE_Return, x0) → 955_0_appE_Return
811_1_appE_InvokeMethod(955_0_appE_Return, x0) → 955_0_appE_Return
Performed bisimulation on rules. Used the following equivalence classes: {[623_0_appE_Return, 693_0_appE_Return, 832_0_appE_Return, 878_0_appE_Return, 955_0_appE_Return]=623_0_appE_Return}
Finished conversion. Obtained 3 rules for P and 5 rules for R. System has predefined symbols.
P rules:
554_0_APPE_FIELDACCESS(x1, java.lang.Object(AppE(java.lang.Object(x0)))) → 554_0_APPE_FIELDACCESS(x1, java.lang.Object(x0))
554_0_APPE_FIELDACCESS(x0, java.lang.Object(AppE(NULL))) → COND_554_0_APPE_FIELDACCESS(>(x0, 0), x0, java.lang.Object(AppE(NULL)))
COND_554_0_APPE_FIELDACCESS(TRUE, x0, java.lang.Object(AppE(NULL))) → 554_0_APPE_FIELDACCESS(+(x0, -1), java.lang.Object(AppE(NULL)))
R rules:
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(AppE(NULL)), 0) → 623_0_appE_Return
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(x0), x1) → 623_0_appE_Return
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), 0) → 623_0_appE_Return
811_1_appE_InvokeMethod(623_0_appE_Return, 0) → 623_0_appE_Return
811_1_appE_InvokeMethod(623_0_appE_Return, x0) → 623_0_appE_Return
!= | ~ | 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 ∧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))) ⇒ 554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))∧(UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(2) (554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(java.lang.Object(x0[0]2))))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(java.lang.Object(x0[0]2))))))≥554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]2))))∧(UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(3) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[4 + (-1)bso_22] + [4]x0[0]2 ≥ 0)
(4) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[4 + (-1)bso_22] + [4]x0[0]2 ≥ 0)
(5) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[4 + (-1)bso_22] + [4]x0[0]2 ≥ 0)
(6) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧0 ≥ 0∧[4 + (-1)bso_22] ≥ 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))) ⇒ 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))∧(UIncreasing(554_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)) ⇒ 554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(AppE(java.lang.Object(x0[0]1))))≥554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))∧(UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(9) (554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(NULL)))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(AppE(NULL)))))≥554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(NULL)))∧(UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥))
(10) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[2 + (-1)bso_22] ≥ 0)
(11) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[2 + (-1)bso_22] ≥ 0)
(12) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧[2 + (-1)bso_22] ≥ 0)
(13) ((UIncreasing(554_0_APPE_FIELDACCESS(x1[0]1, java.lang.Object(x0[0]1))), ≥)∧[bni_21] = 0∧0 ≥ 0∧[2 + (-1)bso_22] ≥ 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)) ⇒ 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥NonInfC∧554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0]))))≥554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))∧(UIncreasing(554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))), ≥))
(15) (>(x0[1], 0)=TRUE∧x0[1]=x0[2] ⇒ 554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(16) (>(x0[1], 0)=TRUE ⇒ 554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(17) (0 ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_23 + (-1)Bound*bni_23] + [bni_23]x0[1] ≥ 0∧[(-1)bso_24] + x0[1] ≥ 0)
(18) (0 ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_23 + (-1)Bound*bni_23] + [bni_23]x0[1] ≥ 0∧[(-1)bso_24] + x0[1] ≥ 0)
(19) (0 ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_23 + (-1)Bound*bni_23] + [bni_23]x0[1] ≥ 0∧[(-1)bso_24] + x0[1] ≥ 0)
(20) (0 ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[bni_23] ≥ 0∧[(2)bni_23 + (-1)Bound*bni_23] ≥ 0∧[1] ≥ 0∧[(-1)bso_24] ≥ 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_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(554_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_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(23) (>(x0[1], 0)=TRUE ⇒ COND_554_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_554_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥554_0_APPE_FIELDACCESS(+(x0[1], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(24) (0 ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_25 + (-1)Bound*bni_25] ≥ 0∧[(-1)bso_26] ≥ 0)
(25) (0 ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_25 + (-1)Bound*bni_25] ≥ 0∧[(-1)bso_26] ≥ 0)
(26) (0 ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(2)bni_25 + (-1)Bound*bni_25] ≥ 0∧[(-1)bso_26] ≥ 0)
(27) (0 ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧0 ≥ 0∧[(2)bni_25 + (-1)Bound*bni_25] ≥ 0∧0 ≥ 0∧[(-1)bso_26] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(630_1_appE_InvokeMethod(x1, x2, x3)) = 0
POL(623_0_appE_Return) = 0
POL(java.lang.Object(x1)) = [1] + [2]x1
POL(AppE(x1)) = x1
POL(NULL) = 0
POL(0) = 0
POL(811_1_appE_InvokeMethod(x1, x2)) = 0
POL(554_0_APPE_FIELDACCESS(x1, x2)) = [1] + x2 + x1
POL(COND_554_0_APPE_FIELDACCESS(x1, x2, x3)) = [2]
POL(>(x1, x2)) = 0
POL(+(x1, x2)) = 0
POL(-1) = 0
554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 554_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 ∧x0[1] →* x0[2])
(1) (>(x0[1], 0)=TRUE∧x0[1]=x0[2] ⇒ 554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(2) (>(x0[1], 0)=TRUE ⇒ 554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL)))≥COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))∧(UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥))
(3) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_24] + [bni_24]x0[1] ≥ 0∧[(-1)bso_25] ≥ 0)
(4) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_24] + [bni_24]x0[1] ≥ 0∧[(-1)bso_25] ≥ 0)
(5) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_24] + [bni_24]x0[1] ≥ 0∧[(-1)bso_25] ≥ 0)
(6) (x0[1] ≥ 0 ⇒ (UIncreasing(COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_24 + bni_24] + [bni_24]x0[1] ≥ 0∧[(-1)bso_25] ≥ 0)
(7) (>(x0[1], 0)=TRUE∧x0[1]=x0[2]∧+(x0[2], -1)=x0[1]1 ⇒ COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL)))≥554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(8) (>(x0[1], 0)=TRUE ⇒ COND_554_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥NonInfC∧COND_554_0_APPE_FIELDACCESS(TRUE, x0[1], java.lang.Object(AppE(NULL)))≥554_0_APPE_FIELDACCESS(+(x0[1], -1), java.lang.Object(AppE(NULL)))∧(UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥))
(9) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[1 + (-1)bso_27] ≥ 0)
(10) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[1 + (-1)bso_27] ≥ 0)
(11) (x0[1] + [-1] ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_26] + [bni_26]x0[1] ≥ 0∧[1 + (-1)bso_27] ≥ 0)
(12) (x0[1] ≥ 0 ⇒ (UIncreasing(554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))), ≥)∧[(-1)Bound*bni_26 + bni_26] + [bni_26]x0[1] ≥ 0∧[1 + (-1)bso_27] ≥ 0)
POL(TRUE) = [3]
POL(FALSE) = 0
POL(630_1_appE_InvokeMethod(x1, x2, x3)) = [-1] + [-1]x3 + [-1]x2 + [-1]x1
POL(623_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(811_1_appE_InvokeMethod(x1, x2)) = [-1] + [-1]x2 + [-1]x1
POL(554_0_APPE_FIELDACCESS(x1, x2)) = [-1] + [-1]x2 + x1
POL(COND_554_0_APPE_FIELDACCESS(x1, x2, x3)) = [-1] + [-1]x3 + x2
POL(>(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_554_0_APPE_FIELDACCESS(>(x0[1], 0), x0[1], java.lang.Object(AppE(NULL)))
COND_554_0_APPE_FIELDACCESS(TRUE, x0[2], java.lang.Object(AppE(NULL))) → 554_0_APPE_FIELDACCESS(+(x0[2], -1), java.lang.Object(AppE(NULL)))
554_0_APPE_FIELDACCESS(x0[1], java.lang.Object(AppE(NULL))) → COND_554_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]'))))
554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(AppE(NULL)), pos(01)) → 623_0_appE_Return
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(x0), x1) → 623_0_appE_Return
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(AppE(java.lang.Object(AppE(NULL)))), pos(01)) → 623_0_appE_Return
811_1_appE_InvokeMethod(623_0_appE_Return, pos(01)) → 623_0_appE_Return
811_1_appE_InvokeMethod(623_0_appE_Return, x0) → 623_0_appE_Return
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(x0), x1)
811_1_appE_InvokeMethod(623_0_appE_Return, x0)
554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(x0), x1)
811_1_appE_InvokeMethod(623_0_appE_Return, x0)
630_1_appE_InvokeMethod(623_0_appE_Return, java.lang.Object(x0), x1)
811_1_appE_InvokeMethod(623_0_appE_Return, x0)
554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(AppE(java.lang.Object(x0[0])))) → 554_0_APPE_FIELDACCESS(x1[0], java.lang.Object(x0[0]))
From the DPs we obtained the following set of size-change graphs:
Generated 17 rules for P and 0 rules for R.
P rules:
332_0_createList_LE(EOS(STATIC_332), i39, i39) → 338_0_createList_LE(EOS(STATIC_338), i39, i39)
338_0_createList_LE(EOS(STATIC_338), i39, i39) → 347_0_createList_New(EOS(STATIC_347), i39) | >(i39, 0)
347_0_createList_New(EOS(STATIC_347), i39) → 368_0_createList_Duplicate(EOS(STATIC_368), i39)
368_0_createList_Duplicate(EOS(STATIC_368), i39) → 380_0_createList_Load(EOS(STATIC_380), i39)
380_0_createList_Load(EOS(STATIC_380), i39) → 390_0_createList_InvokeMethod(EOS(STATIC_390), i39)
390_0_createList_InvokeMethod(EOS(STATIC_390), i39) → 405_0_<init>_Load(EOS(STATIC_405), i39)
405_0_<init>_Load(EOS(STATIC_405), i39) → 410_0_<init>_InvokeMethod(EOS(STATIC_410), i39)
410_0_<init>_InvokeMethod(EOS(STATIC_410), i39) → 414_0_<init>_Load(EOS(STATIC_414), i39)
414_0_<init>_Load(EOS(STATIC_414), i39) → 417_0_<init>_Load(EOS(STATIC_417), i39)
417_0_<init>_Load(EOS(STATIC_417), i39) → 419_0_<init>_FieldAccess(EOS(STATIC_419), i39)
419_0_<init>_FieldAccess(EOS(STATIC_419), i39) → 424_0_<init>_Return(EOS(STATIC_424), i39)
424_0_<init>_Return(EOS(STATIC_424), i39) → 428_0_createList_Store(EOS(STATIC_428), i39)
428_0_createList_Store(EOS(STATIC_428), i39) → 433_0_createList_Inc(EOS(STATIC_433), i39)
433_0_createList_Inc(EOS(STATIC_433), i39) → 439_0_createList_JMP(EOS(STATIC_439), +(i39, -1)) | >(i39, 0)
439_0_createList_JMP(EOS(STATIC_439), i52) → 445_0_createList_Load(EOS(STATIC_445), i52)
445_0_createList_Load(EOS(STATIC_445), i52) → 320_0_createList_Load(EOS(STATIC_320), i52)
320_0_createList_Load(EOS(STATIC_320), i35) → 332_0_createList_LE(EOS(STATIC_332), i35, i35)
R rules:
Combined rules. Obtained 1 conditional rules for P and 0 conditional rules for R.
P rules:
332_0_createList_LE(EOS(STATIC_332), x0, x0) → 332_0_createList_LE(EOS(STATIC_332), +(x0, -1), +(x0, -1)) | >(x0, 0)
R rules:
Filtered ground terms:
332_0_createList_LE(x1, x2, x3) → 332_0_createList_LE(x2, x3)
EOS(x1) → EOS
Cond_332_0_createList_LE(x1, x2, x3, x4) → Cond_332_0_createList_LE(x1, x3, x4)
Filtered duplicate args:
332_0_createList_LE(x1, x2) → 332_0_createList_LE(x2)
Cond_332_0_createList_LE(x1, x2, x3) → Cond_332_0_createList_LE(x1, x3)
Combined rules. Obtained 1 conditional rules for P and 0 conditional rules for R.
P rules:
332_0_createList_LE(x0) → 332_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:
332_0_CREATELIST_LE(x0) → COND_332_0_CREATELIST_LE(>(x0, 0), x0)
COND_332_0_CREATELIST_LE(TRUE, x0) → 332_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] ⇒ 332_0_CREATELIST_LE(x0[0])≥NonInfC∧332_0_CREATELIST_LE(x0[0])≥COND_332_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_332_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(2) (>(x0[0], 0)=TRUE ⇒ 332_0_CREATELIST_LE(x0[0])≥NonInfC∧332_0_CREATELIST_LE(x0[0])≥COND_332_0_CREATELIST_LE(>(x0[0], 0), x0[0])∧(UIncreasing(COND_332_0_CREATELIST_LE(>(x0[0], 0), x0[0])), ≥))
(3) (x0[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_332_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_332_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_332_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_332_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_332_0_CREATELIST_LE(TRUE, x0[1])≥NonInfC∧COND_332_0_CREATELIST_LE(TRUE, x0[1])≥332_0_CREATELIST_LE(+(x0[1], -1))∧(UIncreasing(332_0_CREATELIST_LE(+(x0[1], -1))), ≥))
(8) ((UIncreasing(332_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(9) ((UIncreasing(332_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(10) ((UIncreasing(332_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧[2 + (-1)bso_11] ≥ 0)
(11) ((UIncreasing(332_0_CREATELIST_LE(+(x0[1], -1))), ≥)∧[bni_10] = 0∧0 = 0∧[2 + (-1)bso_11] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(332_0_CREATELIST_LE(x1)) = [2]x1
POL(COND_332_0_CREATELIST_LE(x1, x2)) = [2]x2
POL(>(x1, x2)) = [-1]
POL(0) = 0
POL(+(x1, x2)) = x1 + x2
POL(-1) = [-1]
COND_332_0_CREATELIST_LE(TRUE, x0[1]) → 332_0_CREATELIST_LE(+(x0[1], -1))
332_0_CREATELIST_LE(x0[0]) → COND_332_0_CREATELIST_LE(>(x0[0], 0), x0[0])
332_0_CREATELIST_LE(x0[0]) → COND_332_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