(0) Obligation:

JBC Problem based on JBC Program:
Manifest-Version: 1.0 Created-By: 1.6.0_16 (Sun Microsystems Inc.) Main-Class: PastaB18
/**
* 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 PastaB18 {
public static void main(String[] args) {
Random.args = args;
int x = Random.random();
int y = Random.random();

while (x > 0 && y > 0) {
if (x > y) {
while (x > 0) {
x--;
}
} else {
while (y > 0) {
y--;
}
}
}
}
}


public class Random {
static String[] args;
static int index = 0;

public static int random() {
String string = args[index];
index++;
return string.length();
}
}


(1) JBCToGraph (SOUND transformation)

Constructed TerminationGraph.

(2) Obligation:

Termination Graph based on JBC Program:
PastaB18.main([Ljava/lang/String;)V: Graph of 198 nodes with 1 SCC.


(3) TerminationGraphToSCCProof (SOUND transformation)

Splitted TerminationGraph to 1 SCCs.

(4) Obligation:

SCC of termination graph based on JBC Program.
SCC contains nodes from the following methods: PastaB18.main([Ljava/lang/String;)V
SCC calls the following helper methods:
Performed SCC analyses: UsedFieldsAnalysis

(5) SCCToIDPv1Proof (SOUND transformation)

Transformed FIGraph SCCs to IDPs. Log:

Generated 32 rules for P and 0 rules for R.


P rules:
305_0_main_LE(EOS(STATIC_305), i51, i47, i51) → 310_0_main_LE(EOS(STATIC_310), i51, i47, i51)
310_0_main_LE(EOS(STATIC_310), i51, i47, i51) → 325_0_main_Load(EOS(STATIC_325), i51, i47) | >(i51, 0)
325_0_main_Load(EOS(STATIC_325), i51, i47) → 330_0_main_LE(EOS(STATIC_330), i51, i47, i47)
330_0_main_LE(EOS(STATIC_330), i51, i55, i55) → 336_0_main_LE(EOS(STATIC_336), i51, i55, i55)
336_0_main_LE(EOS(STATIC_336), i51, i55, i55) → 354_0_main_Load(EOS(STATIC_354), i51, i55) | >(i55, 0)
354_0_main_Load(EOS(STATIC_354), i51, i55) → 365_0_main_Load(EOS(STATIC_365), i51, i55, i51)
365_0_main_Load(EOS(STATIC_365), i51, i55, i51) → 374_0_main_LE(EOS(STATIC_374), i51, i55, i51, i55)
374_0_main_LE(EOS(STATIC_374), i51, i55, i51, i55) → 382_0_main_LE(EOS(STATIC_382), i51, i55, i51, i55)
374_0_main_LE(EOS(STATIC_374), i51, i55, i51, i55) → 384_0_main_LE(EOS(STATIC_384), i51, i55, i51, i55)
382_0_main_LE(EOS(STATIC_382), i51, i55, i51, i55) → 397_0_main_Load(EOS(STATIC_397), i51, i55) | <=(i51, i55)
397_0_main_Load(EOS(STATIC_397), i51, i55) → 449_0_main_Load(EOS(STATIC_449), i51, i55)
449_0_main_Load(EOS(STATIC_449), i51, i70) → 466_0_main_LE(EOS(STATIC_466), i51, i70, i70)
466_0_main_LE(EOS(STATIC_466), i51, matching1, matching2) → 473_0_main_LE(EOS(STATIC_473), i51, 0, 0) | &&(=(matching1, 0), =(matching2, 0))
466_0_main_LE(EOS(STATIC_466), i51, i80, i80) → 474_0_main_LE(EOS(STATIC_474), i51, i80, i80)
473_0_main_LE(EOS(STATIC_473), i51, matching1, matching2) → 502_0_main_Load(EOS(STATIC_502), i51, 0) | &&(&&(<=(0, 0), =(matching1, 0)), =(matching2, 0))
502_0_main_Load(EOS(STATIC_502), i51, matching1) → 300_0_main_Load(EOS(STATIC_300), i51, 0) | =(matching1, 0)
300_0_main_Load(EOS(STATIC_300), i18, i47) → 305_0_main_LE(EOS(STATIC_305), i18, i47, i18)
474_0_main_LE(EOS(STATIC_474), i51, i80, i80) → 504_0_main_Inc(EOS(STATIC_504), i51, i80) | >(i80, 0)
504_0_main_Inc(EOS(STATIC_504), i51, i80) → 900_0_main_JMP(EOS(STATIC_900), i51, +(i80, -1)) | >(i80, 0)
900_0_main_JMP(EOS(STATIC_900), i51, i186) → 1063_0_main_Load(EOS(STATIC_1063), i51, i186)
1063_0_main_Load(EOS(STATIC_1063), i51, i186) → 449_0_main_Load(EOS(STATIC_449), i51, i186)
384_0_main_LE(EOS(STATIC_384), i51, i55, i51, i55) → 399_0_main_Load(EOS(STATIC_399), i51, i55) | >(i51, i55)
399_0_main_Load(EOS(STATIC_399), i51, i55) → 459_0_main_Load(EOS(STATIC_459), i51, i55)
459_0_main_Load(EOS(STATIC_459), i74, i55) → 469_0_main_LE(EOS(STATIC_469), i74, i55, i74)
469_0_main_LE(EOS(STATIC_469), matching1, i55, matching2) → 477_0_main_LE(EOS(STATIC_477), 0, i55, 0) | &&(=(matching1, 0), =(matching2, 0))
469_0_main_LE(EOS(STATIC_469), i82, i55, i82) → 478_0_main_LE(EOS(STATIC_478), i82, i55, i82)
477_0_main_LE(EOS(STATIC_477), matching1, i55, matching2) → 509_0_main_Load(EOS(STATIC_509), 0, i55) | &&(&&(<=(0, 0), =(matching1, 0)), =(matching2, 0))
509_0_main_Load(EOS(STATIC_509), matching1, i55) → 300_0_main_Load(EOS(STATIC_300), 0, i55) | =(matching1, 0)
478_0_main_LE(EOS(STATIC_478), i82, i55, i82) → 512_0_main_Inc(EOS(STATIC_512), i82, i55) | >(i82, 0)
512_0_main_Inc(EOS(STATIC_512), i82, i55) → 1058_0_main_JMP(EOS(STATIC_1058), +(i82, -1), i55) | >(i82, 0)
1058_0_main_JMP(EOS(STATIC_1058), i240, i55) → 1065_0_main_Load(EOS(STATIC_1065), i240, i55)
1065_0_main_Load(EOS(STATIC_1065), i240, i55) → 459_0_main_Load(EOS(STATIC_459), i240, i55)
R rules:

Combined rules. Obtained 6 conditional rules for P and 0 conditional rules for R.


P rules:
305_0_main_LE(EOS(STATIC_305), x0, x1, x0) → 466_0_main_LE(EOS(STATIC_466), x0, x1, x1) | &&(&&(>=(x1, x0), >(x1, 0)), >(x0, 0))
466_0_main_LE(EOS(STATIC_466), x0, 0, 0) → 305_0_main_LE(EOS(STATIC_305), x0, 0, x0)
466_0_main_LE(EOS(STATIC_466), x0, x1, x1) → 466_0_main_LE(EOS(STATIC_466), x0, +(x1, -1), +(x1, -1)) | >(x1, 0)
305_0_main_LE(EOS(STATIC_305), x0, x1, x0) → 469_0_main_LE(EOS(STATIC_469), x0, x1, x0) | &&(&&(>(x1, 0), <(x1, x0)), >(x0, 0))
469_0_main_LE(EOS(STATIC_469), 0, x1, 0) → 305_0_main_LE(EOS(STATIC_305), 0, x1, 0)
469_0_main_LE(EOS(STATIC_469), x0, x1, x0) → 469_0_main_LE(EOS(STATIC_469), +(x0, -1), x1, +(x0, -1)) | >(x0, 0)
R rules:

Filtered ground terms:



469_0_main_LE(x1, x2, x3, x4) → 469_0_main_LE(x2, x3, x4)
Cond_469_0_main_LE(x1, x2, x3, x4, x5) → Cond_469_0_main_LE(x1, x3, x4, x5)
305_0_main_LE(x1, x2, x3, x4) → 305_0_main_LE(x2, x3, x4)
Cond_305_0_main_LE1(x1, x2, x3, x4, x5) → Cond_305_0_main_LE1(x1, x3, x4, x5)
466_0_main_LE(x1, x2, x3, x4) → 466_0_main_LE(x2, x3, x4)
Cond_466_0_main_LE(x1, x2, x3, x4, x5) → Cond_466_0_main_LE(x1, x3, x4, x5)
Cond_305_0_main_LE(x1, x2, x3, x4, x5) → Cond_305_0_main_LE(x1, x3, x4, x5)

Filtered duplicate args:



305_0_main_LE(x1, x2, x3) → 305_0_main_LE(x2, x3)
Cond_305_0_main_LE(x1, x2, x3, x4) → Cond_305_0_main_LE(x1, x3, x4)
466_0_main_LE(x1, x2, x3) → 466_0_main_LE(x1, x3)
Cond_466_0_main_LE(x1, x2, x3, x4) → Cond_466_0_main_LE(x1, x2, x4)
Cond_305_0_main_LE1(x1, x2, x3, x4) → Cond_305_0_main_LE1(x1, x3, x4)
469_0_main_LE(x1, x2, x3) → 469_0_main_LE(x2, x3)
Cond_469_0_main_LE(x1, x2, x3, x4) → Cond_469_0_main_LE(x1, x3, x4)

Combined rules. Obtained 6 conditional rules for P and 0 conditional rules for R.


P rules:
305_0_main_LE(x1, x0) → 466_0_main_LE(x0, x1) | &&(&&(>=(x1, x0), >(x1, 0)), >(x0, 0))
466_0_main_LE(x0, 0) → 305_0_main_LE(0, x0)
466_0_main_LE(x0, x1) → 466_0_main_LE(x0, +(x1, -1)) | >(x1, 0)
305_0_main_LE(x1, x0) → 469_0_main_LE(x1, x0) | &&(&&(>(x1, 0), <(x1, x0)), >(x0, 0))
469_0_main_LE(x1, 0) → 305_0_main_LE(x1, 0)
469_0_main_LE(x1, x0) → 469_0_main_LE(x1, +(x0, -1)) | >(x0, 0)
R rules:

Performed bisimulation on rules. Used the following equivalence classes: {[466_0_main_LE_2, 469_0_main_LE_2]=466_0_main_LE_2, [Cond_466_0_main_LE_3, Cond_469_0_main_LE_3]=Cond_466_0_main_LE_3}


Finished conversion. Obtained 8 rules for P and 0 rules for R. System has predefined symbols.


P rules:
305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE(&&(&&(>=(x1, x0), >(x1, 0)), >(x0, 0)), x1, x0)
COND_305_0_MAIN_LE(TRUE, x1, x0) → 466_0_MAIN_LE(x0, x1)
466_0_MAIN_LE(x0, 0) → 305_0_MAIN_LE(0, x0)
466_0_MAIN_LE(x0, x1) → COND_466_0_MAIN_LE(>(x1, 0), x0, x1)
COND_466_0_MAIN_LE(TRUE, x0, x1) → 466_0_MAIN_LE(x0, +(x1, -1))
305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE1(&&(&&(>(x1, 0), <(x1, x0)), >(x0, 0)), x1, x0)
COND_305_0_MAIN_LE1(TRUE, x1, x0) → 466_0_MAIN_LE(x1, x0)
466_0_MAIN_LE(x1, 0) → 305_0_MAIN_LE(x1, 0)
R rules:

(6) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Boolean, Integer


R is empty.

The integer pair graph contains the following rules and edges:
(0): 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0, x1[0], x0[0])
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(5): 305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(x1[5] > 0 && x1[5] < x0[5] && x0[5] > 0, x1[5], x0[5])
(6): COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6])
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

(0) -> (1), if (x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0x1[0]* x1[1]x0[0]* x0[1])


(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(1) -> (3), if (x0[1]* x0[3]x1[1]* x1[3])


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)


(2) -> (0), if (0* x1[0]x0[2]* x0[0])


(2) -> (5), if (0* x1[5]x0[2]* x0[5])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])


(4) -> (2), if (x0[4]* x0[2]x1[4] + -1* 0)


(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(4) -> (7), if (x0[4]* x1[7]x1[4] + -1* 0)


(5) -> (6), if (x1[5] > 0 && x1[5] < x0[5] && x0[5] > 0x1[5]* x1[6]x0[5]* x0[6])


(6) -> (2), if (x1[6]* x0[2]x0[6]* 0)


(6) -> (3), if (x1[6]* x0[3]x0[6]* x1[3])


(6) -> (7), if (x1[6]* x1[7]x0[6]* 0)


(7) -> (0), if (x1[7]* x1[0]0* x0[0])


(7) -> (5), if (x1[7]* x1[5]0* x0[5])



The set Q is empty.

(7) IDPNonInfProof (SOUND transformation)

Used the following options for this NonInfProof:
IDPGPoloSolver: Range: [(-1,2)] IsNat: false Interpretation Shape Heuristic: aprove.DPFramework.IDPProblem.Processors.nonInf.poly.IdpDefaultShapeHeuristic@33854ae8 Constraint Generator: NonInfConstraintGenerator: PathGenerator: MetricPathGenerator: Max Left Steps: 1 Max Right Steps: 1

The constraints were generated the following way:
The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps:
Note that final constraints are written in bold face.


For Pair 305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE(&&(&&(>=(x1, x0), >(x1, 0)), >(x0, 0)), x1, x0) the following chains were created:
  • We consider the chain 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) which results in the following constraint:

    (1)    (&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We simplified constraint (1) using rules (IV), (IDP_BOOLEAN) which results in the following new constraint:

    (2)    (>(x0[0], 0)=TRUE>=(x1[0], x0[0])=TRUE>(x1[0], 0)=TRUE305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We simplified constraint (2) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (3)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_25 + (-1)Bound*bni_25] + [bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[-1 + (-1)bso_26] + x1[0] ≥ 0)



    We simplified constraint (3) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (4)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_25 + (-1)Bound*bni_25] + [bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[-1 + (-1)bso_26] + x1[0] ≥ 0)



    We simplified constraint (4) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (5)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_25 + (-1)Bound*bni_25] + [bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[-1 + (-1)bso_26] + x1[0] ≥ 0)



    We simplified constraint (5) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (6)    (x0[0] ≥ 0∧x1[0] + [-1] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_25] + [bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[-1 + (-1)bso_26] + x1[0] ≥ 0)



    We simplified constraint (6) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (7)    (x0[0] ≥ 0∧x1[0] ≥ 0∧x0[0] + x1[0] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_25 + bni_25] + [(2)bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[(-1)bso_26] + x0[0] + x1[0] ≥ 0)







For Pair COND_305_0_MAIN_LE(TRUE, x1, x0) → 466_0_MAIN_LE(x0, x1) the following chains were created:
  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (8)    (x0[1]=x0[2]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (8) using rules (III), (IV) which results in the following new constraint:

    (9)    (COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥466_0_MAIN_LE(x0[1], 0)∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (9) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (10)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (10) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (11)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (11) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (12)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (12) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (13)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧[(-1)bso_28] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (14)    (x0[1]=x0[3]x1[1]=x1[3]COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (14) using rule (IV) which results in the following new constraint:

    (15)    (COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (15) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (16)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (16) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (17)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (17) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (18)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (18) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (19)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧0 = 0∧[(-1)bso_28] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (20)    (x0[1]=x1[7]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (20) using rules (III), (IV) which results in the following new constraint:

    (21)    (COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥466_0_MAIN_LE(x0[1], 0)∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (21) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (22)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (22) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (23)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (23) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (24)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧[(-1)bso_28] ≥ 0)



    We simplified constraint (24) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (25)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧[(-1)bso_28] ≥ 0)







For Pair 466_0_MAIN_LE(x0, 0) → 305_0_MAIN_LE(0, x0) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (26)    (0=x1[0]x0[2]=x0[0]466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (26) using rule (IV) which results in the following new constraint:

    (27)    (466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (27) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (28)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (28) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (29)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (29) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (30)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (30) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (31)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧0 = 0∧[(-1)bso_30] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]), 305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5]) which results in the following constraint:

    (32)    (0=x1[5]x0[2]=x0[5]466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (32) using rule (IV) which results in the following new constraint:

    (33)    (466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (33) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (34)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (34) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (35)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (35) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (36)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧[(-1)bso_30] ≥ 0)



    We simplified constraint (36) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (37)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧0 = 0∧[(-1)bso_30] ≥ 0)







For Pair 466_0_MAIN_LE(x0, x1) → COND_466_0_MAIN_LE(>(x1, 0), x0, x1) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) which results in the following constraint:

    (38)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (38) using rule (IV) which results in the following new constraint:

    (39)    (>(x1[3], 0)=TRUE466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (39) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (40)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] + [bni_31]x0[3] ≥ 0∧[(-1)bso_32] ≥ 0)



    We simplified constraint (40) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (41)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] + [bni_31]x0[3] ≥ 0∧[(-1)bso_32] ≥ 0)



    We simplified constraint (41) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (42)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_31 + (-1)Bound*bni_31] + [bni_31]x0[3] ≥ 0∧[(-1)bso_32] ≥ 0)



    We simplified constraint (42) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (43)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_31] = 0∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧0 = 0∧[(-1)bso_32] ≥ 0)



    We simplified constraint (43) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (44)    (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_31] = 0∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧0 = 0∧[(-1)bso_32] ≥ 0)







For Pair COND_466_0_MAIN_LE(TRUE, x0, x1) → 466_0_MAIN_LE(x0, +(x1, -1)) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (45)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[2]+(x1[4], -1)=0COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (45) using rules (III), (IV) which results in the following new constraint:

    (46)    (>(x1[3], 0)=TRUE+(x1[3], -1)=0COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (46) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (47)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (47) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (48)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (48) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (49)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (49) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (50)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (50) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (51)    (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (52)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[3]1+(x1[4], -1)=x1[3]1COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (52) using rules (III), (IV) which results in the following new constraint:

    (53)    (>(x1[3], 0)=TRUECOND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (53) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (54)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (54) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (55)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (55) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (56)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (56) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (57)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (57) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (58)    (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (59)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x1[7]+(x1[4], -1)=0COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (59) using rules (III), (IV) which results in the following new constraint:

    (60)    (>(x1[3], 0)=TRUE+(x1[3], -1)=0COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (60) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (61)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (61) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (62)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (62) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (63)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_33 + (-1)Bound*bni_33] + [bni_33]x0[3] ≥ 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (63) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (64)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)



    We simplified constraint (64) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (65)    (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)







For Pair 305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE1(&&(&&(>(x1, 0), <(x1, x0)), >(x0, 0)), x1, x0) the following chains were created:
  • We consider the chain 305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5]), COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6]) which results in the following constraint:

    (66)    (&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0))=TRUEx1[5]=x1[6]x0[5]=x0[6]305_0_MAIN_LE(x1[5], x0[5])≥NonInfC∧305_0_MAIN_LE(x1[5], x0[5])≥COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])∧(UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥))



    We simplified constraint (66) using rules (IV), (IDP_BOOLEAN) which results in the following new constraint:

    (67)    (>(x0[5], 0)=TRUE>(x1[5], 0)=TRUE<(x1[5], x0[5])=TRUE305_0_MAIN_LE(x1[5], x0[5])≥NonInfC∧305_0_MAIN_LE(x1[5], x0[5])≥COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])∧(UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥))



    We simplified constraint (67) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (68)    (x0[5] + [-1] ≥ 0∧x1[5] + [-1] ≥ 0∧x0[5] + [-1] + [-1]x1[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(-1)bni_35 + (-1)Bound*bni_35] + [bni_35]x0[5] + [bni_35]x1[5] ≥ 0∧[-1 + (-1)bso_36] + x0[5] ≥ 0)



    We simplified constraint (68) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (69)    (x0[5] + [-1] ≥ 0∧x1[5] + [-1] ≥ 0∧x0[5] + [-1] + [-1]x1[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(-1)bni_35 + (-1)Bound*bni_35] + [bni_35]x0[5] + [bni_35]x1[5] ≥ 0∧[-1 + (-1)bso_36] + x0[5] ≥ 0)



    We simplified constraint (69) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (70)    (x0[5] + [-1] ≥ 0∧x1[5] + [-1] ≥ 0∧x0[5] + [-1] + [-1]x1[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(-1)bni_35 + (-1)Bound*bni_35] + [bni_35]x0[5] + [bni_35]x1[5] ≥ 0∧[-1 + (-1)bso_36] + x0[5] ≥ 0)



    We simplified constraint (70) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (71)    (x0[5] ≥ 0∧x1[5] + [-1] ≥ 0∧x0[5] + [-1]x1[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(-1)Bound*bni_35] + [bni_35]x0[5] + [bni_35]x1[5] ≥ 0∧[(-1)bso_36] + x0[5] ≥ 0)



    We simplified constraint (71) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (72)    (x1[5] + x0[5] ≥ 0∧x1[5] + [-1] ≥ 0∧x0[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(-1)Bound*bni_35] + [(2)bni_35]x1[5] + [bni_35]x0[5] ≥ 0∧[(-1)bso_36] + x1[5] + x0[5] ≥ 0)



    We simplified constraint (72) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (73)    ([1] + x1[5] + x0[5] ≥ 0∧x1[5] ≥ 0∧x0[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(2)bni_35 + (-1)Bound*bni_35] + [(2)bni_35]x1[5] + [bni_35]x0[5] ≥ 0∧[1 + (-1)bso_36] + x1[5] + x0[5] ≥ 0)







For Pair COND_305_0_MAIN_LE1(TRUE, x1, x0) → 466_0_MAIN_LE(x1, x0) the following chains were created:
  • We consider the chain COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6]), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (74)    (x1[6]=x0[2]x0[6]=0COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥466_0_MAIN_LE(x1[6], x0[6])∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (74) using rules (III), (IV) which results in the following new constraint:

    (75)    (COND_305_0_MAIN_LE1(TRUE, x1[6], 0)≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], 0)≥466_0_MAIN_LE(x1[6], 0)∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (75) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (76)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (76) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (77)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (77) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (78)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (78) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (79)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6]), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (80)    (x1[6]=x0[3]x0[6]=x1[3]COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥466_0_MAIN_LE(x1[6], x0[6])∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (80) using rule (IV) which results in the following new constraint:

    (81)    (COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥466_0_MAIN_LE(x1[6], x0[6])∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (81) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (82)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (82) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (83)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (83) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (84)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (84) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (85)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6]), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (86)    (x1[6]=x1[7]x0[6]=0COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6])≥466_0_MAIN_LE(x1[6], x0[6])∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (86) using rules (III), (IV) which results in the following new constraint:

    (87)    (COND_305_0_MAIN_LE1(TRUE, x1[6], 0)≥NonInfC∧COND_305_0_MAIN_LE1(TRUE, x1[6], 0)≥466_0_MAIN_LE(x1[6], 0)∧(UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥))



    We simplified constraint (87) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (88)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (88) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (89)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (89) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (90)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧[1 + (-1)bso_38] ≥ 0)



    We simplified constraint (90) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (91)    ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)







For Pair 466_0_MAIN_LE(x1, 0) → 305_0_MAIN_LE(x1, 0) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (92)    (x1[7]=x1[0]0=x0[0]466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (92) using rule (IV) which results in the following new constraint:

    (93)    (466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (93) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (94)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (94) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (95)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (95) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (96)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (96) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (97)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)bso_40] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0), 305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5]) which results in the following constraint:

    (98)    (x1[7]=x1[5]0=x0[5]466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (98) using rule (IV) which results in the following new constraint:

    (99)    (466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (99) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (100)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (100) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (101)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (101) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (102)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧[(-1)bso_40] ≥ 0)



    We simplified constraint (102) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (103)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)bso_40] ≥ 0)







To summarize, we get the following constraints P for the following pairs.
  • 305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE(&&(&&(>=(x1, x0), >(x1, 0)), >(x0, 0)), x1, x0)
    • (x0[0] ≥ 0∧x1[0] ≥ 0∧x0[0] + x1[0] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_25 + bni_25] + [(2)bni_25]x0[0] + [bni_25]x1[0] ≥ 0∧[(-1)bso_26] + x0[0] + x1[0] ≥ 0)

  • COND_305_0_MAIN_LE(TRUE, x1, x0) → 466_0_MAIN_LE(x0, x1)
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧[(-1)bso_28] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧0 = 0∧[(-1)bso_28] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_27] = 0∧0 = 0∧[(-1)bso_28] ≥ 0)

  • 466_0_MAIN_LE(x0, 0) → 305_0_MAIN_LE(0, x0)
    • ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧0 = 0∧[(-1)bso_30] ≥ 0)
    • ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_29] = 0∧0 = 0∧[(-1)bso_30] ≥ 0)

  • 466_0_MAIN_LE(x0, x1) → COND_466_0_MAIN_LE(>(x1, 0), x0, x1)
    • (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_31] = 0∧[(-1)bni_31 + (-1)Bound*bni_31] ≥ 0∧0 = 0∧[(-1)bso_32] ≥ 0)

  • COND_466_0_MAIN_LE(TRUE, x0, x1) → 466_0_MAIN_LE(x0, +(x1, -1))
    • (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)
    • (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)
    • (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_33] = 0∧[(-1)bni_33 + (-1)Bound*bni_33] ≥ 0∧0 = 0∧[(-1)bso_34] ≥ 0)

  • 305_0_MAIN_LE(x1, x0) → COND_305_0_MAIN_LE1(&&(&&(>(x1, 0), <(x1, x0)), >(x0, 0)), x1, x0)
    • ([1] + x1[5] + x0[5] ≥ 0∧x1[5] ≥ 0∧x0[5] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])), ≥)∧[(2)bni_35 + (-1)Bound*bni_35] + [(2)bni_35]x1[5] + [bni_35]x0[5] ≥ 0∧[1 + (-1)bso_36] + x1[5] + x0[5] ≥ 0)

  • COND_305_0_MAIN_LE1(TRUE, x1, x0) → 466_0_MAIN_LE(x1, x0)
    • ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x1[6], x0[6])), ≥)∧[bni_37] = 0∧0 = 0∧[1 + (-1)bso_38] ≥ 0)

  • 466_0_MAIN_LE(x1, 0) → 305_0_MAIN_LE(x1, 0)
    • ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)bso_40] ≥ 0)
    • ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_39] = 0∧0 = 0∧[(-1)bso_40] ≥ 0)




The constraints for P> respective Pbound are constructed from P where we just replace every occurence of "t ≥ s" in P by "t > s" respective "t ≥ c". Here c stands for the fresh constant used for Pbound.
Using the following integer polynomial ordering the resulting constraints can be solved
Polynomial interpretation over integers[POLO]:

POL(TRUE) = 0   
POL(FALSE) = 0   
POL(305_0_MAIN_LE(x1, x2)) = [-1] + x2 + x1   
POL(COND_305_0_MAIN_LE(x1, x2, x3)) = [-1] + x3 + [-1]x1   
POL(&&(x1, x2)) = [-1]   
POL(>=(x1, x2)) = [-1]   
POL(>(x1, x2)) = [-1]   
POL(0) = 0   
POL(466_0_MAIN_LE(x1, x2)) = [-1] + x1   
POL(COND_466_0_MAIN_LE(x1, x2, x3)) = [-1] + x2   
POL(+(x1, x2)) = x1 + x2   
POL(-1) = [-1]   
POL(COND_305_0_MAIN_LE1(x1, x2, x3)) = x2   
POL(<(x1, x2)) = [-1]   

The following pairs are in P>:

305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])
COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6])

The following pairs are in Pbound:

305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])
305_0_MAIN_LE(x1[5], x0[5]) → COND_305_0_MAIN_LE1(&&(&&(>(x1[5], 0), <(x1[5], x0[5])), >(x0[5], 0)), x1[5], x0[5])

The following pairs are in P:

305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])
COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])
COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

At least the following rules have been oriented under context sensitive arithmetic replacement:

TRUE1&&(TRUE, TRUE)1
FALSE1&&(TRUE, FALSE)1
FALSE1&&(FALSE, TRUE)1
FALSE1&&(FALSE, FALSE)1

(8) Complex Obligation (AND)

(9) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Boolean, Integer


R is empty.

The integer pair graph contains the following rules and edges:
(0): 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0, x1[0], x0[0])
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

(2) -> (0), if (0* x1[0]x0[2]* x0[0])


(7) -> (0), if (x1[7]* x1[0]0* x0[0])


(0) -> (1), if (x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0x1[0]* x1[1]x0[0]* x0[1])


(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(4) -> (2), if (x0[4]* x0[2]x1[4] + -1* 0)


(1) -> (3), if (x0[1]* x0[3]x1[1]* x1[3])


(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)


(4) -> (7), if (x0[4]* x1[7]x1[4] + -1* 0)



The set Q is empty.

(10) IDPNonInfProof (SOUND transformation)

Used the following options for this NonInfProof:
IDPGPoloSolver: Range: [(-1,2)] IsNat: false Interpretation Shape Heuristic: aprove.DPFramework.IDPProblem.Processors.nonInf.poly.IdpDefaultShapeHeuristic@33854ae8 Constraint Generator: NonInfConstraintGenerator: PathGenerator: MetricPathGenerator: Max Left Steps: 1 Max Right Steps: 1

The constraints were generated the following way:
The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps:
Note that final constraints are written in bold face.


For Pair 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) the following chains were created:
  • We consider the chain 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) which results in the following constraint:

    (1)    (&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We simplified constraint (1) using rules (IV), (IDP_BOOLEAN) which results in the following new constraint:

    (2)    (>(x0[0], 0)=TRUE>=(x1[0], x0[0])=TRUE>(x1[0], 0)=TRUE305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We simplified constraint (2) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (3)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_20 + (-1)Bound*bni_20] + [bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)



    We simplified constraint (3) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (4)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_20 + (-1)Bound*bni_20] + [bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)



    We simplified constraint (4) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (5)    (x0[0] + [-1] ≥ 0∧x1[0] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)bni_20 + (-1)Bound*bni_20] + [bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)



    We simplified constraint (5) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (6)    (x0[0] ≥ 0∧x1[0] + [-1] + [-1]x0[0] ≥ 0∧x1[0] + [-1] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_20] + [bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)



    We simplified constraint (6) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (7)    (x0[0] ≥ 0∧x1[0] ≥ 0∧x0[0] + x1[0] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_20 + bni_20] + [(2)bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)







For Pair COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) the following chains were created:
  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (8)    (x0[1]=x0[2]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (8) using rules (III), (IV) which results in the following new constraint:

    (9)    (COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥466_0_MAIN_LE(x0[1], 0)∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (9) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (10)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (10) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (11)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (11) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (12)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (12) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (13)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧[(-1)bso_23] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (14)    (x0[1]=x0[3]x1[1]=x1[3]COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (14) using rule (IV) which results in the following new constraint:

    (15)    (COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (15) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (16)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (16) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (17)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (17) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (18)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (18) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (19)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧0 = 0∧[(-1)bso_23] ≥ 0)



  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (20)    (x0[1]=x1[7]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (20) using rules (III), (IV) which results in the following new constraint:

    (21)    (COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, 0, x0[1])≥466_0_MAIN_LE(x0[1], 0)∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We simplified constraint (21) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (22)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (22) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (23)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (23) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (24)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧[(-1)bso_23] ≥ 0)



    We simplified constraint (24) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (25)    ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧[(-1)bso_23] ≥ 0)







For Pair 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (26)    (0=x1[0]x0[2]=x0[0]466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (26) using rule (IV) which results in the following new constraint:

    (27)    (466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (27) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (28)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_24] = 0∧[(-1)bso_25] ≥ 0)



    We simplified constraint (28) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (29)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_24] = 0∧[(-1)bso_25] ≥ 0)



    We simplified constraint (29) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (30)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_24] = 0∧[(-1)bso_25] ≥ 0)



    We simplified constraint (30) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (31)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_24] = 0∧0 = 0∧[(-1)bso_25] ≥ 0)







For Pair 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) which results in the following constraint:

    (32)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (32) using rule (IV) which results in the following new constraint:

    (33)    (>(x1[3], 0)=TRUE466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (33) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (34)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_26 + (-1)Bound*bni_26] + [bni_26]x1[3] + [bni_26]x0[3] ≥ 0∧[(-1)bso_27] ≥ 0)



    We simplified constraint (34) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (35)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_26 + (-1)Bound*bni_26] + [bni_26]x1[3] + [bni_26]x0[3] ≥ 0∧[(-1)bso_27] ≥ 0)



    We simplified constraint (35) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (36)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_26 + (-1)Bound*bni_26] + [bni_26]x1[3] + [bni_26]x0[3] ≥ 0∧[(-1)bso_27] ≥ 0)



    We simplified constraint (36) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (37)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_26] = 0∧[(-1)bni_26 + (-1)Bound*bni_26] + [bni_26]x1[3] ≥ 0∧0 = 0∧[(-1)bso_27] ≥ 0)



    We simplified constraint (37) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (38)    (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_26] = 0∧[(-1)Bound*bni_26] + [bni_26]x1[3] ≥ 0∧0 = 0∧[(-1)bso_27] ≥ 0)







For Pair COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (39)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[2]+(x1[4], -1)=0COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (39) using rules (III), (IV) which results in the following new constraint:

    (40)    (>(x1[3], 0)=TRUE+(x1[3], -1)=0COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (40) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (41)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (41) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (42)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (42) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (43)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (43) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (44)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (44) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (45)    (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (46)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[3]1+(x1[4], -1)=x1[3]1COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (46) using rules (III), (IV) which results in the following new constraint:

    (47)    (>(x1[3], 0)=TRUECOND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (47) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (48)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (48) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (49)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (49) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (50)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (50) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (51)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (51) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (52)    (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)



  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (53)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x1[7]+(x1[4], -1)=0COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (53) using rules (III), (IV) which results in the following new constraint:

    (54)    (>(x1[3], 0)=TRUE+(x1[3], -1)=0COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (54) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (55)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (55) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (56)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (56) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (57)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] + [bni_28]x0[3] ≥ 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (57) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (58)    (x1[3] + [-1] ≥ 0∧x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)bni_28 + (-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)



    We simplified constraint (58) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (59)    (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)







For Pair 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (60)    (x1[7]=x1[0]0=x0[0]466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (60) using rule (IV) which results in the following new constraint:

    (61)    (466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (61) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (62)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_30] = 0∧[(-1)bso_31] ≥ 0)



    We simplified constraint (62) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (63)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_30] = 0∧[(-1)bso_31] ≥ 0)



    We simplified constraint (63) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (64)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_30] = 0∧[(-1)bso_31] ≥ 0)



    We simplified constraint (64) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (65)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_30] = 0∧0 = 0∧[(-1)bso_31] ≥ 0)







To summarize, we get the following constraints P for the following pairs.
  • 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])
    • (x0[0] ≥ 0∧x1[0] ≥ 0∧x0[0] + x1[0] ≥ 0 ⇒ (UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥)∧[(-1)Bound*bni_20 + bni_20] + [(2)bni_20]x0[0] + [bni_20]x1[0] ≥ 0∧[(-1)bso_21] ≥ 0)

  • COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧[(-1)bso_23] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧0 = 0∧[(-1)bso_23] ≥ 0)
    • ((UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥)∧[bni_22] = 0∧0 = 0∧[(-1)bso_23] ≥ 0)

  • 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
    • ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_24] = 0∧0 = 0∧[(-1)bso_25] ≥ 0)

  • 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])
    • (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[bni_26] = 0∧[(-1)Bound*bni_26] + [bni_26]x1[3] ≥ 0∧0 = 0∧[(-1)bso_27] ≥ 0)

  • COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
    • (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)
    • (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)
    • (x1[3] ≥ 0∧x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[bni_28] = 0∧[(-1)Bound*bni_28] + [bni_28]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_29] ≥ 0)

  • 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)
    • ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_30] = 0∧0 = 0∧[(-1)bso_31] ≥ 0)




The constraints for P> respective Pbound are constructed from P where we just replace every occurence of "t ≥ s" in P by "t > s" respective "t ≥ c". Here c stands for the fresh constant used for Pbound.
Using the following integer polynomial ordering the resulting constraints can be solved
Polynomial interpretation over integers[POLO]:

POL(TRUE) = 0   
POL(FALSE) = 0   
POL(305_0_MAIN_LE(x1, x2)) = [-1] + x2 + x1   
POL(COND_305_0_MAIN_LE(x1, x2, x3)) = [-1] + x3 + x2   
POL(&&(x1, x2)) = 0   
POL(>=(x1, x2)) = [-1]   
POL(>(x1, x2)) = [-1]   
POL(0) = 0   
POL(466_0_MAIN_LE(x1, x2)) = [-1] + x2 + x1   
POL(COND_466_0_MAIN_LE(x1, x2, x3)) = [-1] + x3 + x2   
POL(+(x1, x2)) = x1 + x2   
POL(-1) = [-1]   

The following pairs are in P>:

COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))

The following pairs are in Pbound:

305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])

The following pairs are in P:

305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])
COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])
466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

At least the following rules have been oriented under context sensitive arithmetic replacement:

&&(TRUE, TRUE)1TRUE1
&&(TRUE, FALSE)1FALSE1
&&(FALSE, TRUE)1FALSE1
&&(FALSE, FALSE)1FALSE1

(11) Complex Obligation (AND)

(12) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Boolean, Integer


R is empty.

The integer pair graph contains the following rules and edges:
(0): 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0, x1[0], x0[0])
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

(2) -> (0), if (0* x1[0]x0[2]* x0[0])


(7) -> (0), if (x1[7]* x1[0]0* x0[0])


(0) -> (1), if (x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0x1[0]* x1[1]x0[0]* x0[1])


(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(1) -> (3), if (x0[1]* x0[3]x1[1]* x1[3])


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)



The set Q is empty.

(13) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 1 less node.

(14) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Boolean, Integer


R is empty.

The integer pair graph contains the following rules and edges:
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(0): 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0, x1[0], x0[0])

(2) -> (0), if (0* x1[0]x0[2]* x0[0])


(7) -> (0), if (x1[7]* x1[0]0* x0[0])


(0) -> (1), if (x1[0] >= x0[0] && x1[0] > 0 && x0[0] > 0x1[0]* x1[1]x0[0]* x0[1])


(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)



The set Q is empty.

(15) IDPNonInfProof (SOUND transformation)

Used the following options for this NonInfProof:
IDPGPoloSolver: Range: [(-1,2)] IsNat: false Interpretation Shape Heuristic: aprove.DPFramework.IDPProblem.Processors.nonInf.poly.IdpDefaultShapeHeuristic@33854ae8 Constraint Generator: NonInfConstraintGenerator: PathGenerator: MetricPathGenerator: Max Left Steps: 1 Max Right Steps: 1

The constraints were generated the following way:
The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps:
Note that final constraints are written in bold face.


For Pair 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) the following chains were created:
  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (1)    (x0[1]=x1[7]x1[1]=0x1[7]=x1[0]0=x0[0]466_0_MAIN_LE(x1[7], 0)≥NonInfC∧466_0_MAIN_LE(x1[7], 0)≥305_0_MAIN_LE(x1[7], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (1) using rules (III), (IV) which results in the following new constraint:

    (2)    (466_0_MAIN_LE(x0[1], 0)≥NonInfC∧466_0_MAIN_LE(x0[1], 0)≥305_0_MAIN_LE(x0[1], 0)∧(UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥))



    We simplified constraint (2) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (3)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_16] = 0∧[2 + (-1)bso_17] ≥ 0)



    We simplified constraint (3) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (4)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_16] = 0∧[2 + (-1)bso_17] ≥ 0)



    We simplified constraint (4) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (5)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_16] = 0∧[2 + (-1)bso_17] ≥ 0)



    We simplified constraint (5) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (6)    ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_16] = 0∧0 = 0∧[2 + (-1)bso_17] ≥ 0)







For Pair 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) the following chains were created:
  • We consider the chain COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) which results in the following constraint:

    (7)    (x0[1]=x0[2]x1[1]=00=x1[0]x0[2]=x0[0]466_0_MAIN_LE(x0[2], 0)≥NonInfC∧466_0_MAIN_LE(x0[2], 0)≥305_0_MAIN_LE(0, x0[2])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (7) using rules (III), (IV) which results in the following new constraint:

    (8)    (466_0_MAIN_LE(x0[1], 0)≥NonInfC∧466_0_MAIN_LE(x0[1], 0)≥305_0_MAIN_LE(0, x0[1])∧(UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥))



    We simplified constraint (8) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (9)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_18] = 0∧[2 + (-1)bso_19] ≥ 0)



    We simplified constraint (9) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (10)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_18] = 0∧[2 + (-1)bso_19] ≥ 0)



    We simplified constraint (10) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (11)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_18] = 0∧[2 + (-1)bso_19] ≥ 0)



    We simplified constraint (11) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (12)    ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_18] = 0∧0 = 0∧[2 + (-1)bso_19] ≥ 0)







For Pair COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) the following chains were created:
  • We consider the chain 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]) which results in the following constraint:

    (13)    (&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]x0[1]=x0[2]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We solved constraint (13) using rules (I), (II), (III), (IV), (IDP_CONSTANT_FOLD), (IDP_BOOLEAN).
  • We consider the chain 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]), 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0) which results in the following constraint:

    (14)    (&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]x0[1]=x1[7]x1[1]=0COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥NonInfC∧COND_305_0_MAIN_LE(TRUE, x1[1], x0[1])≥466_0_MAIN_LE(x0[1], x1[1])∧(UIncreasing(466_0_MAIN_LE(x0[1], x1[1])), ≥))



    We solved constraint (14) using rules (I), (II), (III), (IV), (IDP_CONSTANT_FOLD), (IDP_BOOLEAN).




For Pair 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2]), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) which results in the following constraint:

    (15)    (0=x1[0]x0[2]=x0[0]&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We solved constraint (15) using rules (I), (II), (III), (IV), (IDP_CONSTANT_FOLD), (IDP_BOOLEAN).
  • We consider the chain 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0), 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0]), COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1]) which results in the following constraint:

    (16)    (x1[7]=x1[0]0=x0[0]&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0))=TRUEx1[0]=x1[1]x0[0]=x0[1]305_0_MAIN_LE(x1[0], x0[0])≥NonInfC∧305_0_MAIN_LE(x1[0], x0[0])≥COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])∧(UIncreasing(COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])), ≥))



    We solved constraint (16) using rules (I), (II), (III), (IV), (IDP_CONSTANT_FOLD), (IDP_BOOLEAN).




To summarize, we get the following constraints P for the following pairs.
  • 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)
    • ((UIncreasing(305_0_MAIN_LE(x1[7], 0)), ≥)∧[bni_16] = 0∧0 = 0∧[2 + (-1)bso_17] ≥ 0)

  • 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
    • ((UIncreasing(305_0_MAIN_LE(0, x0[2])), ≥)∧[bni_18] = 0∧0 = 0∧[2 + (-1)bso_19] ≥ 0)

  • COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])

  • 305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])




The constraints for P> respective Pbound are constructed from P where we just replace every occurence of "t ≥ s" in P by "t > s" respective "t ≥ c". Here c stands for the fresh constant used for Pbound.
Using the following integer polynomial ordering the resulting constraints can be solved
Polynomial interpretation over integers[POLO]:

POL(TRUE) = 0   
POL(FALSE) = 0   
POL(466_0_MAIN_LE(x1, x2)) = [1] + [-1]x2 + [2]x1   
POL(0) = 0   
POL(305_0_MAIN_LE(x1, x2)) = [-1] + [2]x2 + [2]x1   
POL(COND_305_0_MAIN_LE(x1, x2, x3)) = [-1] + [-1]x3 + [-1]x2 + [-1]x1   
POL(&&(x1, x2)) = [-1]   
POL(>=(x1, x2)) = [-1]   
POL(>(x1, x2)) = [-1]   

The following pairs are in P>:

466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)
466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])

The following pairs are in Pbound:

COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
305_0_MAIN_LE(x1[0], x0[0]) → COND_305_0_MAIN_LE(&&(&&(>=(x1[0], x0[0]), >(x1[0], 0)), >(x0[0], 0)), x1[0], x0[0])

The following pairs are in P:
none

There are no usable rules.

(16) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:
none


R is empty.

The integer pair graph contains the following rules and edges:
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])


The set Q is empty.

(17) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 2 less nodes.

(18) TRUE

(19) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(4) -> (2), if (x0[4]* x0[2]x1[4] + -1* 0)


(1) -> (3), if (x0[1]* x0[3]x1[1]* x1[3])


(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)


(4) -> (7), if (x0[4]* x1[7]x1[4] + -1* 0)



The set Q is empty.

(20) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 3 less nodes.

(21) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])

(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])



The set Q is empty.

(22) IDPNonInfProof (SOUND transformation)

Used the following options for this NonInfProof:
IDPGPoloSolver: Range: [(-1,2)] IsNat: false Interpretation Shape Heuristic: aprove.DPFramework.IDPProblem.Processors.nonInf.poly.IdpDefaultShapeHeuristic@33854ae8 Constraint Generator: NonInfConstraintGenerator: PathGenerator: MetricPathGenerator: Max Left Steps: 1 Max Right Steps: 1

The constraints were generated the following way:
The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps:
Note that final constraints are written in bold face.


For Pair COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (1)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[3]1+(x1[4], -1)=x1[3]1COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (1) using rules (III), (IV) which results in the following new constraint:

    (2)    (>(x1[3], 0)=TRUECOND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (2) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (3)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (3) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (4)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (4) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (5)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (5) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (6)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (6) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (7)    (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)







For Pair 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) which results in the following constraint:

    (8)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (8) using rule (IV) which results in the following new constraint:

    (9)    (>(x1[3], 0)=TRUE466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (9) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (10)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (10) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (11)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (11) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (12)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (12) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (13)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (13) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (14)    (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)







To summarize, we get the following constraints P for the following pairs.
  • COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
    • (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)

  • 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])
    • (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)




The constraints for P> respective Pbound are constructed from P where we just replace every occurence of "t ≥ s" in P by "t > s" respective "t ≥ c". Here c stands for the fresh constant used for Pbound.
Using the following integer polynomial ordering the resulting constraints can be solved
Polynomial interpretation over integers[POLO]:

POL(TRUE) = 0   
POL(FALSE) = 0   
POL(COND_466_0_MAIN_LE(x1, x2, x3)) = [-1] + x3   
POL(466_0_MAIN_LE(x1, x2)) = [-1] + x2   
POL(+(x1, x2)) = x1 + x2   
POL(-1) = [-1]   
POL(>(x1, x2)) = [-1]   
POL(0) = 0   

The following pairs are in P>:

COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))

The following pairs are in Pbound:

COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])

The following pairs are in P:

466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])

There are no usable rules.

(23) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])


The set Q is empty.

(24) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(25) TRUE

(26) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(1): COND_305_0_MAIN_LE(TRUE, x1[1], x0[1]) → 466_0_MAIN_LE(x0[1], x1[1])
(2): 466_0_MAIN_LE(x0[2], 0) → 305_0_MAIN_LE(0, x0[2])
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(6): COND_305_0_MAIN_LE1(TRUE, x1[6], x0[6]) → 466_0_MAIN_LE(x1[6], x0[6])
(7): 466_0_MAIN_LE(x1[7], 0) → 305_0_MAIN_LE(x1[7], 0)

(1) -> (2), if (x0[1]* x0[2]x1[1]* 0)


(4) -> (2), if (x0[4]* x0[2]x1[4] + -1* 0)


(6) -> (2), if (x1[6]* x0[2]x0[6]* 0)


(1) -> (3), if (x0[1]* x0[3]x1[1]* x1[3])


(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(6) -> (3), if (x1[6]* x0[3]x0[6]* x1[3])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])


(1) -> (7), if (x0[1]* x1[7]x1[1]* 0)


(4) -> (7), if (x0[4]* x1[7]x1[4] + -1* 0)


(6) -> (7), if (x1[6]* x1[7]x0[6]* 0)



The set Q is empty.

(27) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 4 less nodes.

(28) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(4): COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], x1[4] + -1)
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])

(4) -> (3), if (x0[4]* x0[3]x1[4] + -1* x1[3])


(3) -> (4), if (x1[3] > 0x0[3]* x0[4]x1[3]* x1[4])



The set Q is empty.

(29) IDPNonInfProof (SOUND transformation)

Used the following options for this NonInfProof:
IDPGPoloSolver: Range: [(-1,2)] IsNat: false Interpretation Shape Heuristic: aprove.DPFramework.IDPProblem.Processors.nonInf.poly.IdpDefaultShapeHeuristic@33854ae8 Constraint Generator: NonInfConstraintGenerator: PathGenerator: MetricPathGenerator: Max Left Steps: 1 Max Right Steps: 1

The constraints were generated the following way:
The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps:
Note that final constraints are written in bold face.


For Pair COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)), 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) which results in the following constraint:

    (1)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]x0[4]=x0[3]1+(x1[4], -1)=x1[3]1COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[4], x1[4])≥466_0_MAIN_LE(x0[4], +(x1[4], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (1) using rules (III), (IV) which results in the following new constraint:

    (2)    (>(x1[3], 0)=TRUECOND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥NonInfC∧COND_466_0_MAIN_LE(TRUE, x0[3], x1[3])≥466_0_MAIN_LE(x0[3], +(x1[3], -1))∧(UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥))



    We simplified constraint (2) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (3)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (3) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (4)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (4) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (5)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (5) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (6)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)bni_11 + (-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)



    We simplified constraint (6) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (7)    (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)







For Pair 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]) the following chains were created:
  • We consider the chain 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3]), COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1)) which results in the following constraint:

    (8)    (>(x1[3], 0)=TRUEx0[3]=x0[4]x1[3]=x1[4]466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (8) using rule (IV) which results in the following new constraint:

    (9)    (>(x1[3], 0)=TRUE466_0_MAIN_LE(x0[3], x1[3])≥NonInfC∧466_0_MAIN_LE(x0[3], x1[3])≥COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])∧(UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥))



    We simplified constraint (9) using rule (POLY_CONSTRAINTS) which results in the following new constraint:

    (10)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (10) using rule (IDP_POLY_SIMPLIFY) which results in the following new constraint:

    (11)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (11) using rule (POLY_REMOVE_MIN_MAX) which results in the following new constraint:

    (12)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (12) using rule (IDP_UNRESTRICTED_VARS) which results in the following new constraint:

    (13)    (x1[3] + [-1] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)bni_13 + (-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)



    We simplified constraint (13) using rule (IDP_SMT_SPLIT) which results in the following new constraint:

    (14)    (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)







To summarize, we get the following constraints P for the following pairs.
  • COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
    • (x1[3] ≥ 0 ⇒ (UIncreasing(466_0_MAIN_LE(x0[4], +(x1[4], -1))), ≥)∧0 = 0∧[(-1)Bound*bni_11] + [bni_11]x1[3] ≥ 0∧0 = 0∧[1 + (-1)bso_12] ≥ 0)

  • 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])
    • (x1[3] ≥ 0 ⇒ (UIncreasing(COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])), ≥)∧0 = 0∧[(-1)Bound*bni_13] + [bni_13]x1[3] ≥ 0∧0 = 0∧[(-1)bso_14] ≥ 0)




The constraints for P> respective Pbound are constructed from P where we just replace every occurence of "t ≥ s" in P by "t > s" respective "t ≥ c". Here c stands for the fresh constant used for Pbound.
Using the following integer polynomial ordering the resulting constraints can be solved
Polynomial interpretation over integers[POLO]:

POL(TRUE) = 0   
POL(FALSE) = 0   
POL(COND_466_0_MAIN_LE(x1, x2, x3)) = [-1] + x3   
POL(466_0_MAIN_LE(x1, x2)) = [-1] + x2   
POL(+(x1, x2)) = x1 + x2   
POL(-1) = [-1]   
POL(>(x1, x2)) = [-1]   
POL(0) = 0   

The following pairs are in P>:

COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))

The following pairs are in Pbound:

COND_466_0_MAIN_LE(TRUE, x0[4], x1[4]) → 466_0_MAIN_LE(x0[4], +(x1[4], -1))
466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])

The following pairs are in P:

466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(>(x1[3], 0), x0[3], x1[3])

There are no usable rules.

(30) Obligation:

IDP problem:
The following function symbols are pre-defined:
!=~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


The following domains are used:

Integer


R is empty.

The integer pair graph contains the following rules and edges:
(3): 466_0_MAIN_LE(x0[3], x1[3]) → COND_466_0_MAIN_LE(x1[3] > 0, x0[3], x1[3])


The set Q is empty.

(31) IDependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(32) TRUE