Parma Polyhedra Library requirements
C++ convex-polyhedron convergence
1. H79 polyhedral widening PPL-SPEC-001365

The previous iterate y shall be contained in the entry receiver, with equal dimension and topology. Widening shall contain both values and preserve a distinct operand's set. For closed polyhedra it shall implement the standard widening of the cited Definition 1, including representation-independent handling of redundant rows. widening_assign shall select this H79 operation. For NNC operands the named algorithm shall operate on compatible closed epsilon representations built from closure facets and maximal excluded faces. The represented result shall be independent of the operand cache history.

A nonnull token pointer shall designate an independently writable unsigned count. If widening would enlarge the receiver and a token is available, the operation shall retain the entry receiver and consume one token. Tokens shall not be replenished during a convergence iteration. With finite total delay, the prescribed widening iteration on ascending inputs shall stabilize. Dimension/topology mismatch shall throw std::invalid_argument; violating the inclusion prerequisite shall have no result guarantee.

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.

2. BHRZ03 polyhedral widening PPL-SPEC-001366

The previous iterate y shall be contained in the entry receiver, with equal dimension and topology. Widening shall contain both values and preserve a distinct operand's set. For closed polyhedra it shall implement the improved widening of the cited Definition 18: it shall preserve certified limited-growth steps, otherwise combine the specified constraint/point/ray improvements under the standard widening bound. For NNC operands it shall use the same normalized epsilon representations as H79 for its standard widening bound. Its result shall be at least as precise as H79 on the same admitted pair in either topology.

A nonnull token pointer shall designate an independently writable unsigned count. If widening would enlarge the receiver and a token is available, the operation shall retain the entry receiver and consume one token. Tokens shall not be replenished during a convergence iteration. With finite total delay, the prescribed widening iteration on ascending inputs shall stabilize. Dimension/topology mismatch shall throw std::invalid_argument; violating the inclusion prerequisite shall have no result guarantee.

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-001367
3. Limited H79 polyhedral extrapolation PPL-SPEC-001367

The operands, token use and inclusion prerequisite shall follow 🔗 1. H79 polyhedral widening. From the supplied constraint system, limited extrapolation shall select constraints satisfied by every entry receiver point and intersect them with the named widening result. Empty constraint input shall select the corresponding named widening. Results shall contain both inputs. An excess limiter dimension, unequal operand dimensions, incompatible operand topologies, or strict limiter inequalities on a closed receiver shall throw std::invalid_argument. External limiter values shall be preserved. An arbitrary changing limiter sequence shall have no general finite-convergence guarantee; the widening-up-to argument shall require a fixed finite admissible set of limiting constraints.

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-001368
4. Bounded H79 polyhedral extrapolation PPL-SPEC-001368

The operands, token use and inclusion prerequisite shall follow 🔗 1. H79 polyhedral widening. From the supplied constraint system, limited extrapolation shall select constraints satisfied by every entry receiver point and intersect them with the named widening result. Empty constraint input shall leave the limiting intersection neutral. Bounded extrapolation shall additionally intersect the limited result with the box obtained by interval CC76 widening of the two smallest enclosing boxes, in the same previous/current operand order. Results shall contain both inputs. An excess limiter dimension, unequal operand dimensions, incompatible operand topologies, or strict limiter inequalities on a closed receiver shall throw std::invalid_argument. External limiter values shall be preserved. An arbitrary changing limiter sequence shall have no general finite-convergence guarantee; the widening-up-to argument shall require a fixed finite admissible set of limiting constraints.

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-001369
5. Limited BHRZ03 polyhedral extrapolation PPL-SPEC-001369

The operands, token use and inclusion prerequisite shall follow 🔗 2. BHRZ03 polyhedral widening. From the supplied constraint system, limited extrapolation shall select constraints satisfied by every entry receiver point and intersect them with the named widening result. Empty constraint input shall select the corresponding named widening. Results shall contain both inputs. An excess limiter dimension, unequal operand dimensions, incompatible operand topologies, or strict limiter inequalities on a closed receiver shall throw std::invalid_argument. External limiter values shall be preserved. An arbitrary changing limiter sequence shall have no general finite-convergence guarantee; the widening-up-to argument shall require a fixed finite admissible set of limiting constraints.

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-001370
6. Bounded BHRZ03 polyhedral extrapolation PPL-SPEC-001370

