0 JBC
↳1 JBCToGraph (⇒, 580 ms)
↳2 JBCTerminationGraph
↳3 TerminationGraphToSCCProof (⇒, 0 ms)
↳4 JBCTerminationSCC
↳5 SCCToIDPv1Proof (⇒, 100 ms)
↳6 IDP
↳7 IDPNonInfProof (⇒, 1290 ms)
↳8 IDP
↳9 IDependencyGraphProof (⇔, 0 ms)
↳10 TRUE
public class LogAG{
// adapted from Arts&Giesl, 2001
public static int half(int x) {
int res = 0;
while (x > 1) {
x = x-2;
res++;
}
return res;
}
public static int log(int x) {
int res = 0;
while (x > 1) {
x = half(x-2)+1;
res++;
}
return res;
}
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
log(x);
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
Generated 35 rules for P and 0 rules for R.
P rules:
1387_0_log_ConstantStackPush(EOS(STATIC_1387), i392, i392) → 1389_0_log_LE(EOS(STATIC_1389), i392, i392, 1)
1389_0_log_LE(EOS(STATIC_1389), i420, i420, matching1) → 1392_0_log_LE(EOS(STATIC_1392), i420, i420, 1) | =(matching1, 1)
1392_0_log_LE(EOS(STATIC_1392), i420, i420, matching1) → 1395_0_log_Load(EOS(STATIC_1395), i420) | &&(>(i420, 1), =(matching1, 1))
1395_0_log_Load(EOS(STATIC_1395), i420) → 1398_0_log_ConstantStackPush(EOS(STATIC_1398), i420)
1398_0_log_ConstantStackPush(EOS(STATIC_1398), i420) → 1401_0_log_IntArithmetic(EOS(STATIC_1401), i420, 2)
1401_0_log_IntArithmetic(EOS(STATIC_1401), i420, matching1) → 1404_0_log_InvokeMethod(EOS(STATIC_1404), -(i420, 2)) | &&(>(i420, 0), =(matching1, 2))
1404_0_log_InvokeMethod(EOS(STATIC_1404), i421) → 1406_0_half_ConstantStackPush(EOS(STATIC_1406), i421, i421)
1406_0_half_ConstantStackPush(EOS(STATIC_1406), i421, i421) → 1408_0_half_Store(EOS(STATIC_1408), i421, i421, 0)
1408_0_half_Store(EOS(STATIC_1408), i421, i421, matching1) → 1409_0_half_Load(EOS(STATIC_1409), i421, i421, 0) | =(matching1, 0)
1409_0_half_Load(EOS(STATIC_1409), i421, i421, matching1) → 1437_0_half_Load(EOS(STATIC_1437), i421, i421, 0) | =(matching1, 0)
1437_0_half_Load(EOS(STATIC_1437), i431, i429, i430) → 1464_0_half_Load(EOS(STATIC_1464), i431, i429, i430)
1464_0_half_Load(EOS(STATIC_1464), i431, i444, i445) → 1491_0_half_Load(EOS(STATIC_1491), i431, i444, i445)
1491_0_half_Load(EOS(STATIC_1491), i431, i457, i458) → 1521_0_half_Load(EOS(STATIC_1521), i431, i457, i458)
1521_0_half_Load(EOS(STATIC_1521), i431, i470, i471) → 1523_0_half_ConstantStackPush(EOS(STATIC_1523), i431, i470, i471, i470)
1523_0_half_ConstantStackPush(EOS(STATIC_1523), i431, i470, i471, i470) → 1524_0_half_LE(EOS(STATIC_1524), i431, i470, i471, i470, 1)
1524_0_half_LE(EOS(STATIC_1524), i431, i477, i471, i477, matching1) → 1526_0_half_LE(EOS(STATIC_1526), i431, i477, i471, i477, 1) | =(matching1, 1)
1524_0_half_LE(EOS(STATIC_1524), i431, i478, i471, i478, matching1) → 1527_0_half_LE(EOS(STATIC_1527), i431, i478, i471, i478, 1) | =(matching1, 1)
1526_0_half_LE(EOS(STATIC_1526), i431, i477, i471, i477, matching1) → 1528_0_half_Load(EOS(STATIC_1528), i431, i471) | &&(<=(i477, 1), =(matching1, 1))
1528_0_half_Load(EOS(STATIC_1528), i431, i471) → 1531_0_half_Return(EOS(STATIC_1531), i431, i471)
1531_0_half_Return(EOS(STATIC_1531), i431, i471) → 1534_0_log_ConstantStackPush(EOS(STATIC_1534), i471)
1534_0_log_ConstantStackPush(EOS(STATIC_1534), i471) → 1537_0_log_IntArithmetic(EOS(STATIC_1537), i471, 1)
1537_0_log_IntArithmetic(EOS(STATIC_1537), i471, matching1) → 1540_0_log_Store(EOS(STATIC_1540), +(i471, 1)) | &&(>=(i471, 0), =(matching1, 1))
1540_0_log_Store(EOS(STATIC_1540), i480) → 1543_0_log_Inc(EOS(STATIC_1543), i480)
1543_0_log_Inc(EOS(STATIC_1543), i480) → 1545_0_log_JMP(EOS(STATIC_1545), i480)
1545_0_log_JMP(EOS(STATIC_1545), i480) → 1550_0_log_Load(EOS(STATIC_1550), i480)
1550_0_log_Load(EOS(STATIC_1550), i480) → 1364_0_log_Load(EOS(STATIC_1364), i480)
1364_0_log_Load(EOS(STATIC_1364), i392) → 1387_0_log_ConstantStackPush(EOS(STATIC_1387), i392, i392)
1527_0_half_LE(EOS(STATIC_1527), i431, i478, i471, i478, matching1) → 1530_0_half_Load(EOS(STATIC_1530), i431, i478, i471) | &&(>(i478, 1), =(matching1, 1))
1530_0_half_Load(EOS(STATIC_1530), i431, i478, i471) → 1533_0_half_ConstantStackPush(EOS(STATIC_1533), i431, i471, i478)
1533_0_half_ConstantStackPush(EOS(STATIC_1533), i431, i471, i478) → 1536_0_half_IntArithmetic(EOS(STATIC_1536), i431, i471, i478, 2)
1536_0_half_IntArithmetic(EOS(STATIC_1536), i431, i471, i478, matching1) → 1539_0_half_Store(EOS(STATIC_1539), i431, i471, -(i478, 2)) | &&(>(i478, 0), =(matching1, 2))
1539_0_half_Store(EOS(STATIC_1539), i431, i471, i479) → 1541_0_half_Inc(EOS(STATIC_1541), i431, i479, i471)
1541_0_half_Inc(EOS(STATIC_1541), i431, i479, i471) → 1544_0_half_JMP(EOS(STATIC_1544), i431, i479, +(i471, 1)) | >=(i471, 0)
1544_0_half_JMP(EOS(STATIC_1544), i431, i479, i481) → 1548_0_half_Load(EOS(STATIC_1548), i431, i479, i481)
1548_0_half_Load(EOS(STATIC_1548), i431, i479, i481) → 1521_0_half_Load(EOS(STATIC_1521), i431, i479, i481)
R rules:
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
1524_0_half_LE(EOS(STATIC_1524), x0, x1, x2, x1, 1) → 1524_0_half_LE(EOS(STATIC_1524), -(+(x2, 1), 2), -(+(x2, 1), 2), 0, -(+(x2, 1), 2), 1) | &&(>(x2, 0), <=(x1, 1))
1524_0_half_LE(EOS(STATIC_1524), x0, x1, x2, x1, 1) → 1524_0_half_LE(EOS(STATIC_1524), x0, -(x1, 2), +(x2, 1), -(x1, 2), 1) | &&(>(+(x2, 1), 0), >(x1, 1))
R rules:
Filtered ground terms:
1524_0_half_LE(x1, x2, x3, x4, x5, x6) → 1524_0_half_LE(x2, x3, x4, x5)
EOS(x1) → EOS
Cond_1524_0_half_LE1(x1, x2, x3, x4, x5, x6, x7) → Cond_1524_0_half_LE1(x1, x3, x4, x5, x6)
Cond_1524_0_half_LE(x1, x2, x3, x4, x5, x6, x7) → Cond_1524_0_half_LE(x1, x3, x4, x5, x6)
Filtered duplicate args:
1524_0_half_LE(x1, x2, x3, x4) → 1524_0_half_LE(x1, x3, x4)
Cond_1524_0_half_LE(x1, x2, x3, x4, x5) → Cond_1524_0_half_LE(x1, x2, x4, x5)
Cond_1524_0_half_LE1(x1, x2, x3, x4, x5) → Cond_1524_0_half_LE1(x1, x2, x4, x5)
Filtered unneeded arguments:
Cond_1524_0_half_LE(x1, x2, x3, x4) → Cond_1524_0_half_LE(x1, x3)
Cond_1524_0_half_LE1(x1, x2, x3, x4) → Cond_1524_0_half_LE1(x1, x3, x4)
1524_0_half_LE(x1, x2, x3) → 1524_0_half_LE(x2, x3)
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
1524_0_half_LE(x2, x1) → 1524_0_half_LE(0, -(+(x2, 1), 2)) | &&(>(x2, 0), <=(x1, 1))
1524_0_half_LE(x2, x1) → 1524_0_half_LE(+(x2, 1), -(x1, 2)) | &&(>(x2, -1), >(x1, 1))
R rules:
Finished conversion. Obtained 4 rules for P and 0 rules for R. System has predefined symbols.
P rules:
1524_0_HALF_LE(x2, x1) → COND_1524_0_HALF_LE(&&(>(x2, 0), <=(x1, 1)), x2, x1)
COND_1524_0_HALF_LE(TRUE, x2, x1) → 1524_0_HALF_LE(0, -(+(x2, 1), 2))
1524_0_HALF_LE(x2, x1) → COND_1524_0_HALF_LE1(&&(>(x2, -1), >(x1, 1)), x2, x1)
COND_1524_0_HALF_LE1(TRUE, x2, x1) → 1524_0_HALF_LE(+(x2, 1), -(x1, 2))
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 |
Boolean, Integer
(0) -> (1), if (x2[0] > 0 && x1[0] <= 1 ∧x2[0] →* x2[1]∧x1[0] →* x1[1])
(1) -> (0), if (0 →* x2[0]∧x2[1] + 1 - 2 →* x1[0])
(1) -> (2), if (0 →* x2[2]∧x2[1] + 1 - 2 →* x1[2])
(2) -> (3), if (x2[2] > -1 && x1[2] > 1 ∧x2[2] →* x2[3]∧x1[2] →* x1[3])
(3) -> (0), if (x2[3] + 1 →* x2[0]∧x1[3] - 2 →* x1[0])
(3) -> (2), if (x2[3] + 1 →* x2[2]∧x1[3] - 2 →* x1[2])
(1) (&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1] ⇒ 1524_0_HALF_LE(x2[0], x1[0])≥NonInfC∧1524_0_HALF_LE(x2[0], x1[0])≥COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])∧(UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥))
(2) (>(x2[0], 0)=TRUE∧<=(x1[0], 1)=TRUE ⇒ 1524_0_HALF_LE(x2[0], x1[0])≥NonInfC∧1524_0_HALF_LE(x2[0], x1[0])≥COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])∧(UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥))
(3) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(4) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(5) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(6) (x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)Bound*bni_17] + [bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(7) (x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)Bound*bni_17] + [bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(8) (x2[0] ≥ 0∧[1] + x1[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])), ≥)∧[(-1)Bound*bni_17] + [(-1)bni_17]x1[0] + [bni_17]x2[0] ≥ 0∧[(-1)bso_18] ≥ 0)
(9) (&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[0]1∧-(+(x2[1], 1), 2)=x1[0]1∧&&(>(x2[0]1, 0), <=(x1[0]1, 1))=TRUE∧x2[0]1=x2[1]1∧x1[0]1=x1[1]1∧0=x2[0]2∧-(+(x2[1]1, 1), 2)=x1[0]2∧&&(>(x2[0]2, 0), <=(x1[0]2, 1))=TRUE∧x2[0]2=x2[1]2∧x1[0]2=x1[1]2 ⇒ COND_1524_0_HALF_LE(TRUE, x2[1]1, x1[1]1)≥NonInfC∧COND_1524_0_HALF_LE(TRUE, x2[1]1, x1[1]1)≥1524_0_HALF_LE(0, -(+(x2[1]1, 1), 2))∧(UIncreasing(1524_0_HALF_LE(0, -(+(x2[1]1, 1), 2))), ≥))
(10) (&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[0]1∧-(+(x2[1], 1), 2)=x1[0]1∧&&(>(x2[0]1, 0), <=(x1[0]1, 1))=TRUE∧x2[0]1=x2[1]1∧x1[0]1=x1[1]1∧0=x2[2]∧-(+(x2[1]1, 1), 2)=x1[2]∧&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3] ⇒ COND_1524_0_HALF_LE(TRUE, x2[1]1, x1[1]1)≥NonInfC∧COND_1524_0_HALF_LE(TRUE, x2[1]1, x1[1]1)≥1524_0_HALF_LE(0, -(+(x2[1]1, 1), 2))∧(UIncreasing(1524_0_HALF_LE(0, -(+(x2[1]1, 1), 2))), ≥))
(11) (&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[0]∧-(x1[3], 2)=x1[0]∧&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[0]1∧-(+(x2[1], 1), 2)=x1[0]1∧&&(>(x2[0]1, 0), <=(x1[0]1, 1))=TRUE∧x2[0]1=x2[1]1∧x1[0]1=x1[1]1 ⇒ COND_1524_0_HALF_LE(TRUE, x2[1], x1[1])≥NonInfC∧COND_1524_0_HALF_LE(TRUE, x2[1], x1[1])≥1524_0_HALF_LE(0, -(+(x2[1], 1), 2))∧(UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥))
(12) (&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[0]∧-(x1[3], 2)=x1[0]∧&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[2]1∧-(+(x2[1], 1), 2)=x1[2]1∧&&(>(x2[2]1, -1), >(x1[2]1, 1))=TRUE∧x2[2]1=x2[3]1∧x1[2]1=x1[3]1 ⇒ COND_1524_0_HALF_LE(TRUE, x2[1], x1[1])≥NonInfC∧COND_1524_0_HALF_LE(TRUE, x2[1], x1[1])≥1524_0_HALF_LE(0, -(+(x2[1], 1), 2))∧(UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥))
(13) (>(x2[2], -1)=TRUE∧>(x1[2], 1)=TRUE∧>(+(x2[2], 1), 0)=TRUE∧<=(-(x1[2], 2), 1)=TRUE∧>(-(+(+(x2[2], 1), 1), 2), 1)=TRUE ⇒ COND_1524_0_HALF_LE(TRUE, +(x2[2], 1), -(x1[2], 2))≥NonInfC∧COND_1524_0_HALF_LE(TRUE, +(x2[2], 1), -(x1[2], 2))≥1524_0_HALF_LE(0, -(+(+(x2[2], 1), 1), 2))∧(UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥))
(14) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] ≥ 0∧[3] + [-1]x1[2] ≥ 0∧x2[2] + [-2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] + [bni_19]x1[2] + [bni_19]x2[2] ≥ 0∧[-1 + (-1)bso_20] + x1[2] ≥ 0)
(15) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] ≥ 0∧[3] + [-1]x1[2] ≥ 0∧x2[2] + [-2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] + [bni_19]x1[2] + [bni_19]x2[2] ≥ 0∧[-1 + (-1)bso_20] + x1[2] ≥ 0)
(16) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] ≥ 0∧[3] + [-1]x1[2] ≥ 0∧x2[2] + [-2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥)∧[(-2)bni_19 + (-1)Bound*bni_19] + [bni_19]x1[2] + [bni_19]x2[2] ≥ 0∧[-1 + (-1)bso_20] + x1[2] ≥ 0)
(17) ([2] + x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧[2] + x2[2] ≥ 0∧[3] + [-1]x1[2] ≥ 0∧x2[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥)∧[(-1)Bound*bni_19] + [bni_19]x1[2] + [bni_19]x2[2] ≥ 0∧[-1 + (-1)bso_20] + x1[2] ≥ 0)
(18) ([2] + x2[2] ≥ 0∧x1[2] ≥ 0∧[2] + x2[2] ≥ 0∧[1] + [-1]x1[2] ≥ 0∧x2[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(0, -(+(x2[1], 1), 2))), ≥)∧[(-1)Bound*bni_19 + (2)bni_19] + [bni_19]x1[2] + [bni_19]x2[2] ≥ 0∧[1 + (-1)bso_20] + x1[2] ≥ 0)
(19) (&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3] ⇒ 1524_0_HALF_LE(x2[2], x1[2])≥NonInfC∧1524_0_HALF_LE(x2[2], x1[2])≥COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])∧(UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥))
(20) (>(x2[2], -1)=TRUE∧>(x1[2], 1)=TRUE ⇒ 1524_0_HALF_LE(x2[2], x1[2])≥NonInfC∧1524_0_HALF_LE(x2[2], x1[2])≥COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])∧(UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥))
(21) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥)∧[(-1)bni_21 + (-1)Bound*bni_21] + [bni_21]x1[2] + [bni_21]x2[2] ≥ 0∧[(-1)bso_22] ≥ 0)
(22) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥)∧[(-1)bni_21 + (-1)Bound*bni_21] + [bni_21]x1[2] + [bni_21]x2[2] ≥ 0∧[(-1)bso_22] ≥ 0)
(23) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥)∧[(-1)bni_21 + (-1)Bound*bni_21] + [bni_21]x1[2] + [bni_21]x2[2] ≥ 0∧[(-1)bso_22] ≥ 0)
(24) (x2[2] ≥ 0∧x1[2] ≥ 0 ⇒ (UIncreasing(COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])), ≥)∧[bni_21 + (-1)Bound*bni_21] + [bni_21]x1[2] + [bni_21]x2[2] ≥ 0∧[(-1)bso_22] ≥ 0)
(25) (&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[2]∧-(+(x2[1], 1), 2)=x1[2]∧&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[0]1∧-(x1[3], 2)=x1[0]1∧&&(>(x2[0]1, 0), <=(x1[0]1, 1))=TRUE∧x2[0]1=x2[1]1∧x1[0]1=x1[1]1 ⇒ COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3])≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3])≥1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥))
(26) (>(x2[0], 0)=TRUE∧<=(x1[0], 1)=TRUE∧>(-(+(x2[0], 1), 2), 1)=TRUE∧<=(-(-(+(x2[0], 1), 2), 2), 1)=TRUE ⇒ COND_1524_0_HALF_LE1(TRUE, 0, -(+(x2[0], 1), 2))≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, 0, -(+(x2[0], 1), 2))≥1524_0_HALF_LE(+(0, 1), -(-(+(x2[0], 1), 2), 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥))
(27) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧[4] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(28) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧[4] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(29) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧[4] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(30) (x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧[-2] + x2[0] ≥ 0∧[3] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(31) ([2] + x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] ≥ 0∧[1] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(32) ([2] + x2[0] ≥ 0∧x2[0] ≥ 0∧[1] + [-1]x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(33) (&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1]∧0=x2[2]∧-(+(x2[1], 1), 2)=x1[2]∧&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[2]1∧-(x1[3], 2)=x1[2]1∧&&(>(x2[2]1, -1), >(x1[2]1, 1))=TRUE∧x2[2]1=x2[3]1∧x1[2]1=x1[3]1 ⇒ COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3])≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3])≥1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥))
(34) (>(x2[0], 0)=TRUE∧<=(x1[0], 1)=TRUE∧>(-(+(x2[0], 1), 2), 1)=TRUE∧>(-(-(+(x2[0], 1), 2), 2), 1)=TRUE ⇒ COND_1524_0_HALF_LE1(TRUE, 0, -(+(x2[0], 1), 2))≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, 0, -(+(x2[0], 1), 2))≥1524_0_HALF_LE(+(0, 1), -(-(+(x2[0], 1), 2), 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥))
(35) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧x2[0] + [-5] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(36) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧x2[0] + [-5] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(37) (x2[0] + [-1] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] + [-3] ≥ 0∧x2[0] + [-5] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(38) (x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧[-2] + x2[0] ≥ 0∧[-4] + x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(-1)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(39) ([2] + x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧x2[0] ≥ 0∧[-2] + x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(40) ([4] + x2[0] ≥ 0∧[1] + [-1]x1[0] ≥ 0∧[2] + x2[0] ≥ 0∧x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(3)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(41) ([4] + x2[0] ≥ 0∧[2] + x2[0] ≥ 0∧x2[0] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))), ≥)∧[(3)bni_23 + (-1)Bound*bni_23] + [bni_23]x2[0] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(42) (&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[2]1∧-(x1[3], 2)=x1[2]1∧&&(>(x2[2]1, -1), >(x1[2]1, 1))=TRUE∧x2[2]1=x2[3]1∧x1[2]1=x1[3]1∧+(x2[3]1, 1)=x2[0]∧-(x1[3]1, 2)=x1[0]∧&&(>(x2[0], 0), <=(x1[0], 1))=TRUE∧x2[0]=x2[1]∧x1[0]=x1[1] ⇒ COND_1524_0_HALF_LE1(TRUE, x2[3]1, x1[3]1)≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, x2[3]1, x1[3]1)≥1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥))
(43) (>(x2[2], -1)=TRUE∧>(x1[2], 1)=TRUE∧>(+(x2[2], 1), -1)=TRUE∧>(-(x1[2], 2), 1)=TRUE∧>(+(+(x2[2], 1), 1), 0)=TRUE∧<=(-(-(x1[2], 2), 2), 1)=TRUE ⇒ COND_1524_0_HALF_LE1(TRUE, +(x2[2], 1), -(x1[2], 2))≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, +(x2[2], 1), -(x1[2], 2))≥1524_0_HALF_LE(+(+(x2[2], 1), 1), -(-(x1[2], 2), 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥))
(44) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [1] ≥ 0∧[5] + [-1]x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(45) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [1] ≥ 0∧[5] + [-1]x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(46) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [1] ≥ 0∧[5] + [-1]x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(47) (x2[2] ≥ 0∧x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧[-2] + x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧[3] + [-1]x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(48) (x2[2] ≥ 0∧[2] + x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧[1] + [-1]x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(49) (&&(>(x2[2], -1), >(x1[2], 1))=TRUE∧x2[2]=x2[3]∧x1[2]=x1[3]∧+(x2[3], 1)=x2[2]1∧-(x1[3], 2)=x1[2]1∧&&(>(x2[2]1, -1), >(x1[2]1, 1))=TRUE∧x2[2]1=x2[3]1∧x1[2]1=x1[3]1∧+(x2[3]1, 1)=x2[2]2∧-(x1[3]1, 2)=x1[2]2∧&&(>(x2[2]2, -1), >(x1[2]2, 1))=TRUE∧x2[2]2=x2[3]2∧x1[2]2=x1[3]2 ⇒ COND_1524_0_HALF_LE1(TRUE, x2[3]1, x1[3]1)≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, x2[3]1, x1[3]1)≥1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥))
(50) (>(x2[2], -1)=TRUE∧>(x1[2], 1)=TRUE∧>(+(x2[2], 1), -1)=TRUE∧>(-(x1[2], 2), 1)=TRUE∧>(+(+(x2[2], 1), 1), -1)=TRUE∧>(-(-(x1[2], 2), 2), 1)=TRUE ⇒ COND_1524_0_HALF_LE1(TRUE, +(x2[2], 1), -(x1[2], 2))≥NonInfC∧COND_1524_0_HALF_LE1(TRUE, +(x2[2], 1), -(x1[2], 2))≥1524_0_HALF_LE(+(+(x2[2], 1), 1), -(-(x1[2], 2), 2))∧(UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥))
(51) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [2] ≥ 0∧x1[2] + [-6] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(52) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [2] ≥ 0∧x1[2] + [-6] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(53) (x2[2] ≥ 0∧x1[2] + [-2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] + [-4] ≥ 0∧x2[2] + [2] ≥ 0∧x1[2] + [-6] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(54) (x2[2] ≥ 0∧x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧[-2] + x1[2] ≥ 0∧x2[2] + [2] ≥ 0∧[-4] + x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(55) (x2[2] ≥ 0∧[2] + x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧x1[2] ≥ 0∧x2[2] + [2] ≥ 0∧[-2] + x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(2)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
(56) (x2[2] ≥ 0∧[4] + x1[2] ≥ 0∧x2[2] + [1] ≥ 0∧[2] + x1[2] ≥ 0∧x2[2] + [2] ≥ 0∧x1[2] ≥ 0 ⇒ (UIncreasing(1524_0_HALF_LE(+(x2[3]1, 1), -(x1[3]1, 2))), ≥)∧[(4)bni_23 + (-1)Bound*bni_23] + [bni_23]x1[2] + [bni_23]x2[2] ≥ 0∧[1 + (-1)bso_24] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(1524_0_HALF_LE(x1, x2)) = [-1] + x2 + x1
POL(COND_1524_0_HALF_LE(x1, x2, x3)) = [-1] + x3 + x2 + [-1]x1
POL(&&(x1, x2)) = 0
POL(>(x1, x2)) = [-1]
POL(0) = 0
POL(<=(x1, x2)) = [-1]
POL(1) = [1]
POL(-(x1, x2)) = x1 + [-1]x2
POL(+(x1, x2)) = x1 + x2
POL(2) = [2]
POL(COND_1524_0_HALF_LE1(x1, x2, x3)) = [-1] + x3 + x2 + [-1]x1
POL(-1) = [-1]
COND_1524_0_HALF_LE(TRUE, x2[1], x1[1]) → 1524_0_HALF_LE(0, -(+(x2[1], 1), 2))
COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3]) → 1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))
COND_1524_0_HALF_LE(TRUE, x2[1], x1[1]) → 1524_0_HALF_LE(0, -(+(x2[1], 1), 2))
1524_0_HALF_LE(x2[2], x1[2]) → COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])
COND_1524_0_HALF_LE1(TRUE, x2[3], x1[3]) → 1524_0_HALF_LE(+(x2[3], 1), -(x1[3], 2))
1524_0_HALF_LE(x2[0], x1[0]) → COND_1524_0_HALF_LE(&&(>(x2[0], 0), <=(x1[0], 1)), x2[0], x1[0])
1524_0_HALF_LE(x2[2], x1[2]) → COND_1524_0_HALF_LE1(&&(>(x2[2], -1), >(x1[2], 1)), x2[2], x1[2])
TRUE1 → &&(TRUE, TRUE)1
&&(TRUE, FALSE)1 ↔ FALSE1
&&(FALSE, TRUE)1 ↔ FALSE1
&&(FALSE, FALSE)1 ↔ FALSE1
!= | ~ | 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