Parma Polyhedra Library requirements
C++ HH95 closed-polyhedron edge extrapolation
PPL-SPEC-001667
1. HH95 closed-polyhedron edge extrapolation PPL-SPEC-001667

For nonempty entry operands P, Q ⊆ Rn, let H = clconv(P∪Q) and let L be its lineality space. In the pointed quotient H ⁄ L, classify a vertex as old exactly when it belongs to (P + L) ⁄ L; classify the remaining vertices as new. HH95_extrapolation_assign(y) shall produce H + cone{v − u ∣ u old, v new, [u, v] an edge of H ⁄ L}, using any lifted representatives. It shall preserve ambient dimension and closed topology and contain both operands.

Empty in either operand shall be neutral. Self-aliasing shall preserve the entry 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 relative to HPW01 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.