The operands, token use and inclusion prerequisite shall follow 🔗 2. BHRZ03 polyhedral widening. From the supplied constraint system, limited extrapolation shall select constraints satisfied by every entry receiver point and intersect them with the named widening result. Empty constraint input shall leave the limiting intersection neutral. Bounded extrapolation shall additionally intersect the limited result with the box obtained by interval CC76 widening of the two smallest enclosing boxes, in the same previous/current operand order. Results shall contain both inputs. An excess limiter dimension, unequal operand dimensions, incompatible operand topologies, or strict limiter inequalities on a closed receiver shall throw std::invalid_argument. External limiter values shall be preserved. An arbitrary changing limiter sequence shall have no general finite-convergence guarantee; the widening-up-to argument shall require a fixed finite admissible set of limiting constraints.

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-001371
7. H79 convergence certificate values and comparisons PPL-SPEC-001371

For a nonempty polyhedron, H79_Certificate shall record its affine dimension and number of nonredundant visible constraints, excluding internal positivity and epsilon bounds. The default certificate shall describe the zero-dimensional universe. Copying and assignment shall preserve the recorded value. Certificate comparison shall order the pair lexicographically, returning only -1, 0 or 1; Compare shall test for a positive comparison.

Comparison with a containing nonempty same-dimensional polyhedron shall return 1 for increasing affine dimension, or at equal affine dimension for decreasing constraint count; -1 for increasing count and 0 for equal components. Zero shall not imply pointset equality. Generic non-polyhedron inputs shall be admitted only when their constraint descriptions can be converted to a closed polyhedron without strict inequalities. For nonempty same-dimensional closed or NNC pointsets P ⊂ Q , if R is the result of the default tokenless H79 widening of P by Q , then H79_Certificate(P).compare(R) shall return 1. The NNC case shall reconcile epsilon representations before strong constraint minimization and saturation matching, as established in doc/definitions.dox (user-manual section NNC_Widening_Certificates). Certificate-to-certificate comparisons shall use compatible ambient dimensions. The comparison predicate shall order larger component tuples first.

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-001372
8. BHRZ03 convergence certificate values and comparisons PPL-SPEC-001372

For a nonempty polyhedron, BHRZ03_Certificate shall record affine dimension, lineality dimension, nonredundant visible constraint count, point or closure-point count, and for each possible number of zero coordinates the count of nonredundant rays with that many zero coordinates. Default shall describe zero-dimensional universe. Copying shall preserve the recorded value. Certificate comparison shall order these components lexicographically and return only -1, 0 or 1; Compare shall test for a positive comparison.

Comparison with a same-dimensional nonempty containing polyhedron shall return 1 for growth certified stabilizing by the cited component ordering, 0 when the examined components agree and -1 otherwise. Increased affine/lineality dimension is stabilizing; at equal earlier dimensions a decrease of constraint, point or lexicographically examined ray counts is stabilizing. An increase in a later examined count may return -1 for a valid containing pair. Zero shall not establish set equality. is_stabilizing shall mean comparison is positive; OK shall test structural consistency of the stored component ranges. For nonempty same-dimensional closed or NNC pointsets P ⊂ Q , if R is the result of the default tokenless H79 or BHRZ03 widening of P by Q , then BHRZ03_Certificate(P).compare(R) shall return 1. The NNC H79 selection path, including the BHRZ03 last resort, shall reconcile epsilon representations before strong constraint minimization and saturation matching. doc/definitions.dox (user-manual section NNC_Widening_Certificates) establishes this extension of the cited closed-polyhedron compatibility argument. Certificate-to-certificate comparisons shall use compatible ambient dimensions. The comparison predicate shall order larger component tuples first.

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.