Parma Polyhedra Library requirements
C++ HPW01 closed-polyhedron extrapolation
PPL-SPEC-001665
1. HPW01 closed-polyhedron extrapolation PPL-SPEC-001665

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.