Parma Polyhedra Library requirements
Convex polyhedra

Convex polyhedra

UID:
VERSION:
CLASSIFICATION:
PREFIX:
Type
Level
MID
UID
REFS
Title
Statement
Rationale
Comment
BIBLIOGRAPHY
STATUS
COMPONENT
APPLICABILITY
VERIFICATION_METHODS
VERIFICATION_CRITERIA
SOURCE
LANGUAGE
VISIBILITY
INTERFACE
LLR
1
PPL-LLR-000031
PPL-LLR-000031
Closed and non-necessarily-closed polyhedra

The polyhedral domains shall distinguish rational topologically closed convex polyhedra from rational convex polyhedra that may exclude boundary points; strict inequalities and closure points shall retain their boundary-membership meaning in the latter domain.

Closing a set can introduce states that were excluded by a strict constraint. The distinction is mathematical rather than a storage choice.

Verification covers closed and non-necessarily-closed polyhedron value types and boundary semantics. Related obligations: 🔗 9. Topological closure and closure approximation.

BagnaraHZ05FAC | whole work (background)

APPROVED
POLYHEDRA
ALL
Test, Analysis

Check open and closed half-spaces, partially open bounded sets, isolated boundary points and empty/universe cases. Confirm that representation changes do not silently close a nonclosed set.

doc/definitions.dox: Topologies and Topological-compatibility; Rational Polyhedra. src/C_Polyhedron_defs.hh: closed polyhedra. src/NNC_Polyhedron_defs.hh: non-necessarily-closed polyhedra.

LLR
2
PPL-LLR-000032
Equivalent polyhedral representations

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, for a successfully represented rational polyhedron, conversion between its constraint description and its generator description shall preserve the represented set, including emptiness, affine equalities and excluded boundary points.

Users may select either description; their geometric meaning must remain independent of which representation is currently materialized or minimized.

Verification covers polyhedral constraint/generator conversion and representation access. Related obligations: 🔗 3. Preservation by representation-only changes, 🔗 4. Sound conversion between numerical abstractions.

BagnaraHZ05FAC | whole work (background)

APPROVED
POLYHEDRA
ALL
Test, Analysis

Derive small constraint and generator descriptions independently and check equality after conversion in both directions. Include redundant descriptors, lower-dimensional sets, unbounded directions and nonincluded closure points.

doc/definitions.dox: Constraint Description; Generator Description; Rational Polyhedra. src/Polyhedron_defs.hh: constraint and generator representations. src/Polyhedron_conversion_templates.hh: representation conversion.

LLR
3
PPL-LLR-000033
Polyhedral intersection and hull

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, for dimension- and topology-compatible polyhedra, a successful intersection shall denote their set intersection and a successful convex polyhedral hull shall denote the least polyhedron of that topology containing both input sets.

These are the meet and join operations of the selected polyhedral domain. The hull is not generally the set-theoretic union.

Verification covers polyhedral intersection and hull operations. Related obligations: 🔗 8. Abstract set-difference semantics.

APPROVED
POLYHEDRA
ALL
Test, Analysis

Compare intersections with combined independent constraints. Establish candidate hulls from independent geometric arguments and check containment and minimality on finite examples, including disjoint inputs, lower-dimensional inputs and nonclosed boundaries.

doc/definitions.dox: Intersection and Convex Polyhedral Hull. src/Polyhedron_defs.hh: intersection and upper-bound contracts.

LLR
4
PPL-LLR-000034
PPL-LLR-000034
Rational affine transformations of polyhedra

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, for a valid deterministic rational affine transformation, successful polyhedral image and inverse-image operations shall denote, respectively, the exact image and exact inverse image of the input polyhedron under that transformation. Removing selected real coordinates shall compute their exact existential projection, retaining the order of the surviving coordinates and the closed or NNC topology.

Assignments and backward analysis require a precise distinction between transporting states forward and selecting their preimages.

Verification covers polyhedral affine-image and inverse-image operations, retaining this exactness requirement. Related obligations: 🔗 6. Sound affine forward and backward transfers.

APPROVED
POLYHEDRA
ALL
Test, Analysis

Derive transformed constraints or generators independently for invertible maps, projections, constant assignments and maps preserving lower-dimensional sets. Include strict boundaries and every supported coefficient configuration in which the calculation completes. For coordinate removal, compare independent constraint and generator routes on coupled affine equalities, including nonunit signed coefficients, noncontiguous selections, redundant or inconsistent rows and open boundaries. Include coupled residual one-sided coordinates following equality substitution and fallback cases with opposite signs. Include full-rank cyclic equality systems and rank-deficient fallback cases. Include coupled inequality elimination with every strictness combination and independently bounded work. Compare eligible closed one-coordinate projections with independent continuous optimization, including finite, unbounded and infeasible outcomes.

