0 JBC
↳1 JBCToGraph (⇒, 320 ms)
↳2 JBCTerminationGraph
↳3 TerminationGraphToSCCProof (⇒, 0 ms)
↳4 JBCTerminationSCC
↳5 SCCToIDPv1Proof (⇒, 80 ms)
↳6 IDP
↳7 IDPNonInfProof (⇒, 290 ms)
↳8 IDP
↳9 IDependencyGraphProof (⇔, 0 ms)
↳10 IDP
↳11 IDPNonInfProof (⇒, 10 ms)
↳12 IDP
↳13 IDependencyGraphProof (⇔, 0 ms)
↳14 TRUE
/**
* Example taken from "A Term Rewriting Approach to the Automated Termination
* Analysis of Imperative Programs" (http://www.cs.unm.edu/~spf/papers/2009-02.pdf)
* and converted to Java.
*/
public class PastaC11 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
while (true) {
if (x >= 0) {
x--;
y = Random.random();
} else if (y >= 0) {
y--;
} else {
break;
}
}
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
Generated 33 rules for P and 0 rules for R.
P rules:
933_0_main_LT(EOS(STATIC_933), matching1, i347, matching2) → 935_0_main_LT(EOS(STATIC_935), -1, i347, -1) | &&(=(matching1, -1), =(matching2, -1))
933_0_main_LT(EOS(STATIC_933), i353, i347, i353) → 936_0_main_LT(EOS(STATIC_936), i353, i347, i353)
935_0_main_LT(EOS(STATIC_935), matching1, i347, matching2) → 938_0_main_Load(EOS(STATIC_938), -1, i347) | &&(&&(<(-1, 0), =(matching1, -1)), =(matching2, -1))
938_0_main_Load(EOS(STATIC_938), matching1, i347) → 943_0_main_LT(EOS(STATIC_943), -1, i347, i347) | =(matching1, -1)
943_0_main_LT(EOS(STATIC_943), matching1, i360, i360) → 948_0_main_LT(EOS(STATIC_948), -1, i360, i360) | =(matching1, -1)
948_0_main_LT(EOS(STATIC_948), matching1, i360, i360) → 954_0_main_Inc(EOS(STATIC_954), -1, i360) | &&(>=(i360, 0), =(matching1, -1))
954_0_main_Inc(EOS(STATIC_954), matching1, i360) → 957_0_main_JMP(EOS(STATIC_957), -1, +(i360, -1)) | &&(>=(i360, 0), =(matching1, -1))
957_0_main_JMP(EOS(STATIC_957), matching1, i361) → 963_0_main_Load(EOS(STATIC_963), -1, i361) | =(matching1, -1)
963_0_main_Load(EOS(STATIC_963), matching1, i361) → 929_0_main_Load(EOS(STATIC_929), -1, i361) | =(matching1, -1)
929_0_main_Load(EOS(STATIC_929), i346, i347) → 933_0_main_LT(EOS(STATIC_933), i346, i347, i346)
936_0_main_LT(EOS(STATIC_936), i353, i347, i353) → 940_0_main_Inc(EOS(STATIC_940), i353) | >=(i353, 0)
940_0_main_Inc(EOS(STATIC_940), i353) → 945_0_main_InvokeMethod(EOS(STATIC_945), +(i353, -1)) | >=(i353, 0)
945_0_main_InvokeMethod(EOS(STATIC_945), i357) → 950_0_random_FieldAccess(EOS(STATIC_950), i357)
950_0_random_FieldAccess(EOS(STATIC_950), i357) → 960_0_random_FieldAccess(EOS(STATIC_960), i357)
960_0_random_FieldAccess(EOS(STATIC_960), i357) → 970_0_random_ArrayAccess(EOS(STATIC_970), i357)
970_0_random_ArrayAccess(EOS(STATIC_970), i357) → 972_0_random_ArrayAccess(EOS(STATIC_972), i357)
972_0_random_ArrayAccess(EOS(STATIC_972), i357) → 976_0_random_Store(EOS(STATIC_976), i357, o242)
976_0_random_Store(EOS(STATIC_976), i357, o242) → 981_0_random_FieldAccess(EOS(STATIC_981), i357, o242)
981_0_random_FieldAccess(EOS(STATIC_981), i357, o242) → 984_0_random_ConstantStackPush(EOS(STATIC_984), i357, o242)
984_0_random_ConstantStackPush(EOS(STATIC_984), i357, o242) → 989_0_random_IntArithmetic(EOS(STATIC_989), i357, o242)
989_0_random_IntArithmetic(EOS(STATIC_989), i357, o242) → 994_0_random_FieldAccess(EOS(STATIC_994), i357, o242)
994_0_random_FieldAccess(EOS(STATIC_994), i357, o242) → 997_0_random_Load(EOS(STATIC_997), i357, o242)
997_0_random_Load(EOS(STATIC_997), i357, o242) → 1009_0_random_InvokeMethod(EOS(STATIC_1009), i357, o242)
1009_0_random_InvokeMethod(EOS(STATIC_1009), i357, java.lang.Object(o262sub)) → 1012_0_random_InvokeMethod(EOS(STATIC_1012), i357, java.lang.Object(o262sub))
1012_0_random_InvokeMethod(EOS(STATIC_1012), i357, java.lang.Object(o262sub)) → 1016_0_length_Load(EOS(STATIC_1016), i357, java.lang.Object(o262sub), java.lang.Object(o262sub))
1016_0_length_Load(EOS(STATIC_1016), i357, java.lang.Object(o262sub), java.lang.Object(o262sub)) → 1030_0_length_FieldAccess(EOS(STATIC_1030), i357, java.lang.Object(o262sub), java.lang.Object(o262sub))
1030_0_length_FieldAccess(EOS(STATIC_1030), i357, java.lang.Object(java.lang.String(o271sub, i408)), java.lang.Object(java.lang.String(o271sub, i408))) → 1033_0_length_FieldAccess(EOS(STATIC_1033), i357, java.lang.Object(java.lang.String(o271sub, i408)), java.lang.Object(java.lang.String(o271sub, i408))) | &&(>=(i408, 0), >=(i409, 0))
1033_0_length_FieldAccess(EOS(STATIC_1033), i357, java.lang.Object(java.lang.String(o271sub, i408)), java.lang.Object(java.lang.String(o271sub, i408))) → 1041_0_length_Return(EOS(STATIC_1041), i357, java.lang.Object(java.lang.String(o271sub, i408)), i408)
1041_0_length_Return(EOS(STATIC_1041), i357, java.lang.Object(java.lang.String(o271sub, i408)), i408) → 1047_0_random_Return(EOS(STATIC_1047), i357, i408)
1047_0_random_Return(EOS(STATIC_1047), i357, i408) → 1050_0_main_Store(EOS(STATIC_1050), i357, i408)
1050_0_main_Store(EOS(STATIC_1050), i357, i408) → 1059_0_main_JMP(EOS(STATIC_1059), i357, i408)
1059_0_main_JMP(EOS(STATIC_1059), i357, i408) → 1067_0_main_Load(EOS(STATIC_1067), i357, i408)
1067_0_main_Load(EOS(STATIC_1067), i357, i408) → 929_0_main_Load(EOS(STATIC_929), i357, i408)
R rules:
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
933_0_main_LT(EOS(STATIC_933), -1, x1, -1) → 933_0_main_LT(EOS(STATIC_933), -1, +(x1, -1), -1) | >(+(x1, 1), 0)
933_0_main_LT(EOS(STATIC_933), x0, x1, x0) → 933_0_main_LT(EOS(STATIC_933), +(x0, -1), x2, +(x0, -1)) | &&(>(+(x2, 1), 0), >(+(x0, 1), 0))
R rules:
Filtered ground terms:
933_0_main_LT(x1, x2, x3, x4) → 933_0_main_LT(x2, x3, x4)
EOS(x1) → EOS
Cond_933_0_main_LT1(x1, x2, x3, x4, x5, x6) → Cond_933_0_main_LT1(x1, x3, x4, x5, x6)
Cond_933_0_main_LT(x1, x2, x3, x4, x5) → Cond_933_0_main_LT(x1, x4)
Filtered duplicate args:
933_0_main_LT(x1, x2, x3) → 933_0_main_LT(x2, x3)
Cond_933_0_main_LT1(x1, x2, x3, x4, x5) → Cond_933_0_main_LT1(x1, x3, x4, x5)
Filtered unneeded arguments:
Cond_933_0_main_LT1(x1, x2, x3, x4) → Cond_933_0_main_LT1(x1, x3, x4)
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
933_0_main_LT(x1, -1) → 933_0_main_LT(+(x1, -1), -1) | >(x1, -1)
933_0_main_LT(x1, x0) → 933_0_main_LT(x2, +(x0, -1)) | &&(>(x2, -1), >(x0, -1))
R rules:
Finished conversion. Obtained 4 rules for P and 0 rules for R. System has predefined symbols.
P rules:
933_0_MAIN_LT(x1, -1) → COND_933_0_MAIN_LT(>(x1, -1), x1, -1)
COND_933_0_MAIN_LT(TRUE, x1, -1) → 933_0_MAIN_LT(+(x1, -1), -1)
933_0_MAIN_LT(x1, x0) → COND_933_0_MAIN_LT1(&&(>(x2, -1), >(x0, -1)), x1, x0, x2)
COND_933_0_MAIN_LT1(TRUE, x1, x0, x2) → 933_0_MAIN_LT(x2, +(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, Boolean
(0) -> (1), if (x1[0] > -1 ∧x1[0] →* x1[1])
(1) -> (0), if x1[1] + -1 →* x1[0]
(1) -> (2), if (x1[1] + -1 →* x1[2]∧-1 →* x0[2])
(2) -> (3), if (x2[2] > -1 && x0[2] > -1 ∧x1[2] →* x1[3]∧x0[2] →* x0[3]∧x2[2] →* x2[3])
(3) -> (0), if (x2[3] →* x1[0]∧x0[3] + -1 →* -1)
(3) -> (2), if (x2[3] →* x1[2]∧x0[3] + -1 →* x0[2])
(1) (>(x1[0], -1)=TRUE∧x1[0]=x1[1] ⇒ 933_0_MAIN_LT(x1[0], -1)≥NonInfC∧933_0_MAIN_LT(x1[0], -1)≥COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)∧(UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥))
(2) (>(x1[0], -1)=TRUE ⇒ 933_0_MAIN_LT(x1[0], -1)≥NonInfC∧933_0_MAIN_LT(x1[0], -1)≥COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)∧(UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥))
(3) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-2)bni_17 + (-1)Bound*bni_17] ≥ 0∧[(-1)bso_18] ≥ 0)
(4) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-2)bni_17 + (-1)Bound*bni_17] ≥ 0∧[(-1)bso_18] ≥ 0)
(5) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-2)bni_17 + (-1)Bound*bni_17] ≥ 0∧[(-1)bso_18] ≥ 0)
(6) (>(x1[0], -1)=TRUE∧x1[0]=x1[1]∧+(x1[1], -1)=x1[0]1 ⇒ COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥933_0_MAIN_LT(+(x1[1], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(7) (>(x1[0], -1)=TRUE ⇒ COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥933_0_MAIN_LT(+(x1[0], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(8) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(9) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(10) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(11) (>(x1[0], -1)=TRUE∧x1[0]=x1[1]∧+(x1[1], -1)=x1[2]∧-1=x0[2] ⇒ COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥933_0_MAIN_LT(+(x1[1], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(12) (>(x1[0], -1)=TRUE ⇒ COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥933_0_MAIN_LT(+(x1[0], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(13) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(14) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(15) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] ≥ 0∧[(-1)bso_20] ≥ 0)
(16) (+(x1[1], -1)=x1[2]∧-1=x0[2]∧&&(>(x2[2], -1), >(x0[2], -1))=TRUE∧x1[2]=x1[3]∧x0[2]=x0[3]∧x2[2]=x2[3] ⇒ 933_0_MAIN_LT(x1[2], x0[2])≥NonInfC∧933_0_MAIN_LT(x1[2], x0[2])≥COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])∧(UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥))
(17) (x2[3]=x1[2]∧+(x0[3], -1)=x0[2]∧&&(>(x2[2], -1), >(x0[2], -1))=TRUE∧x1[2]=x1[3]1∧x0[2]=x0[3]1∧x2[2]=x2[3]1 ⇒ 933_0_MAIN_LT(x1[2], x0[2])≥NonInfC∧933_0_MAIN_LT(x1[2], x0[2])≥COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])∧(UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥))
(18) (>(x2[2], -1)=TRUE∧>(+(x0[3], -1), -1)=TRUE ⇒ 933_0_MAIN_LT(x2[3], +(x0[3], -1))≥NonInfC∧933_0_MAIN_LT(x2[3], +(x0[3], -1))≥COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(+(x0[3], -1), -1)), x2[3], +(x0[3], -1), x2[2])∧(UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥))
(19) (x2[2] ≥ 0∧x0[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥)∧[(-2)bni_21 + (-1)Bound*bni_21] + [(2)bni_21]x0[3] ≥ 0∧[(-1)bso_22] ≥ 0)
(20) (x2[2] ≥ 0∧x0[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥)∧[(-2)bni_21 + (-1)Bound*bni_21] + [(2)bni_21]x0[3] ≥ 0∧[(-1)bso_22] ≥ 0)
(21) (x2[2] ≥ 0∧x0[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥)∧[(-2)bni_21 + (-1)Bound*bni_21] + [(2)bni_21]x0[3] ≥ 0∧[(-1)bso_22] ≥ 0)
(22) (x2[2] ≥ 0∧x0[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥)∧0 = 0∧[(-2)bni_21 + (-1)Bound*bni_21] + [(2)bni_21]x0[3] ≥ 0∧0 = 0∧[(-1)bso_22] ≥ 0)
(23) (x2[2] ≥ 0∧x0[3] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])), ≥)∧0 = 0∧[(-1)Bound*bni_21] + [(2)bni_21]x0[3] ≥ 0∧0 = 0∧[(-1)bso_22] ≥ 0)
(24) (&&(>(x2[2], -1), >(x0[2], -1))=TRUE∧x1[2]=x1[3]∧x0[2]=x0[3]∧x2[2]=x2[3]∧x2[3]=x1[0]∧+(x0[3], -1)=-1 ⇒ COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3])≥NonInfC∧COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3])≥933_0_MAIN_LT(x2[3], +(x0[3], -1))∧(UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥))
(25) (+(x0[2], -1)=-1∧>(x2[2], -1)=TRUE∧>(x0[2], -1)=TRUE ⇒ COND_933_0_MAIN_LT1(TRUE, x1[2], x0[2], x2[2])≥NonInfC∧COND_933_0_MAIN_LT1(TRUE, x1[2], x0[2], x2[2])≥933_0_MAIN_LT(x2[2], +(x0[2], -1))∧(UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥))
(26) (x0[2] ≥ 0∧x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(27) (x0[2] ≥ 0∧x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(28) (x0[2] ≥ 0∧x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(29) (x0[2] ≥ 0∧x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧0 = 0∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧0 = 0∧[1 + (-1)bso_24] ≥ 0)
(30) (&&(>(x2[2], -1), >(x0[2], -1))=TRUE∧x1[2]=x1[3]∧x0[2]=x0[3]∧x2[2]=x2[3]∧x2[3]=x1[2]1∧+(x0[3], -1)=x0[2]1 ⇒ COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3])≥NonInfC∧COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3])≥933_0_MAIN_LT(x2[3], +(x0[3], -1))∧(UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥))
(31) (>(x2[2], -1)=TRUE∧>(x0[2], -1)=TRUE ⇒ COND_933_0_MAIN_LT1(TRUE, x1[2], x0[2], x2[2])≥NonInfC∧COND_933_0_MAIN_LT1(TRUE, x1[2], x0[2], x2[2])≥933_0_MAIN_LT(x2[2], +(x0[2], -1))∧(UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥))
(32) (x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(33) (x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(34) (x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(35) (x2[2] ≥ 0∧x0[2] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(x2[3], +(x0[3], -1))), ≥)∧0 = 0∧[(-1)bni_23 + (-1)Bound*bni_23] + [(2)bni_23]x0[2] ≥ 0∧0 = 0∧[1 + (-1)bso_24] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(933_0_MAIN_LT(x1, x2)) = [2]x2
POL(-1) = [-1]
POL(COND_933_0_MAIN_LT(x1, x2, x3)) = [2]x3
POL(>(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(COND_933_0_MAIN_LT1(x1, x2, x3, x4)) = [-1] + [2]x3 + [-1]x1
POL(&&(x1, x2)) = [-1]
COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3]) → 933_0_MAIN_LT(x2[3], +(x0[3], -1))
933_0_MAIN_LT(x1[0], -1) → COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)
COND_933_0_MAIN_LT(TRUE, x1[1], -1) → 933_0_MAIN_LT(+(x1[1], -1), -1)
933_0_MAIN_LT(x1[2], x0[2]) → COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])
COND_933_0_MAIN_LT1(TRUE, x1[3], x0[3], x2[3]) → 933_0_MAIN_LT(x2[3], +(x0[3], -1))
933_0_MAIN_LT(x1[0], -1) → COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)
COND_933_0_MAIN_LT(TRUE, x1[1], -1) → 933_0_MAIN_LT(+(x1[1], -1), -1)
933_0_MAIN_LT(x1[2], x0[2]) → COND_933_0_MAIN_LT1(&&(>(x2[2], -1), >(x0[2], -1)), x1[2], x0[2], x2[2])
TRUE1 → &&(TRUE, TRUE)1
FALSE1 → &&(TRUE, FALSE)1
FALSE1 → &&(FALSE, TRUE)1
FALSE1 → &&(FALSE, FALSE)1
!= | ~ | 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, Boolean
(1) -> (0), if x1[1] + -1 →* x1[0]
(0) -> (1), if (x1[0] > -1 ∧x1[0] →* x1[1])
(1) -> (2), if (x1[1] + -1 →* x1[2]∧-1 →* x0[2])
!= | ~ | 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
(1) -> (0), if x1[1] + -1 →* x1[0]
(0) -> (1), if (x1[0] > -1 ∧x1[0] →* x1[1])
(1) (>(x1[0], -1)=TRUE∧x1[0]=x1[1]∧+(x1[1], -1)=x1[0]1 ⇒ COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[1], -1)≥933_0_MAIN_LT(+(x1[1], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(2) (>(x1[0], -1)=TRUE ⇒ COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥NonInfC∧COND_933_0_MAIN_LT(TRUE, x1[0], -1)≥933_0_MAIN_LT(+(x1[0], -1), -1)∧(UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(3) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)Bound*bni_11] + [bni_11]x1[0] ≥ 0∧[1 + (-1)bso_12] ≥ 0)
(4) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)Bound*bni_11] + [bni_11]x1[0] ≥ 0∧[1 + (-1)bso_12] ≥ 0)
(5) (x1[0] ≥ 0 ⇒ (UIncreasing(933_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)Bound*bni_11] + [bni_11]x1[0] ≥ 0∧[1 + (-1)bso_12] ≥ 0)
(6) (>(x1[0], -1)=TRUE∧x1[0]=x1[1] ⇒ 933_0_MAIN_LT(x1[0], -1)≥NonInfC∧933_0_MAIN_LT(x1[0], -1)≥COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)∧(UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥))
(7) (>(x1[0], -1)=TRUE ⇒ 933_0_MAIN_LT(x1[0], -1)≥NonInfC∧933_0_MAIN_LT(x1[0], -1)≥COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)∧(UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥))
(8) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-1)Bound*bni_13] + [bni_13]x1[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(9) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-1)Bound*bni_13] + [bni_13]x1[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(10) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)), ≥)∧[(-1)Bound*bni_13] + [bni_13]x1[0] ≥ 0∧[(-1)bso_14] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(COND_933_0_MAIN_LT(x1, x2, x3)) = [-1] + [-1]x3 + x2
POL(-1) = [-1]
POL(933_0_MAIN_LT(x1, x2)) = [-1] + [-1]x2 + x1
POL(+(x1, x2)) = x1 + x2
POL(>(x1, x2)) = [-1]
COND_933_0_MAIN_LT(TRUE, x1[1], -1) → 933_0_MAIN_LT(+(x1[1], -1), -1)
COND_933_0_MAIN_LT(TRUE, x1[1], -1) → 933_0_MAIN_LT(+(x1[1], -1), -1)
933_0_MAIN_LT(x1[0], -1) → COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)
933_0_MAIN_LT(x1[0], -1) → COND_933_0_MAIN_LT(>(x1[0], -1), x1[0], -1)
!= | ~ | 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