Parma Polyhedra Library requirements
C++ HPW01 closed-polyhedron extrapolation

C++ HPW01 closed-polyhedron extrapolation

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
SW_SPEC
1
PPL-SPEC-001665
PPL-SPEC-001665
HPW01 closed-polyhedron extrapolation

For nonempty entry receiver P and operand Q in Rn, HPW01_extrapolation_assign(y) shall replace the receiver by the intersection of the affine-hull equalities of H = clconv(P∪Q) and exactly those facet halfspaces of H whose boundary intersects P. The result shall contain H and preserve ambient dimension and closed topology.

Empty in either operand shall be neutral. Self-aliasing shall use the entry operand twice and preserve its set. A distinct operand shall preserve its represented value. Incompatible dimensions shall throw std::invalid_argument before receiver value updates, including for empty operands. The set shall be independent of redundant input descriptors and initially materialized representations. No stabilization or universal precision ordering with HH95 extrapolation shall be required.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions of 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions. No general rollback after an arithmetic or resource exception is required beyond that common contract.

For a facet valid on P, its slack on points and recession rays is nonnegative and its homogeneous slack on lines is zero. Its boundary meets P exactly when a finite point generator has zero slack. Testing these products implements the boundary-intersection definition without solving one feasibility problem per facet. Equalities remain valid on both operands.

HenzingerPW01 | Section 3.3 (operator definition).

APPROVED
POLYHEDRA
IF_CPP
Test, Analysis, Inspection

Compare with public-API boundary intersections and independently known literal results. Include nonsimple and lower-dimensional hulls, rays, lines, rational vertices, changing affine hulls, pending constraints/generators, reloads, empty and zero-dimensional cases, self-aliasing and argument validation. Exhibit a strictly ascending extrapolation sequence and the nested-square precision-ordering counterexample.

src/C_Polyhedron_defs.hh; src/C_Polyhedron.cc; tests/Polyhedron/hpw01extrapolation1.cc; doc/definitions.dox.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library; member of C_Polyhedron.

void HPW01_extrapolation_assign(const C_Polyhedron& y);