Parma Polyhedra Library requirements
C++ convex-polyhedron evolution
PPL-SPEC-001360
1. Nonnegative polyhedral time elapse PPL-SPEC-001360

Ordinary time elapse shall compute the least polyhedron of the receiver's topology containing {p + tq ∣ p ∈ P, q ∈ Q, t ≥ 0}, using the entry receiver P and operand Q. Empty in either operand shall give empty. Dimension and topology shall agree, otherwise std::invalid_argument shall be thrown. A distinct operand shall retain its represented value. The progression scalar shall be real, not integral, and zero time shall be admitted for nonempty operands.

The generator-system overload shall interpret its input as the rate polyhedron described by that system, using the receiver's topology. The rate system shall have the same ambient dimension as the receiver. An empty rate system shall give the empty result. A nonempty system without an included point, or a closed receiver with a user-visible closure point in the system, shall raise std::invalid_argument. These argument checks shall precede updates of the receiver. An independent input generator system shall retain its value and representation. If the input is a borrowed generator view of the receiver, the operation shall read its entry generators before any receiver update; the view shall then follow 🔗 2. Equivalent borrowed polyhedral descriptions. A singleton zero rate shall preserve the receiver's represented set.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.

PPL-SPEC-001361
2. Positive polyhedral time elapse PPL-SPEC-001361

Positive time elapse shall compute the least polyhedron of the receiver's topology containing {p + tq ∣ p ∈ P, q ∈ Q, t > 0}. Zero time shall not be introduced merely by the definition; zero rates may nevertheless retain entry states. A closed receiver shall take the closed polyhedral enclosure. Both rate topologies shall be admitted by this variant. Dimensions shall agree, otherwise std::invalid_argument shall be thrown. Empty in either operand shall give empty. A distinct operand shall retain its value.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.

PPL-SPEC-001362
3. Integer-point-preserving polyhedral restriction PPL-SPEC-001362

Restriction shall return a polyhedron contained in the entry receiver that retains every entry point integral in the selected coordinates. The all-coordinate overload shall select all coordinates. Remaining points need not all be integral; no optimality guarantee shall be made, including under ANY_COMPLEXITY. Limited complexity may leave the value unchanged rather than materializing an expensive representation. Empty coordinate selection shall be a no-op. The selection shall contain only valid receiver coordinates.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.

PPL-SPEC-001363
4. Sound bounded-integer wrapping in polyhedra PPL-SPEC-001363

For selected coordinates assumed integral, wrapping shall conservatively represent the outcomes for the selected modeled width and signed or unsigned representation. OVERFLOW_WRAPS shall reduce modulo 2w and choose the representative in the modeled range. OVERFLOW_IMPOSSIBLE shall retain only nonoverflowing outcomes; OVERFLOW_UNDEFINED shall permit arbitrary results on overflowing transitions. Unselected coordinates shall retain their correlations as far as the documented polyhedral abstraction preserves them. Optional constraints shall restrict the output state, may mention only selected coordinates, and may guide the partition of wrapping translations. All selected indices and optional descriptors shall be dimension-compatible; dimension mismatches shall throw std::invalid_argument. The complexity threshold and individual-wrapping flag may trade precision for work; they shall not exclude concrete outcomes.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.

PPL-SPEC-001364
5. Exact polyhedral topological closure PPL-SPEC-001364

Closure assignment shall replace the receiver by its exact real topological closure. A closed receiver shall retain its value. NNC closure shall include the missing boundary points while preserving dimension, equalities and recession behavior. Empty and zero-dimensional values shall remain unchanged. Repetition shall be idempotent.

The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.