doc/definitions.dox: Images and Preimages of Affine Transfer Relations; Single-Update Affine Functions. src/Polyhedron_defs.hh: affine image and preimage contracts.

LLR
5
PPL-LLR-000035
PPL-LLR-000035
Polyhedral widening guarantees

PPL shall provide widening facilities for its supported polyhedral domains. Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, a supported widening shall contain its input polyhedra and shall stabilize its prescribed iteration on ascending sequences satisfying the stated inclusion and finite-delay conditions.

Improved precision and finite delay must preserve the convergence purpose of widening.

Verification covers polyhedral widening operations, algorithm selection and convergence preconditions. Related obligations: 🔗 6. Compound extrapolation and finite convergence.

BagnaraHRZ05SCP | whole work (background)

APPROVED
POLYHEDRA
ALL
Test, Analysis

Check inclusion at each step of independently described ascending sequences and review the mathematical convergence argument for each advertised algorithm. Include finite delayed iterations, changes of redundant representation and lower-dimensional sequences.

doc/definitions.dox: Widening Operators; Widening with Tokens. src/Polyhedron_defs.hh: widening contracts. src/Polyhedron_widenings.cc: supported widening algorithms.

LLR
6
PPL-LLR-000447
PPL-LLR-000447
Exact polyhedral Minkowski addition

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, the C++ polyhedral facility shall provide exact Minkowski addition for dimension- and topology-compatible polyhedra. The completed result shall denote the set of sums of one state from each entry operand, preserving the receiver's ambient dimension and topology and the boundary-membership meaning of not-necessarily-closed operands. Empty shall be absorbing.

Adding independently varying state sets is needed to combine displacements, disturbances and numerical effects. The operation differs from convex hull and from multiplying a rate by an arbitrary nonnegative duration. Excluded boundaries remain semantically significant.

Fukuda04JSC | Whole work (background on Minkowski addition of convex polytopes). BagnaraHZ10CGTA | Sections 2.1–2.3, Definition 2.2 (closed and NNC generator semantics).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Derive literal sums of closed, open and half-open intervals, lower-dimensional sets, rational points and unbounded polyhedra. Compare with an independent Cartesian-product, linear-image and projection construction where the coefficient profile admits that construction. Check commutativity, self-addition, empty and zero-dimensional operands, and preservation of a distinct source. Exercise each supported coefficient profile under its intermediate-range preconditions.

doc/definitions.dox: Minkowski sum definition and Minkowski Addition.

LLR
7
PPL-LLR-000448
PPL-LLR-000448
HPW01 closed-polyhedron extrapolation

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, the C++ closed-polyhedron facility shall provide the HPW01 extrapolation of two dimension-compatible operands. The result shall contain both operands and retain precisely the affine equalities and supporting facet inequalities of their closed hull whose boundary meets the first operand. Empty shall be neutral. The operation shall not imply stabilization of an iteration.

Facet contact retains bounds supported by previously reached states while removing boundaries reached only by the new states. This extrapolation has a different mathematical purpose from a widening with a convergence guarantee.

HenzingerPW01 | Section 3.3 (extrapolation construction).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Derive literal facet-contact results for bounded, unbounded and lower-dimensional sets; compare generator saturation with independent boundary intersections. Exercise empty and zero-dimensional operands, self-aliasing, source preservation, representation histories and incompatible dimensions.

LLR
8
PPL-LLR-000449
PPL-LLR-000449
Bounded Chvatal half-pair refinement

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, the C++ closed-polyhedron facility shall provide a bounded pass of Chvatal cuts from pairs of inequalities, following the existing all-coordinate integer-point tightening. The result shall remain inside the entry set and retain every entry point integral in all coordinates. Zero budget shall perform the existing tightening alone; exact integer hull computation shall not be implied.

Combining inequalities can establish integer bounds that separate-row tightening cannot infer. A caller-selected pair budget limits the additional search for such bounds.

Chvatal73DM | Whole work (background on Chvatal cutting planes). NemhauserW88 | Whole work (integer-programming background).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Compare integer membership by independent bounded enumeration and derive cuts analytically, including negative odd constants. Check a triangle on which the pass strictly improves existing tightening, exhausted and zero budgets, equality rows, empty and unbounded inputs, repeated calls and coefficient-profile prerequisites.

LLR
9
PPL-LLR-000450
PPL-LLR-000450
HH95 closed-polyhedron edge extrapolation

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, the C++ closed-polyhedron facility shall provide HH95 edge extrapolation of dimension-compatible operands. It shall add to their closed hull the directions from old hull vertices to adjacent new hull vertices, interpreting the construction modulo the hull lineality. Empty shall be neutral. The result shall contain both operands, without implying stabilization or universal precision ordering relative to HPW01.

