0 JBC
↳1 JBC2FIG (⇒)
↳2 JBCTerminationGraph
↳3 FIGtoITRSProof (⇒)
↳4 IDP
↳5 IDPNonInfProof (⇒)
↳6 IDP
↳7 IDependencyGraphProof (⇔)
↳8 IDP
↳9 IDPNonInfProof (⇒)
↳10 IDP
↳11 IDependencyGraphProof (⇔)
↳12 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 48 rules for R.
Combined rules. Obtained 4 rules for P and 0 rules for R.
Filtered ground terms:
1617_0_main_LT(x1, x2, x3, x4) → 1617_0_main_LT(x2, x3, x4)
1694_0_random_IntArithmetic(x1, x2, x3, x4) → 1694_0_random_IntArithmetic(x2, x3)
1659_0_random_ArrayAccess(x1, x2, x3) → 1659_0_random_ArrayAccess(x2, x3)
Cond_1617_0_main_LT1(x1, x2, x3, x4, x5) → Cond_1617_0_main_LT1(x1, x3, x4, x5)
Cond_1617_0_main_LT(x1, x2, x3, x4, x5) → Cond_1617_0_main_LT(x1, x4)
Filtered duplicate args:
1617_0_main_LT(x1, x2, x3) → 1617_0_main_LT(x2, x3)
Cond_1617_0_main_LT1(x1, x2, x3, x4) → Cond_1617_0_main_LT1(x1, x3, x4)
Filtered unneeded arguments:
Cond_1617_0_main_LT1(x1, x2, x3) → Cond_1617_0_main_LT1(x1, x3)
Combined rules. Obtained 4 rules for P and 0 rules for R.
Finished conversion. Obtained 4 rules for P and 0 rules for R. System has predefined symbols.
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(0) -> (1), if ((x1[0] >= 0 && 0 > -1 →* TRUE)∧(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 ((x0[2] >= 0 →* TRUE)∧(x1[2] →* x1[3])∧(x0[2] →* x0[3]))
(3) -> (4), if ((1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]) →* 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]))∧(x0[3] + -1 →* x3[4]))
(4) -> (5), if ((x2[4] >= 2 && x2[4] < x0[4] →* TRUE)∧(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]) →* 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5]))∧(x3[4] →* x3[5]))
(5) -> (6), if ((1694_0_random_IntArithmetic(x4[5], x5[5]) →* 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]))∧(x3[5] →* x4[6]))
(6) -> (7), if ((x2[6] > 0 →* TRUE)∧(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]) →* 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7]))∧(x4[6] →* x4[7]))
(7) -> (0), if ((x1[7] →* x1[0])∧(x4[7] →* -1))
(7) -> (2), if ((x1[7] →* x1[2])∧(x4[7] →* x0[2]))
(1) (&&(>=(x1[0], 0), >(0, -1))=TRUE∧x1[0]=x1[1] ⇒ 1617_0_MAIN_LT(x1[0], -1)≥NonInfC∧1617_0_MAIN_LT(x1[0], -1)≥COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)∧(UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥))
(2) (>=(x1[0], 0)=TRUE ⇒ 1617_0_MAIN_LT(x1[0], -1)≥NonInfC∧1617_0_MAIN_LT(x1[0], -1)≥COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)∧(UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥))
(3) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧[(-1)bso_32] ≥ 0)
(4) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧[(-1)bso_32] ≥ 0)
(5) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧[(-1)bso_32] ≥ 0)
(6) (COND_1617_0_MAIN_LT(TRUE, x1[1], -1)≥NonInfC∧COND_1617_0_MAIN_LT(TRUE, x1[1], -1)≥1617_0_MAIN_LT(+(x1[1], -1), -1)∧(UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(7) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)bso_34] ≥ 0)
(8) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)bso_34] ≥ 0)
(9) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[(-1)bso_34] ≥ 0)
(10) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧0 = 0∧[(-1)bso_34] ≥ 0)
(11) (>=(x0[2], 0)=TRUE∧x1[2]=x1[3]∧x0[2]=x0[3] ⇒ 1617_0_MAIN_LT(x1[2], x0[2])≥NonInfC∧1617_0_MAIN_LT(x1[2], x0[2])≥COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])∧(UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥))
(12) (>=(x0[2], 0)=TRUE ⇒ 1617_0_MAIN_LT(x1[2], x0[2])≥NonInfC∧1617_0_MAIN_LT(x1[2], x0[2])≥COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])∧(UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥))
(13) (x0[2] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥)∧[(-1)Bound*bni_35] + [bni_35]x0[2] ≥ 0∧[1 + (-1)bso_36] ≥ 0)
(14) (x0[2] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥)∧[(-1)Bound*bni_35] + [bni_35]x0[2] ≥ 0∧[1 + (-1)bso_36] ≥ 0)
(15) (x0[2] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥)∧[(-1)Bound*bni_35] + [bni_35]x0[2] ≥ 0∧[1 + (-1)bso_36] ≥ 0)
(16) (x0[2] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])), ≥)∧0 = 0∧[(-1)Bound*bni_35] + [bni_35]x0[2] ≥ 0∧0 = 0∧[1 + (-1)bso_36] ≥ 0)
(17) (COND_1617_0_MAIN_LT1(TRUE, x1[3], x0[3])≥NonInfC∧COND_1617_0_MAIN_LT1(TRUE, x1[3], x0[3])≥1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))∧(UIncreasing(1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))), ≥))
(18) ((UIncreasing(1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))), ≥)∧[(-1)bso_38] ≥ 0)
(19) ((UIncreasing(1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))), ≥)∧[(-1)bso_38] ≥ 0)
(20) ((UIncreasing(1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))), ≥)∧[(-1)bso_38] ≥ 0)
(21) ((UIncreasing(1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))), ≥)∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_38] ≥ 0)
(22) (&&(>=(x2[4], 2), <(x2[4], x0[4]))=TRUE∧1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4])=1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5])∧x3[4]=x3[5] ⇒ 1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])≥NonInfC∧1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])≥COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])∧(UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥))
(23) (>=(x2[4], 2)=TRUE∧<(x2[4], x0[4])=TRUE ⇒ 1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])≥NonInfC∧1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])≥COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])∧(UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥))
(24) (x2[4] + [-2] ≥ 0∧x0[4] + [-1] + [-1]x2[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[(-1)Bound*bni_39] + [bni_39]x3[4] ≥ 0∧[(-1)bso_40] ≥ 0)
(25) (x2[4] + [-2] ≥ 0∧x0[4] + [-1] + [-1]x2[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[(-1)Bound*bni_39] + [bni_39]x3[4] ≥ 0∧[(-1)bso_40] ≥ 0)
(26) (x2[4] + [-2] ≥ 0∧x0[4] + [-1] + [-1]x2[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[(-1)Bound*bni_39] + [bni_39]x3[4] ≥ 0∧[(-1)bso_40] ≥ 0)
(27) (x2[4] + [-2] ≥ 0∧x0[4] + [-1] + [-1]x2[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)Bound*bni_39] ≥ 0∧0 = 0∧0 = 0∧[(-1)bso_40] ≥ 0)
(28) (x2[4] ≥ 0∧x0[4] + [-3] + [-1]x2[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)Bound*bni_39] ≥ 0∧0 = 0∧0 = 0∧[(-1)bso_40] ≥ 0)
(29) (x2[4] ≥ 0∧x0[4] ≥ 0 ⇒ (UIncreasing(COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)Bound*bni_39] ≥ 0∧0 = 0∧0 = 0∧[(-1)bso_40] ≥ 0)
(30) (COND_1659_1_MAIN_INVOKEMETHOD(TRUE, 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5]), x3[5])≥NonInfC∧COND_1659_1_MAIN_INVOKEMETHOD(TRUE, 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5]), x3[5])≥1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])∧(UIncreasing(1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])), ≥))
(31) ((UIncreasing(1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])), ≥)∧[(-1)bso_42] ≥ 0)
(32) ((UIncreasing(1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])), ≥)∧[(-1)bso_42] ≥ 0)
(33) ((UIncreasing(1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])), ≥)∧[(-1)bso_42] ≥ 0)
(34) ((UIncreasing(1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])), ≥)∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_42] ≥ 0)
(35) (>(x2[6], 0)=TRUE∧1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6])=1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7])∧x4[6]=x4[7] ⇒ 1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])≥NonInfC∧1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])≥COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])∧(UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥))
(36) (>(x2[6], 0)=TRUE ⇒ 1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])≥NonInfC∧1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])≥COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])∧(UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥))
(37) (x2[6] + [-1] ≥ 0 ⇒ (UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥)∧[(-1)Bound*bni_43] + [bni_43]x4[6] ≥ 0∧[(-1)bso_44] ≥ 0)
(38) (x2[6] + [-1] ≥ 0 ⇒ (UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥)∧[(-1)Bound*bni_43] + [bni_43]x4[6] ≥ 0∧[(-1)bso_44] ≥ 0)
(39) (x2[6] + [-1] ≥ 0 ⇒ (UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥)∧[(-1)Bound*bni_43] + [bni_43]x4[6] ≥ 0∧[(-1)bso_44] ≥ 0)
(40) (x2[6] + [-1] ≥ 0 ⇒ (UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥)∧0 = 0∧0 = 0∧[bni_43] = 0∧[(-1)Bound*bni_43] ≥ 0∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_44] ≥ 0)
(41) (x2[6] ≥ 0 ⇒ (UIncreasing(COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])), ≥)∧0 = 0∧0 = 0∧[bni_43] = 0∧[(-1)Bound*bni_43] ≥ 0∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_44] ≥ 0)
(42) (COND_1694_1_MAIN_INVOKEMETHOD(TRUE, 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7]), x4[7])≥NonInfC∧COND_1694_1_MAIN_INVOKEMETHOD(TRUE, 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7]), x4[7])≥1617_0_MAIN_LT(x1[7], x4[7])∧(UIncreasing(1617_0_MAIN_LT(x1[7], x4[7])), ≥))
(43) ((UIncreasing(1617_0_MAIN_LT(x1[7], x4[7])), ≥)∧[(-1)bso_46] ≥ 0)
(44) ((UIncreasing(1617_0_MAIN_LT(x1[7], x4[7])), ≥)∧[(-1)bso_46] ≥ 0)
(45) ((UIncreasing(1617_0_MAIN_LT(x1[7], x4[7])), ≥)∧[(-1)bso_46] ≥ 0)
(46) ((UIncreasing(1617_0_MAIN_LT(x1[7], x4[7])), ≥)∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧[(-1)bso_46] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(1617_0_MAIN_LT(x1, x2)) = x2
POL(-1) = [-1]
POL(COND_1617_0_MAIN_LT(x1, x2, x3)) = [-1]
POL(&&(x1, x2)) = [-1]
POL(>=(x1, x2)) = [-1]
POL(0) = 0
POL(>(x1, x2)) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(COND_1617_0_MAIN_LT1(x1, x2, x3)) = [-1] + x3
POL(1659_1_MAIN_INVOKEMETHOD(x1, x2)) = x2 + [-1]x1
POL(1659_0_random_ArrayAccess(x1, x2)) = [-1] + [-1]x1
POL(java.lang.Object(x1)) = x1
POL(ARRAY(x1, x2)) = [-1]
POL(COND_1659_1_MAIN_INVOKEMETHOD(x1, x2, x3)) = x3 + [-1]x2
POL(2) = [2]
POL(<(x1, x2)) = [-1]
POL(1694_1_MAIN_INVOKEMETHOD(x1, x2)) = x2
POL(1694_0_random_IntArithmetic(x1, x2)) = [-1] + [-1]x2 + [-1]x1
POL(java.lang.String(x1, x2)) = [-1] + [-1]x2 + [-1]x1
POL(COND_1694_1_MAIN_INVOKEMETHOD(x1, x2, x3)) = x3
1617_0_MAIN_LT(x1[2], x0[2]) → COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])
1617_0_MAIN_LT(x1[0], -1) → COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)
1617_0_MAIN_LT(x1[2], x0[2]) → COND_1617_0_MAIN_LT1(>=(x0[2], 0), x1[2], x0[2])
1617_0_MAIN_LT(x1[0], -1) → COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)
COND_1617_0_MAIN_LT(TRUE, x1[1], -1) → 1617_0_MAIN_LT(+(x1[1], -1), -1)
COND_1617_0_MAIN_LT1(TRUE, x1[3], x0[3]) → 1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]), +(x0[3], -1))
1659_1_MAIN_INVOKEMETHOD(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4]) → COND_1659_1_MAIN_INVOKEMETHOD(&&(>=(x2[4], 2), <(x2[4], x0[4])), 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]), x3[4])
COND_1659_1_MAIN_INVOKEMETHOD(TRUE, 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5]), x3[5]) → 1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(x4[5], x5[5]), x3[5])
1694_1_MAIN_INVOKEMETHOD(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6]) → COND_1694_1_MAIN_INVOKEMETHOD(>(x2[6], 0), 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]), x4[6])
COND_1694_1_MAIN_INVOKEMETHOD(TRUE, 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7]), x4[7]) → 1617_0_MAIN_LT(x1[7], x4[7])
!= | ~ | Neq: (Integer, Integer) -> Boolean |
* | ~ | Mul: (Integer, Integer) -> Integer |
>= | ~ | Ge: (Integer, Integer) -> Boolean |
-1 | ~ | UnaryMinus: (Integer) -> Integer |
| | ~ | Bwor: (Integer, Integer) -> Integer |
/ | ~ | Div: (Integer, Integer) -> Integer |
= | ~ | Eq: (Integer, Integer) -> Boolean |
~ | Bwxor: (Integer, Integer) -> Integer | |
|| | ~ | Lor: (Boolean, Boolean) -> Boolean |
! | ~ | Lnot: (Boolean) -> Boolean |
< | ~ | Lt: (Integer, Integer) -> Boolean |
- | ~ | Sub: (Integer, Integer) -> Integer |
<= | ~ | Le: (Integer, Integer) -> Boolean |
> | ~ | Gt: (Integer, Integer) -> Boolean |
~ | ~ | Bwnot: (Integer) -> Integer |
% | ~ | Mod: (Integer, Integer) -> Integer |
& | ~ | Bwand: (Integer, Integer) -> Integer |
+ | ~ | Add: (Integer, Integer) -> Integer |
&& | ~ | Land: (Boolean, Boolean) -> Boolean |
Boolean, Integer
(1) -> (0), if (x1[1] + -1 →* x1[0])
(7) -> (0), if ((x1[7] →* x1[0])∧(x4[7] →* -1))
(0) -> (1), if ((x1[0] >= 0 && 0 > -1 →* TRUE)∧(x1[0] →* x1[1]))
(3) -> (4), if ((1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x2[3], x3[3])), x4[3]) →* 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]))∧(x0[3] + -1 →* x3[4]))
(4) -> (5), if ((x2[4] >= 2 && x2[4] < x0[4] →* TRUE)∧(1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[4], x1[4])), x2[4]) →* 1659_0_random_ArrayAccess(java.lang.Object(ARRAY(x0[5], x1[5])), x2[5]))∧(x3[4] →* x3[5]))
(5) -> (6), if ((1694_0_random_IntArithmetic(x4[5], x5[5]) →* 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]))∧(x3[5] →* x4[6]))
(6) -> (7), if ((x2[6] > 0 →* TRUE)∧(1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[6], x1[6])), x2[6]) →* 1694_0_random_IntArithmetic(java.lang.Object(java.lang.String(x0[7], x1[7])), x2[7]))∧(x4[6] →* x4[7]))
!= | ~ | 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] >= 0 && 0 > -1 →* TRUE)∧(x1[0] →* x1[1]))
(1) (COND_1617_0_MAIN_LT(TRUE, x1[1], -1)≥NonInfC∧COND_1617_0_MAIN_LT(TRUE, x1[1], -1)≥1617_0_MAIN_LT(+(x1[1], -1), -1)∧(UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥))
(2) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[1 + (-1)bso_9] ≥ 0)
(3) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[1 + (-1)bso_9] ≥ 0)
(4) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧[1 + (-1)bso_9] ≥ 0)
(5) ((UIncreasing(1617_0_MAIN_LT(+(x1[1], -1), -1)), ≥)∧0 = 0∧[1 + (-1)bso_9] ≥ 0)
(6) (&&(>=(x1[0], 0), >(0, -1))=TRUE∧x1[0]=x1[1] ⇒ 1617_0_MAIN_LT(x1[0], -1)≥NonInfC∧1617_0_MAIN_LT(x1[0], -1)≥COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)∧(UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥))
(7) (>=(x1[0], 0)=TRUE ⇒ 1617_0_MAIN_LT(x1[0], -1)≥NonInfC∧1617_0_MAIN_LT(x1[0], -1)≥COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)∧(UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥))
(8) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(2)bni_10 + (-1)Bound*bni_10] + [(2)bni_10]x1[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(9) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(2)bni_10 + (-1)Bound*bni_10] + [(2)bni_10]x1[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
(10) (x1[0] ≥ 0 ⇒ (UIncreasing(COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)), ≥)∧[(2)bni_10 + (-1)Bound*bni_10] + [(2)bni_10]x1[0] ≥ 0∧[1 + (-1)bso_11] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(COND_1617_0_MAIN_LT(x1, x2, x3)) = [1] + [2]x2
POL(-1) = [-1]
POL(1617_0_MAIN_LT(x1, x2)) = [2] + [2]x1
POL(+(x1, x2)) = x1 + x2
POL(&&(x1, x2)) = [-1]
POL(>=(x1, x2)) = [-1]
POL(0) = 0
POL(>(x1, x2)) = [2]
COND_1617_0_MAIN_LT(TRUE, x1[1], -1) → 1617_0_MAIN_LT(+(x1[1], -1), -1)
1617_0_MAIN_LT(x1[0], -1) → COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(0, -1)), x1[0], -1)
1617_0_MAIN_LT(x1[0], -1) → COND_1617_0_MAIN_LT(&&(>=(x1[0], 0), >(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