0 JBC
↳1 JBCToGraph (⇒, 140 ms)
↳2 JBCTerminationGraph
↳3 TerminationGraphToSCCProof (⇒, 0 ms)
↳4 JBCTerminationSCC
↳5 SCCToIDPv1Proof (⇒, 140 ms)
↳6 IDP
↳7 IDPNonInfProof (⇒, 170 ms)
↳8 AND
↳9 IDP
↳10 IDPNonInfProof (⇒, 20 ms)
↳11 AND
↳12 IDP
↳13 IDependencyGraphProof (⇔, 0 ms)
↳14 TRUE
↳15 IDP
↳16 IDependencyGraphProof (⇔, 0 ms)
↳17 TRUE
↳18 IDP
↳19 IDependencyGraphProof (⇔, 0 ms)
↳20 TRUE
public class MinusMin{
public static int min (int x, int y) {
if (x < y) return x;
else return y;
}
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();
int res = 0;
while (min(x-1,y) == y) {
y++;
res++;
}
}
}
public class Random {
static String[] args;
static int index = 0;
public static int random() {
String string = args[index];
index++;
return string.length();
}
}
Generated 25 rules for P and 0 rules for R.
P rules:
675_0_main_ConstantStackPush(EOS(STATIC_675), i18, i106, i18) → 677_0_main_IntArithmetic(EOS(STATIC_677), i18, i106, i18, 1)
677_0_main_IntArithmetic(EOS(STATIC_677), i18, i106, i18, matching1) → 679_0_main_Load(EOS(STATIC_679), i18, i106, -(i18, 1)) | &&(>=(i18, 0), =(matching1, 1))
679_0_main_Load(EOS(STATIC_679), i18, i106, i111) → 681_0_main_InvokeMethod(EOS(STATIC_681), i18, i106, i111, i106)
681_0_main_InvokeMethod(EOS(STATIC_681), i18, i106, i111, i106) → 682_0_min_Load(EOS(STATIC_682), i18, i106, i111, i106, i111, i106)
682_0_min_Load(EOS(STATIC_682), i18, i106, i111, i106, i111, i106) → 685_0_min_Load(EOS(STATIC_685), i18, i106, i111, i106, i111, i106, i111)
685_0_min_Load(EOS(STATIC_685), i18, i106, i111, i106, i111, i106, i111) → 687_0_min_GE(EOS(STATIC_687), i18, i106, i111, i106, i111, i106, i111, i106)
687_0_min_GE(EOS(STATIC_687), i18, i106, i111, i106, i111, i106, i111, i106) → 689_0_min_GE(EOS(STATIC_689), i18, i106, i111, i106, i111, i106, i111, i106)
687_0_min_GE(EOS(STATIC_687), i18, i106, i111, i106, i111, i106, i111, i106) → 690_0_min_GE(EOS(STATIC_690), i18, i106, i111, i106, i111, i106, i111, i106)
689_0_min_GE(EOS(STATIC_689), i18, i106, i111, i106, i111, i106, i111, i106) → 692_0_min_Load(EOS(STATIC_692), i18, i106, i111, i106, i106) | >=(i111, i106)
692_0_min_Load(EOS(STATIC_692), i18, i106, i111, i106, i106) → 697_0_min_Return(EOS(STATIC_697), i18, i106, i111, i106, i106)
697_0_min_Return(EOS(STATIC_697), i18, i106, i111, i106, i106) → 701_0_main_Load(EOS(STATIC_701), i18, i106, i106)
701_0_main_Load(EOS(STATIC_701), i18, i106, i106) → 706_0_main_NE(EOS(STATIC_706), i18, i106, i106, i106)
706_0_main_NE(EOS(STATIC_706), i18, i106, i106, i106) → 713_0_main_Inc(EOS(STATIC_713), i18, i106)
713_0_main_Inc(EOS(STATIC_713), i18, i106) → 726_0_main_Inc(EOS(STATIC_726), i18, i106)
726_0_main_Inc(EOS(STATIC_726), i18, i106) → 729_0_main_Inc(EOS(STATIC_729), i18, +(i106, 1))
729_0_main_Inc(EOS(STATIC_729), i18, i114) → 731_0_main_JMP(EOS(STATIC_731), i18, i114)
731_0_main_JMP(EOS(STATIC_731), i18, i114) → 735_0_main_Load(EOS(STATIC_735), i18, i114)
735_0_main_Load(EOS(STATIC_735), i18, i114) → 672_0_main_Load(EOS(STATIC_672), i18, i114)
672_0_main_Load(EOS(STATIC_672), i18, i106) → 675_0_main_ConstantStackPush(EOS(STATIC_675), i18, i106, i18)
690_0_min_GE(EOS(STATIC_690), i18, i106, i111, i106, i111, i106, i111, i106) → 695_0_min_Load(EOS(STATIC_695), i18, i106, i111, i106, i111, i106) | <(i111, i106)
695_0_min_Load(EOS(STATIC_695), i18, i106, i111, i106, i111, i106) → 699_0_min_Return(EOS(STATIC_699), i18, i106, i111, i106, i106, i111)
699_0_min_Return(EOS(STATIC_699), i18, i106, i111, i106, i106, i111) → 704_0_main_Load(EOS(STATIC_704), i18, i106, i111)
704_0_main_Load(EOS(STATIC_704), i18, i106, i111) → 711_0_main_NE(EOS(STATIC_711), i18, i106, i111, i106)
711_0_main_NE(EOS(STATIC_711), i18, i106, i106, i106) → 717_0_main_NE(EOS(STATIC_717), i18, i106, i106, i106)
717_0_main_NE(EOS(STATIC_717), i18, i106, i106, i106) → 726_0_main_Inc(EOS(STATIC_726), i18, i106)
R rules:
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
675_0_main_ConstantStackPush(EOS(STATIC_675), x0, x1, x0) → 675_0_main_ConstantStackPush(EOS(STATIC_675), x0, +(x1, 1), x0) | &&(<=(x1, -(x0, 1)), >(+(x0, 1), 0))
675_0_main_ConstantStackPush(EOS(STATIC_675), x0, -(x0, 1), x0) → 675_0_main_ConstantStackPush(EOS(STATIC_675), x0, +(-(x0, 1), 1), x0) | &&(>(+(x0, 1), 0), <(-(x0, 1), -(x0, 1)))
R rules:
Filtered ground terms:
675_0_main_ConstantStackPush(x1, x2, x3, x4) → 675_0_main_ConstantStackPush(x2, x3, x4)
EOS(x1) → EOS
Cond_675_0_main_ConstantStackPush1(x1, x2, x3, x4, x5) → Cond_675_0_main_ConstantStackPush1(x1, x3, x4, x5)
Cond_675_0_main_ConstantStackPush(x1, x2, x3, x4, x5) → Cond_675_0_main_ConstantStackPush(x1, x3, x4, x5)
Filtered duplicate args:
675_0_main_ConstantStackPush(x1, x2, x3) → 675_0_main_ConstantStackPush(x2, x3)
Cond_675_0_main_ConstantStackPush(x1, x2, x3, x4) → Cond_675_0_main_ConstantStackPush(x1, x3, x4)
Cond_675_0_main_ConstantStackPush1(x1, x2, x3, x4) → Cond_675_0_main_ConstantStackPush1(x1, x3)
Combined rules. Obtained 2 conditional rules for P and 0 conditional rules for R.
P rules:
675_0_main_ConstantStackPush(x1, x0) → 675_0_main_ConstantStackPush(+(x1, 1), x0) | &&(<=(x1, -(x0, 1)), >(x0, -1))
675_0_main_ConstantStackPush(x0_-1, x0) → 675_0_main_ConstantStackPush(+(-(x0, 1), 1), x0) | &&(&&(>(x0, -1), <(-(x0, 1), -(x0, 1))), =(x0_-1, -(x0, 1)))
R rules:
Finished conversion. Obtained 4 rules for P and 0 rules for R. System has predefined symbols.
P rules:
675_0_MAIN_CONSTANTSTACKPUSH(x1, x0) → COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1, -(x0, 1)), >(x0, -1)), x1, x0)
COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1, x0) → 675_0_MAIN_CONSTANTSTACKPUSH(+(x1, 1), x0)
675_0_MAIN_CONSTANTSTACKPUSH(x0_-1, x0) → COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0, -1), <(-(x0, 1), -(x0, 1))), =(x0_-1, -(x0, 1))), x0_-1, x0)
COND_675_0_MAIN_CONSTANTSTACKPUSH1(TRUE, x0_-1, x0) → 675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0, 1), 1), x0)
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 (x1[0] <= x0[0] - 1 && x0[0] > -1 ∧x1[0] →* x1[1]∧x0[0] →* x0[1])
(1) -> (0), if (x1[1] + 1 →* x1[0]∧x0[1] →* x0[0])
(1) -> (2), if (x1[1] + 1 →* x0_-1[2]∧x0[1] →* x0[2])
(2) -> (3), if (x0[2] > -1 && x0[2] - 1 < x0[2] - 1 && x0_-1[2] = x0[2] - 1 ∧x0_-1[2] →* x0_-1[3]∧x0[2] →* x0[3])
(3) -> (0), if (x0[3] - 1 + 1 →* x1[0]∧x0[3] →* x0[0])
(3) -> (2), if (x0[3] - 1 + 1 →* x0_-1[2]∧x0[3] →* x0[2])
(1) (&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1))=TRUE∧x1[0]=x1[1]∧x0[0]=x0[1] ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥))
(2) (<=(x1[0], -(x0[0], 1))=TRUE∧>(x0[0], -1)=TRUE ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥))
(3) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(4) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(5) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(6) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(7) (x0[0] + [-1] + x1[0] ≥ 0∧x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(8) (x0[0] ≥ 0∧[1] + x1[0] + x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_13] + [bni_13]x1[0] + [bni_13]x0[0] ≥ 0∧[(-1)bso_14] ≥ 0)
(9) (COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1])≥NonInfC∧COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1])≥675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])∧(UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥))
(10) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_15] = 0∧[(-1)bso_16] ≥ 0)
(11) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_15] = 0∧[(-1)bso_16] ≥ 0)
(12) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_15] = 0∧[(-1)bso_16] ≥ 0)
(13) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_15] = 0∧0 = 0∧0 = 0∧[(-1)bso_16] ≥ 0)
(14) (&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1)))=TRUE∧x0_-1[2]=x0_-1[3]∧x0[2]=x0[3] ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2])≥COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])), ≥))
(15) (>(x0[2], -1)=TRUE∧<(-(x0[2], 1), -(x0[2], 1))=TRUE∧>=(x0_-1[2], -(x0[2], 1))=TRUE∧<=(x0_-1[2], -(x0[2], 1))=TRUE ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2])≥COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])), ≥))
(16) (x0[2] ≥ 0∧[-1] ≥ 0∧x0-1[2] + [1] + [-1]x0[2] ≥ 0∧x0[2] + [-1] + [-1]x0-1[2] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x0[2] ≥ 0∧[-2 + (-1)bso_18] ≥ 0)
(17) (x0[2] ≥ 0∧[-1] ≥ 0∧x0-1[2] + [1] + [-1]x0[2] ≥ 0∧x0[2] + [-1] + [-1]x0-1[2] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x0[2] ≥ 0∧[-2 + (-1)bso_18] ≥ 0)
(18) (x0[2] ≥ 0∧[-1] ≥ 0∧x0-1[2] + [1] + [-1]x0[2] ≥ 0∧x0[2] + [-1] + [-1]x0-1[2] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])), ≥)∧[(-1)bni_17 + (-1)Bound*bni_17] + [bni_17]x0[2] ≥ 0∧[-2 + (-1)bso_18] ≥ 0)
(19) (COND_675_0_MAIN_CONSTANTSTACKPUSH1(TRUE, x0_-1[3], x0[3])≥NonInfC∧COND_675_0_MAIN_CONSTANTSTACKPUSH1(TRUE, x0_-1[3], x0[3])≥675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])∧(UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])), ≥))
(20) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])), ≥)∧[bni_19] = 0∧[2 + (-1)bso_20] ≥ 0)
(21) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])), ≥)∧[bni_19] = 0∧[2 + (-1)bso_20] ≥ 0)
(22) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])), ≥)∧[bni_19] = 0∧[2 + (-1)bso_20] ≥ 0)
(23) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])), ≥)∧[bni_19] = 0∧0 = 0∧0 = 0∧[2 + (-1)bso_20] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(675_0_MAIN_CONSTANTSTACKPUSH(x1, x2)) = [-1] + x2
POL(COND_675_0_MAIN_CONSTANTSTACKPUSH(x1, x2, x3)) = [-1] + x3
POL(&&(x1, x2)) = [-1]
POL(<=(x1, x2)) = [-1]
POL(-(x1, x2)) = x1 + [-1]x2
POL(1) = [1]
POL(>(x1, x2)) = [-1]
POL(-1) = [-1]
POL(+(x1, x2)) = x1 + x2
POL(COND_675_0_MAIN_CONSTANTSTACKPUSH1(x1, x2, x3)) = [1] + x3
POL(<(x1, x2)) = [-1]
POL(=(x1, x2)) = [-1]
675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2]) → COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])
COND_675_0_MAIN_CONSTANTSTACKPUSH1(TRUE, x0_-1[3], x0[3]) → 675_0_MAIN_CONSTANTSTACKPUSH(+(-(x0[3], 1), 1), x0[3])
675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0]) → COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])
675_0_MAIN_CONSTANTSTACKPUSH(x0_-1[2], x0[2]) → COND_675_0_MAIN_CONSTANTSTACKPUSH1(&&(&&(>(x0[2], -1), <(-(x0[2], 1), -(x0[2], 1))), =(x0_-1[2], -(x0[2], 1))), x0_-1[2], x0[2])
675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0]) → COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])
COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1]) → 675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[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 |
Boolean, Integer
(1) -> (0), if (x1[1] + 1 →* x1[0]∧x0[1] →* x0[0])
(0) -> (1), if (x1[0] <= x0[0] - 1 && x0[0] > -1 ∧x1[0] →* x1[1]∧x0[0] →* x0[1])
(1) (&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1))=TRUE∧x1[0]=x1[1]∧x0[0]=x0[1] ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥))
(2) (<=(x1[0], -(x0[0], 1))=TRUE∧>(x0[0], -1)=TRUE ⇒ 675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥NonInfC∧675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0])≥COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])∧(UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥))
(3) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] + [(-1)bni_8]x1[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(4) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] + [(-1)bni_8]x1[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(5) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] + [(-1)bni_8]x1[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(6) (x0[0] + [-1] + [-1]x1[0] ≥ 0∧x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] + [(-1)bni_8]x1[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(7) (x0[0] + [-1] + x1[0] ≥ 0∧x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] + [bni_8]x1[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(8) (x0[0] ≥ 0∧[1] + x1[0] + x0[0] ≥ 0∧x1[0] ≥ 0 ⇒ (UIncreasing(COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])), ≥)∧[(2)bni_8 + (-1)Bound*bni_8] + [bni_8]x0[0] ≥ 0∧[(-1)bso_9] ≥ 0)
(9) (COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1])≥NonInfC∧COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1])≥675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])∧(UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥))
(10) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_10] = 0∧[1 + (-1)bso_11] ≥ 0)
(11) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_10] = 0∧[1 + (-1)bso_11] ≥ 0)
(12) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_10] = 0∧[1 + (-1)bso_11] ≥ 0)
(13) ((UIncreasing(675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])), ≥)∧[bni_10] = 0∧0 = 0∧0 = 0∧[1 + (-1)bso_11] ≥ 0)
POL(TRUE) = 0
POL(FALSE) = 0
POL(675_0_MAIN_CONSTANTSTACKPUSH(x1, x2)) = [1] + x2 + [-1]x1
POL(COND_675_0_MAIN_CONSTANTSTACKPUSH(x1, x2, x3)) = [1] + x3 + [-1]x2
POL(&&(x1, x2)) = [-1]
POL(<=(x1, x2)) = [-1]
POL(-(x1, x2)) = x1 + [-1]x2
POL(1) = [1]
POL(>(x1, x2)) = [-1]
POL(-1) = [-1]
POL(+(x1, x2)) = x1 + x2
COND_675_0_MAIN_CONSTANTSTACKPUSH(TRUE, x1[1], x0[1]) → 675_0_MAIN_CONSTANTSTACKPUSH(+(x1[1], 1), x0[1])
675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0]) → COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[0], x0[0])
675_0_MAIN_CONSTANTSTACKPUSH(x1[0], x0[0]) → COND_675_0_MAIN_CONSTANTSTACKPUSH(&&(<=(x1[0], -(x0[0], 1)), >(x0[0], -1)), x1[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 |
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
!= | ~ | 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