Adjacent old/new vertices determine candidate continuing directions. Quotienting out lineality gives a well-defined extension when the hull contains lines, while retaining its free directions.

HenzingerH95 | Extrapolation construction (extreme points, rays and adjacent old/new vertices).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Compare against independent minimal-face dimension tests and literal geometric results. Include nonsimple vertices, affine hulls, unbounded rays and lines, rational vertices, empty/self/zero-dimensional operands, cache histories and dimension rejection.

LLR
10
PPL-LLR-000453
PPL-LLR-000453
Selected-coordinate polyhedral integer witnesses

The C++ polyhedral facility shall test existence of a represented point integral on a caller-selected coordinate subset, leaving other coordinates real. Under the input and arithmetic preconditions, true shall mean that such a point exists. Empty selection shall mean nonemptiness and selecting all coordinates shall retain the all-coordinate integer-point meaning, including excluded NNC boundaries.

Mixed integer states often constrain only selected program coordinates. Requiring every coordinate to be integral would incorrectly reject valid mixed witnesses.

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Independently enumerate rational singleton cases with selected integral coordinates; check open boundaries, empty/universe and zero-dimensional sets, both topologies, cache and pending histories, reload, all/empty selections and invalid indices.

LLR
11
PPL-LLR-000454
PPL-LLR-000454
Constraint-description polyhedral envelope

The C++ polyhedral facility shall provide the envelope of dimension- and topology-compatible polyhedra. Candidates shall be the inequalities in the entry constraint descriptions, with each equality contributing its two opposite inequalities. The result shall be the intersection of the candidates satisfied by both operands, preserving the ambient dimension and topology. No forced minimization of the candidate descriptions shall be required; redundant rows and different materialized descriptions may affect precision. Empty shall be neutral and self-application shall preserve the represented value. Incompatible dimensions or topologies shall be rejected before changing the receiver's represented value.

Successful computed-result guarantees shall assume the interface contracts' initialization, lifetime, synchronization, arithmetic-profile and resource preconditions, including all required intermediate calculations.

Retaining already valid half-spaces provides an enclosing approximation for merging reachable-state descriptions without introducing new directions or moving bounds. The chosen H-descriptions are part of the approximation policy; treating the result as representation independent would obscure that policy.

Software behavior is allocated to interface contracts and verified with independent half-space and geometric models, operation tests and analysis of boundary membership.

BemporadFT01 | Section 3 (definition of the envelope of H-polyhedra); Section 4, Algorithm 4.1, steps 1–2. BagnaraHZ10CGTA | Sections 2.1–2.3 (closed and NNC polyhedral semantics).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Derive literal retained-inequality results for closed and NNC sets, equalities, redundant descriptions, rational points, unbounded sets and empty or zero-dimensional operands. Check strict-bound validity, source-value preservation, self-application and compatibility rejection. Compare generator and LP support evaluation on the same captured candidate descriptions and assess their costs on reachability-merge fixtures.

LLR
12
PPL-LLR-000455
PPL-LLR-000455
Tight enclosing bounds in selected polyhedral directions

The C++ polyhedral facility shall provide a weak join of dimension- and topology-compatible polyhedra using the distinct nonzero homogeneous directions of their entry constraint descriptions, with each equality contributing both directions. For each direction bounded below on both nonempty operands, the result shall use the infimum over their union; unbounded directions shall be omitted. An NNC result shall exclude a finite limiting boundary exactly when neither operand attains that union infimum. The result shall contain the polyhedral hull and shall be contained in the envelope for the same descriptions. Ambient dimension and topology shall be preserved; empty shall be neutral, self-application shall preserve the represented value, and incompatible operands shall be rejected before changing that value.

No forced minimization of input descriptions shall be required; redundant directions may affect precision. Successful computed-result guarantees shall assume the interface contracts' initialization, lifetime, synchronization, arithmetic-profile and resource preconditions, including required intermediate calculations.

Tight support bounds in existing directions improve the enclosing approximation while avoiding construction of all hull directions. The journal reference supplies the boundary semantics; the cited conference definition supplies the specific weak-join construction and its equality convention. The NNC attainment rule follows from validity of the resulting half-spaces.

Software behavior is allocated to interface contracts and verified with independent half-space and geometric models, operation tests and analysis of boundary membership.

SankaranarayananCSM06 | Section 3, Definition 5 (weak join and equality splitting). BagnaraHZ10CGTA | Sections 2.1–2.3 (NNC semantics).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Review

Derive literal directional bounds for boxes, points, rational endpoints, distinct directions, redundant rows, lower-dimensional and unbounded sets. Check both optimal-value orderings and ties, one or both operands attaining the union infimum, empty or zero-dimensional inputs, source preservation and compatibility rejection. Compare LP and generator results for the same captured descriptions and measure their delta costs.