-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide coordinate-removal operations for supported pointset domains. Coordinate removal shall have the concrete meaning of retaining exactly those valuations of the remaining coordinates for which the original set has an extension, in the declared remaining-coordinate order. For valid inputs satisfying the operation's stated computational-arithmetic preconditions, including those governing all intermediate calculations, a successfully completed abstract result shall contain that existential projection and satisfy the domain's stated exactness or precision guarantee.
-
6. C generated dimension arrays and maps PPL-SPEC-001559 Dimension growth, projection/removal, expansion/folding and coordinate maps shall preserve native coordinate meanings. Counted dimension lists shall form sets where the native interface accepts sets. Map arrays shall associate source index i with entry i, using the published non-dimension sentinel for undefined entries. Entries outside the supplied array shall be undefined. Map emptiness and maximum codomain shall have finite partial-map meanings; valid maps shall satisfy the native dimension-map admission rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
Incoming link from: 5. Injective partial remapping of bounded-difference coordinates1
4. Existential bounded-difference coordinate removal PPL-SPEC-001105 remove_space_dimensions(vars) shall existentially remove exactly the entry coordinates in vars. Remaining coordinates shall be compacted in ascending original-index order. remove_higher_space_dimensions(k) shall existentially remove the suffix with indices k, …, n − 1, retaining the original prefix order. Removal shall retain all implied relations among survivors, including relations whose proof uses removed coordinates.
With exact computational arithmetic, both operations shall give the exact existential projection, which is bounded-difference representable. Rounded computational profiles shall give a sound projection with the closure precision admitted by 🔗 1. Bounded-difference values, numerical profiles and valid use. Removing no coordinates shall preserve the entry value; removing every coordinate shall give zero-dimensional universe exactly when the entry value is nonempty, otherwise zero-dimensional empty. Empty inputs shall retain emptiness in the reduced dimension.
An element of vars outside the entry dimension, or k greater than that dimension, shall throw std::invalid_argument. Empty selections and a suffix length of zero shall also apply to zero-dimensional values.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. The supplied Variables_Set shall retain its own valid-use contract and shall remain unchanged. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
-
5. Injective partial remapping of bounded-difference coordinates PPL-SPEC-001106 map_space_dimensions(mapping) shall existentially discard every entry coordinate outside the mapping domain and place each surviving coordinate i at target index f(i). For a positive-dimensional receiver, the admitted mapping shall be a partial injection from the entry indices 0, …, n − 1, with image exactly 0, …, m − 1 for some m ≤ n. The result shall have dimension m; an empty mapping shall project to the zero-dimensional value.
With exact computational arithmetic, the result shall equal the projected and relabeled entry set. Rounded profiles shall retain the projection precision of 🔗 4. Existential bounded-difference coordinate removal. Empty and universe values shall retain those meanings in the mapped dimension. An identity mapping shall preserve the value; a permutation shall retain all renamed relations.
The mapping type shall supply logically const has_empty_codomain(), max_in_codomain() and maps(i,j) queries with the meanings of [LINK: PPL-SPEC-000004], 🔗 5. Exact empty-codomain query and 🔗 6. Largest image and defined empty-map failure. A zero-dimensional input shall remain unchanged and require no mapping query; mapping-value restrictions shall apply only to positive-dimensional receivers. Otherwise has_empty_codomain() shall be queried first; when true, neither remaining query shall be called. When false, the maximum shall be queried before mappings are consumed. Queries shall describe one stable mapping throughout the call. No specific number or order of individual maps queries shall be required. Violating injectivity, source bounds, contiguous image or query consistency shall be outside the admitted interface.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. The supplied mapping shall remain live and describe a stable partial function. Exceptions escaping its queries shall propagate. After a query exception, destruction shall release owned storage, and assigning a complete valid value to the destination shall be supported before further geometric use. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
-
7. Alternative-coordinate folding of bounded-difference values PPL-SPEC-001108 fold_space_dimensions(vars,dest) shall combine the alternatives obtained by keeping the original destination value or replacing it by the value of any entry coordinate in vars, then remove every folded coordinate. Surviving indices, including the destination's new index, shall be compacted in ascending original order. Other surviving coordinates shall keep their entry meanings within each alternative.
With exact computational arithmetic, the result shall be the least bounded-difference enclosure of that union of alternatives. In particular, its unary and difference bounds shall be the corresponding suprema over all alternatives. Rounded profiles shall retain a sound enclosure and their admitted closure and numerical precision under 🔗 1. Bounded-difference values, numerical profiles and valid use. The union need not be convex or itself bounded-difference representable. Empty input shall remain empty in the reduced dimension. Empty vars shall preserve the value after validating the destination coordinate.
The destination and every folded coordinate shall be inside the entry space, and the destination shall not belong to vars. An invalid coordinate or selection containing the destination shall throw std::invalid_argument. The Variables_Set selection shall remain unchanged.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. The supplied Variable and Variables_Set shall retain their own valid-use contracts. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
-
4. Selected-coordinate box projection and compaction PPL-SPEC-000964 remove_space_dimensions(vars) shall existentially project away exactly the selected coordinates. Surviving factors shall retain their relative order and shall receive contiguous indices starting at zero. The resulting dimension shall be the entry dimension minus the selected set's cardinality. For boxes this projection shall be exact. Empty sources shall remain empty, even if the only empty factor is removed. Removing every coordinate from a nonempty box shall give zero-dimensional universe; removing every coordinate from empty shall give zero-dimensional empty. Removing no coordinates shall preserve the value.
A selected coordinate outside the entry ambient dimension shall throw std::invalid_argument, including for empty inputs.
The validity, numerical, initialization, synchronization and resource prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Operations requiring Variables_Set or mapping objects shall retain those objects' own interface prerequisites. A distinct borrowed source shall remain unchanged unless explicitly included in the destination mutation. Underlying allocation or endpoint exceptions shall retain their own guarantees; no general rollback guarantee shall be inferred.
-
5. Trailing-coordinate box projection PPL-SPEC-000965 remove_higher_space_dimensions(d) shall exactly project onto the first d entry coordinates. The ambient dimension shall become d and retained factors shall preserve order and values. An empty source shall remain empty regardless of which factors carried emptiness. Projection to dimension zero shall yield universe exactly for a nonempty source, and empty for an empty source. Requesting the current dimension shall preserve the value.
If d exceeds the entry ambient dimension, the operation shall throw std::invalid_argument. It shall not extend the box.
The validity, numerical, initialization, synchronization and resource prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Operations requiring Variables_Set or mapping objects shall retain those objects' own interface prerequisites. A distinct borrowed source shall remain unchanged unless explicitly included in the destination mutation. Underlying allocation or endpoint exceptions shall retain their own guarantees; no general rollback guarantee shall be inferred.
-
4. Selected-coordinate existential projection PPL-SPEC-001298 remove_space_dimensions(vars) shall assign exact existential projection onto the unselected coordinates, preserving their relative order and renumbering them consecutively. Its dimension shall decrease by the selection size. Empty selection is identity; removing every coordinate yields zero-dimensional universe exactly for nonempty input. Any out-of-range index shall throw std::invalid_argument before mutation, including empty.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Prefix-coordinate existential projection PPL-SPEC-001299 remove_higher_space_dimensions(new_dimension) shall assign the exact projection onto the prefix of that many coordinates. Equal dimension is identity; zero produces zero-dimensional universe exactly when the entry grid is nonempty. A requested dimension greater than the current dimension shall throw std::invalid_argument before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
3. Existential removal of selected octagonal coordinates PPL-SPEC-001200 For entry set X ⊆ ℝn and selected entry indices S, remove_space_dimensions(vars) shall existentially eliminate those coordinates. If i0 < ⋯ < im − 1 are the indices outside S, the concrete result shall be
{(xi0, …, xim − 1) ∣ x ∈ X} ⊆ ℝm.Survivors shall be compacted in that ascending order. Removing no coordinates shall preserve the value. Removing a constrained coordinate shall retain relationships implied between surviving coordinates, subject to the stated numerical precision.
With exact computational arithmetic, including exact halving where needed, the result shall equal that projection. For rounded profiles the result shall contain it; closure and bound rounding may yield a less precise enclosure. Integral bound storage shall retain its real-set interpretation, including half-integral points. Empty input shall remain empty in the resulting ambient dimension; a nonempty set projected onto no coordinates shall become the zero-dimensional universe.
Every selected index shall be inside the entry space. An out-of-space selection shall throw std::invalid_argument before changing the represented set or dimension, including for empty input. The Variables_Set argument shall remain unchanged.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
4. Existential removal of trailing octagonal coordinates PPL-SPEC-001201 For entry set X ⊆ ℝn, remove_higher_space_dimensions(k) shall remove indices k, …, n − 1 and retain the prefix in its original order. Its concrete result shall be {(x0, …, xk − 1) ∣ x ∈ X} ⊆ ℝk. Calling it with k = n shall preserve the value.
With exact computational arithmetic, including exact halving where needed, the result shall equal that projection. For rounded profiles the result shall contain it; closure and bound rounding may yield a less precise enclosure. Integral bound storage shall retain its real-set interpretation, including half-integral points. Empty input shall remain empty in the resulting ambient dimension; a nonempty set projected onto no coordinates shall become the zero-dimensional universe.
The requested prefix length shall satisfy k ≤ n. A larger value shall throw std::invalid_argument before changing the represented set or dimension, including for empty or zero-dimensional input. Selected-coordinate removal is specified by 🔗 3. Existential removal of selected octagonal coordinates.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
5. Injective partial remapping of octagonal coordinates PPL-SPEC-001202 map_space_dimensions(mapping) shall existentially discard entry coordinates outside the mapping domain and place each retained coordinate i at target index f(i). For a positive-dimensional receiver, the admitted mapping shall be a partial injection from {0, …, n − 1} with image exactly {0, …, m − 1} for some m ≤ n. The concrete result shall be
{(xf − 1(0), …, xf − 1(m − 1)) ∣ x ∈ X}.The result shall have dimension m. An empty mapping shall project to the zero-dimensional value. A permutation shall retain all renamed relationships; an identity mapping shall preserve the value. The exactness, rounded enclosure and empty-set guarantees of 🔗 3. Existential removal of selected octagonal coordinates shall apply to the projection part.
The mapping type shall supply logically const has_empty_codomain(), max_in_codomain() and maps(i,j) queries with the meanings of [LINK: PPL-SPEC-000004], 🔗 5. Exact empty-codomain query and 🔗 6. Largest image and defined empty-map failure. Queries shall describe one stable mapping throughout the call. A zero-dimensional receiver shall remain unchanged without querying the mapping. Otherwise has_empty_codomain() shall be queried first; when it returns true, neither remaining query shall be called. For a nonempty image the maximum query shall precede individual mapping queries. No fixed count or order of maps queries shall be required. The mapping's value shall remain unchanged apart from effects explicitly permitted by its query contract.
Violating injectivity, source bounds, the contiguous-image condition or query consistency shall be outside admitted use. In particular, output-index holes shall not denote newly introduced free coordinates. Exceptions from mapping queries shall propagate; no rollback of the receiver shall be inferred after such an exception.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
7. Alternative-coordinate folding of octagonal values PPL-SPEC-001204 fold_space_dimensions(vars,dest) shall combine the alternatives obtained by retaining the entry destination value or choosing the value of any entry coordinate in vars for that destination, then existentially remove every folded coordinate. Surviving indices, including the destination's resulting index, shall be compacted in ascending original order. Other surviving coordinates shall retain their entry meanings within each alternative.
With exact computational arithmetic, including exact halving where needed, the result shall be the least closed octagonal enclosure of the union of those alternatives: each signed unary or binary bound shall be its supremum over that union. The union may be nonconvex. Rounded profiles shall produce a sound enclosure with the numerical guarantees of 🔗 1. Octagonal values, numerical profiles and valid use; they need not produce the least octagonal enclosure. Empty input shall remain empty in the reduced ambient dimension. Empty vars shall preserve the value after checking the destination.
The destination and every folded coordinate shall belong to the entry space, and the destination shall not be in vars. An invalid coordinate or a selection containing the destination shall throw std::invalid_argument before changing the entry set or dimension. This validation shall also apply to empty input. The Variables_Set selection shall remain unchanged.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
8. Dimension-preserving forgetting of octagonal coordinates PPL-SPEC-001205 For entry set X ⊆ ℝn and selected indices S, unconstrain(vars) shall retain ambient dimension n and have concrete result
{y ∈ ℝn ∣ ∃x ∈ X ∀i ∉ S : yi = xi}.unconstrain(var) shall have the same meaning for the singleton selection containing var. Retained coordinates shall keep their original indices; selected coordinates shall be free. Relationships implied between retained coordinates shall be preserved with the declared projection precision.
With exact computational arithmetic, including exact halving where needed, the result shall equal this cylindrification. Rounded profiles shall contain it and may be less precise through closure and bound rounding. Empty input shall remain empty; forgetting every coordinate of a nonempty input shall produce the universe in the same ambient dimension. Forgetting no coordinates shall preserve the value, including in zero dimensions. Integer storage shall still describe real points, including half-integral points.
Every selected coordinate shall belong to the entry space. An out-of-space variable or selection shall throw std::invalid_argument before changing the represented set or ambient dimension, including for empty input. The Variables_Set argument shall remain unchanged. Coordinate removal, which also changes dimension, is specified by 🔗 3. Existential removal of selected octagonal coordinates.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide the supported pointset-domain extensions that add unconstrained coordinates and that add coordinates fixed to zero. Unconstrained extension shall mean adjoining unrestricted coordinates; zero-coordinate extension shall mean adjoining coordinates fixed to zero. Both meanings shall retain the identities of the original coordinates and apply also to zero-dimensional input sets. For valid inputs satisfying the operation's stated computational-arithmetic preconditions, including those governing all intermediate calculations, a successfully completed extension shall denote its specified extension, preserving the original coordinates and their relationships while applying the selected condition to every new coordinate.
-
6. C generated dimension arrays and maps PPL-SPEC-001559 Dimension growth, projection/removal, expansion/folding and coordinate maps shall preserve native coordinate meanings. Counted dimension lists shall form sets where the native interface accepts sets. Map arrays shall associate source index i with entry i, using the published non-dimension sentinel for undefined entries. Entries outside the supplied array shall be undefined. Map emptiness and maximum codomain shall have finite partial-map meanings; valid maps shall satisfy the native dimension-map admission rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
1. Unrestricted bounded-difference coordinate extension PPL-SPEC-001102 add_space_dimensions_and_embed(m) shall change an entry value X ⊆ ℝn into exactly X×ℝm in dimension n + m. Original coordinates shall keep their indices and relationships. The fresh coordinates shall have indices n, …, n + m − 1 and be unrestricted; no fresh-to-original or fresh-to-fresh equality shall be imposed. Empty input shall remain empty in the new ambient dimension. Zero-dimensional universe shall extend to universe. Adding zero coordinates shall preserve the value.
A requested final dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix. The rejection shall include counts whose mathematical sum with the current dimension exceeds the range of dimension_type; arithmetic wraparound shall not turn an excessive extension into a successful smaller one.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
A rejected dimension request shall preserve the represented entry set and ambient dimension.
-
2. Zero-fixed bounded-difference coordinate extension PPL-SPEC-001103 add_space_dimensions_and_project(m) shall change an entry value X ⊆ ℝn into exactly X×{0}m in dimension n + m. Original coordinates shall keep their indices and relationships. Every fresh coordinate, with index n, …, n + m − 1, shall equal zero. Empty input shall remain empty in the new dimension; zero-dimensional universe shall extend to the origin. Adding zero coordinates shall preserve the value.
A requested final dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix. The rejection shall include a mathematical sum outside dimension_type's range, without accepting its wrapped value.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
A rejected dimension request shall preserve the represented entry set and ambient dimension.
-
2. Unrestricted and zero-fixed box coordinate extension PPL-SPEC-000962 Adding m coordinates shall preserve every old coordinate in its original position and append the new coordinates at the highest indices. add_space_dimensions_and_embed(m) shall append unrestricted factors. add_space_dimensions_and_project(m) shall append factors containing exactly zero. Each completed result shall exactly denote the corresponding Cartesian extension. Empty sources shall remain empty, including empty zero-dimensional sources; zero-dimensional universe shall extend to the corresponding unrestricted or zero-fixed product. Adding zero coordinates shall preserve the value.
If the resulting ambient dimension would exceed max_space_dimension(), the operation shall throw std::length_error before attempting coordinate allocation of that size. Successful dimensions shall remain subject to resource availability.
The validity, numerical, initialization, synchronization and resource prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Operations requiring Variables_Set or mapping objects shall retain those objects' own interface prerequisites. A distinct borrowed source shall remain unchanged unless explicitly included in the destination mutation. Underlying allocation or endpoint exceptions shall retain their own guarantees; no general rollback guarantee shall be inferred.
-
1. Free-coordinate extension PPL-SPEC-001295 add_space_dimensions_and_embed(m) shall assign G×Rm, placing the new free coordinates after the old ones. Zero additions shall preserve the value and dimension; empty remains empty in the enlarged space. Exceeding max_space_dimension() shall throw std::length_error before mutation, using an overflow-safe dimension check.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
2. Zero-coordinate extension PPL-SPEC-001296 add_space_dimensions_and_project(m) shall assign G×{0}m, appending the new zero coordinates. A nonempty zero-dimensional grid shall become the origin, and empty shall remain empty. Zero additions are identity. Exceeding max_space_dimension() shall throw std::length_error before mutation, using an overflow-safe dimension check.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
Incoming link from: 2. Zero-fixed octagonal coordinate extension1
1. Unrestricted octagonal coordinate extension PPL-SPEC-001198 For entry set X ⊆ ℝn, add_space_dimensions_and_embed(m) shall produce exactly X×ℝm in dimension n + m. Original coordinates shall retain their indices and relationships. New coordinates, in positions n, …, n + m − 1, shall be unrestricted. Empty input shall remain empty in the larger space. The zero-dimensional universe shall extend to the universe. Adding zero coordinates shall preserve the value.
A final dimension exceeding max_space_dimension() shall throw std::length_error before attempting the corresponding matrix allocation. The check shall reject a count whose mathematical sum with the current dimension exceeds the range of dimension_type; arithmetic wraparound shall not turn an excessive request into a smaller successful extension. Rejected dimension requests shall preserve the entry set and dimension.
The ordered product with an independently represented second set is specified by 🔗 7. Ordered Cartesian concatenation of octagonal values.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
2. Zero-fixed octagonal coordinate extension PPL-SPEC-001199 For entry set X ⊆ ℝn, add_space_dimensions_and_project(m) shall produce exactly X×{0}m in dimension n + m. Original coordinates shall retain their indices and relationships. Every new coordinate, in positions n, …, n + m − 1, shall equal zero. Empty input shall remain empty in the larger space. The zero-dimensional universe shall extend to the origin. Adding zero coordinates shall preserve the value.
A final dimension exceeding max_space_dimension() shall throw std::length_error before attempting the corresponding matrix allocation, including a mathematical sum outside the range of dimension_type. Rejected dimension requests shall preserve the entry set and dimension. Unrestricted extension is specified separately by 🔗 1. Unrestricted octagonal coordinate extension.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
6. Octagonal coordinate expansion by independent fibers PPL-SPEC-001203 For an existing entry coordinate v < n, expand_space_dimension(var,m) shall append coordinates in positions n, …, n + m − 1, retaining the original coordinate positions. Let X ⊆ ℝn be the entry set and let u[v ← a] denote replacing coordinate v of the old-coordinate prefix of u by a. The declared octagonal result shall be the independent-fiber relation
{u ∈ ℝn + m ∣ (u0, …, un − 1) ∈ X ∧n + m − 1⋀j = nu[v ← uj] ∈ X}.Each replica shall reproduce the selected coordinate's restrictions against retained original coordinates. Equality with the original coordinate or between replicas shall hold only when implied by those restrictions. The result shall contain the generic common-replica expansion relation in [LINK: PPL-LLR-000444]. The displayed relation is itself octagonal. Exact copying of admitted entry bounds shall preserve it; delegated computational rounding shall retain the numerical guarantees of 🔗 1. Octagonal values, numerical profiles and valid use.
Empty input shall remain empty. Zero replicas shall preserve the value after validating var. An out-of-space variable shall throw std::invalid_argument, including for empty input or zero replicas. A final dimension above max_space_dimension() shall throw std::length_error, including a count whose mathematical sum with the current dimension would exceed dimension_type. These rejected requests shall preserve the entry set and dimension.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide supported coordinate-remapping operations for pointset domains. The concrete meaning of a valid mapping shall follow the specified source-to-target correspondence for surviving values and existentially eliminate coordinates outside the mapping. For valid inputs satisfying the operation's stated computational-arithmetic preconditions, including those governing all intermediate calculations, a successfully completed remapping result shall contain the exact remapped set and satisfy the operation's stated exactness or precision guarantee.
-
6. C generated dimension arrays and maps PPL-SPEC-001559 Dimension growth, projection/removal, expansion/folding and coordinate maps shall preserve native coordinate meanings. Counted dimension lists shall form sets where the native interface accepts sets. Map arrays shall associate source index i with entry i, using the published non-dimension sentinel for undefined entries. Entries outside the supplied array shall be undefined. Map emptiness and maximum codomain shall have finite partial-map meanings; valid maps shall satisfy the native dimension-map admission rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
5. Injective partial remapping of bounded-difference coordinates PPL-SPEC-001106 map_space_dimensions(mapping) shall existentially discard every entry coordinate outside the mapping domain and place each surviving coordinate i at target index f(i). For a positive-dimensional receiver, the admitted mapping shall be a partial injection from the entry indices 0, …, n − 1, with image exactly 0, …, m − 1 for some m ≤ n. The result shall have dimension m; an empty mapping shall project to the zero-dimensional value.
With exact computational arithmetic, the result shall equal the projected and relabeled entry set. Rounded profiles shall retain the projection precision of 🔗 4. Existential bounded-difference coordinate removal. Empty and universe values shall retain those meanings in the mapped dimension. An identity mapping shall preserve the value; a permutation shall retain all renamed relations.
The mapping type shall supply logically const has_empty_codomain(), max_in_codomain() and maps(i,j) queries with the meanings of [LINK: PPL-SPEC-000004], 🔗 5. Exact empty-codomain query and 🔗 6. Largest image and defined empty-map failure. A zero-dimensional input shall remain unchanged and require no mapping query; mapping-value restrictions shall apply only to positive-dimensional receivers. Otherwise has_empty_codomain() shall be queried first; when true, neither remaining query shall be called. When false, the maximum shall be queried before mappings are consumed. Queries shall describe one stable mapping throughout the call. No specific number or order of individual maps queries shall be required. Violating injectivity, source bounds, contiguous image or query consistency shall be outside the admitted interface.
The supported coefficient profiles, real-set interpretation, initialized runtime, numerical-intermediate, FPU, resource and synchronization conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. The supplied mapping shall remain live and describe a stable partial function. Exceptions escaping its queries shall propagate. After a query exception, destruction shall release owned storage, and assigning a complete valid value to the destination shall be supported before further geometric use. Underlying allocation and numerical failures may propagate; no additional rollback guarantee shall be inferred. Storage acquired by discarded temporaries shall be released.
-
6. Injective partial box coordinate remapping PPL-SPEC-000966 For entry ambient dimension n, the supplied mapping shall be a stable injective partial function on indices from zero through n-1, with image exactly the contiguous indices from zero through m-1 for some m no greater than n. The operation shall exactly project away unmapped coordinates and place each retained entry factor at its mapped index. The result shall have dimension m. Empty sources shall remain empty. An empty mapping shall give zero-dimensional universe for a nonempty source and zero-dimensional empty for an empty source. A zero-dimensional source shall retain its value.
The mapping object shall provide the protocol shown below. has_empty_codomain() shall report whether the map is nowhere defined; max_in_codomain() shall return the maximum image when nonempty; maps(i,j) shall report membership in the domain and, on true, assign the image to j. Whenever callbacks are used, the empty-codomain query shall precede the others, and a true result shall preclude maximum/image queries. No callback shall be required for a zero-dimensional source. Values and mapping callbacks shall meet their own resource, lifetime and synchronization prerequisites. A mapping violating the stated mathematical/protocol preconditions shall be outside the contract.
The validity, numerical, initialization, synchronization and resource prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Operations requiring Variables_Set or mapping objects shall retain those objects' own interface prerequisites. A distinct borrowed source shall remain unchanged unless explicitly included in the destination mutation. Underlying allocation or endpoint exceptions shall retain their own guarantees; no general rollback guarantee shall be inferred.
-
6. Injective coordinate remapping PPL-SPEC-001300 map_space_dimensions(pfunc) shall project away unmapped old coordinates and move each retained coordinate to its supplied destination, exactly. The mapping shall be an injection from a subset of old indices onto a dense destination set {0, …, m − 1}, with m ≤ n. An invalid mapping violates the interface precondition; runtime rejection is not guaranteed. Empty image gives zero-dimensional projection. The mapping object shall provide has_empty_codomain(), max_in_codomain() and maps(i,j) with the meanings in 🔗 1. Public partial coordinate-map type and valid use; queries shall preserve the mapping. For positive old dimension the empty-image query precedes other queries; if empty, no maximum or lookup is required. Otherwise the maximum is queried at most once and lookups at most once per old coordinate. Zero old dimension may return without queries.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Injective partial remapping of octagonal coordinates PPL-SPEC-001202 map_space_dimensions(mapping) shall existentially discard entry coordinates outside the mapping domain and place each retained coordinate i at target index f(i). For a positive-dimensional receiver, the admitted mapping shall be a partial injection from {0, …, n − 1} with image exactly {0, …, m − 1} for some m ≤ n. The concrete result shall be
{(xf − 1(0), …, xf − 1(m − 1)) ∣ x ∈ X}.The result shall have dimension m. An empty mapping shall project to the zero-dimensional value. A permutation shall retain all renamed relationships; an identity mapping shall preserve the value. The exactness, rounded enclosure and empty-set guarantees of 🔗 3. Existential removal of selected octagonal coordinates shall apply to the projection part.
The mapping type shall supply logically const has_empty_codomain(), max_in_codomain() and maps(i,j) queries with the meanings of [LINK: PPL-SPEC-000004], 🔗 5. Exact empty-codomain query and 🔗 6. Largest image and defined empty-map failure. Queries shall describe one stable mapping throughout the call. A zero-dimensional receiver shall remain unchanged without querying the mapping. Otherwise has_empty_codomain() shall be queried first; when it returns true, neither remaining query shall be called. For a nonempty image the maximum query shall precede individual mapping queries. No fixed count or order of maps queries shall be required. The mapping's value shall remain unchanged apart from effects explicitly permitted by its query contract.
Violating injectivity, source bounds, the contiguous-image condition or query consistency shall be outside admitted use. In particular, output-index holes shall not denote newly introduced free coordinates. Exceptions from mapping queries shall propagate; no rollback of the receiver shall be inferred after such an exception.
The supported coefficient profiles, real-set interpretation, initialization, numerical-intermediate, native floating-point runtime and synchronization conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Supplied coordinate objects shall satisfy their own valid-use contracts. Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return; the receiver shall remain safely destructible, but preservation of its entry represented set shall not be inferred unless stated above.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide the documented supported conversions between numerical abstractions. A supported conversion's source and target shall interpret corresponding coordinates consistently. Exactness, optimality and permitted precision loss shall be defined for each supported source-and-target combination and any selected complexity policy. For valid inputs satisfying the operation's stated computational-arithmetic preconditions, including those governing all intermediate calculations, a successfully completed conversion shall preserve that coordinate meaning and contain every point represented by the source.
-
1. C generated domain values and conversions PPL-SPEC-001554 Domain constructors, copying, assignment, exchange, deletion and recycling shall preserve the corresponding native domain values, topology and complexity-policy guarantees. Each successful new result shall be independently owned. Borrowed inputs shall obey their documented lifetime and mutation restrictions. Failure cleanup shall not leak partially acquired owned results.
Complexity-taking constructors shall accept the public polynomial, simplex and any-complexity selectors. An unrecognized selector shall report PPL_ERROR_INVALID_ARGUMENT without constructing a result or changing the output handle.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
1. Closed bounded-difference support hull of geometric generators PPL-SPEC-001072 BD_Shape(gs) shall give the least target-profile bounded-difference enclosure of the convex set generated by gs. The constructor shall close finite excluded boundaries: points and closure points shall both contribute their actual rational coordinates to support extrema. A ray shall make a normal unbounded exactly when its scalar product with that normal is positive; a line shall do so when that scalar product is nonzero. A zero directional product shall not remove a finite bound.
An empty generator system shall construct empty in its declared dimension. A nonempty generator system shall contain an ordinary point; otherwise the constructor shall throw std::invalid_argument. Rational point and closure-point divisors, zero trailing coordinates and the distinction between rays and lines shall retain the meanings in 🔗 1. Generator kinds and numerical prerequisites and [LINK: PPL-SPEC-000182].
For each supported unary or difference normal, a finite source supremum shall yield the least bound representable by the target profile that is no smaller than that supremum. An unbounded source normal shall impose no finite restriction. Consequently an unbounded exact rational target shall give the least closed bounded-difference enclosure. A rounded profile shall give the least enclosure expressible with its admitted bounds.
The result shall inherit the source's ambient dimension and own its storage independently of the source, as in 🔗 3. Owned bounded-difference copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented value. Later source mutation or destruction shall not affect the result.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in [LINK: PPL-SPEC-001057].
Source objects shall be live, valid and synchronized throughout the call. The source-domain arithmetic and target numerical profile shall satisfy their range, rounding, resource and initialization prerequisites. The supported profile and runtime conditions in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply, including the required initialized native floating environment. Underlying numerical or allocation failures may propagate. Failure during construction shall release resources owned by the incomplete result; no general source-cache rollback guarantee shall be inferred.
-
2. Complexity-sensitive bounded-difference conversion from polyhedra PPL-SPEC-001073 BD_Shape(ph,complexity) shall contain the source polyhedron for ANY_COMPLEXITY, SIMPLEX_COMPLEXITY and POLYNOMIAL_COMPLEXITY. The default shall be ANY_COMPLEXITY; other complexity codes shall be outside the admitted interface.
ANY_COMPLEXITY shall give the least target-profile bounded-difference enclosure, including exact detection of an empty source. Strict source boundaries shall become included whenever they determine finite limiting bounds of the closed result.
SIMPLEX_COMPLEXITY shall give the same exact primitive suprema for a nonempty source, with target bounds converted outward according to the selected profile. It need not detect an empty not necessarily closed system whose closed relaxation is nonempty. A more precise result obtained from an already available generator representation shall also be admitted.
POLYNOMIAL_COMPLEXITY may use conservative bounded-difference extraction and propagation from source constraints. It shall preserve containment, without a general best-enclosure, exact-emptiness or particular fixed-point iteration guarantee. Equivalent source cache and representation histories may produce different allowed conservative results. Every option shall respect its declared algorithmic complexity bound.
The result shall inherit the source's ambient dimension and own its storage independently of the source, as in 🔗 3. Owned bounded-difference copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented value. Later source mutation or destruction shall not affect the result.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in [LINK: PPL-SPEC-001057].
Source objects shall be live, valid and synchronized throughout the call. The source-domain arithmetic and target numerical profile shall satisfy their range, rounding, resource and initialization prerequisites. The supported profile and runtime conditions in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply, including the required initialized native floating environment. Underlying numerical or allocation failures may propagate. Failure during construction shall release resources owned by the incomplete result; no general source-cache rollback guarantee shall be inferred.
-
Incoming link from: 12. Certified finite scalar embeddings1
3. Best bounded-difference enclosure of Cartesian boxes PPL-SPEC-001074 BD_Shape(box,complexity) shall give the least target-profile bounded-difference enclosure containing the Cartesian product represented by box. The result shall be closed: a finite open interval endpoint may determine an included limiting bound.
The exact supremum of a difference xi − xj shall combine the source upper endpoint of coordinate i and lower endpoint of coordinate j before target-profile rounding. An unbounded contributing endpoint shall leave that normal unrestricted. Empty factors shall give empty in the original ambient dimension. The complexity argument shall be ignored for the three declared complexity values.
For each supported unary or difference normal, a finite source supremum shall yield the least bound representable by the target profile that is no smaller than that supremum. An unbounded source normal shall impose no finite restriction. Consequently an unbounded exact rational target shall give the least closed bounded-difference enclosure. A rounded profile shall give the least enclosure expressible with its admitted bounds.
The result shall inherit the source's ambient dimension and own its storage independently of the source, as in 🔗 3. Owned bounded-difference copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented value. Later source mutation or destruction shall not affect the result.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in [LINK: PPL-SPEC-001057].
Source objects shall be live, valid and synchronized throughout the call. The source-domain arithmetic and target numerical profile shall satisfy their range, rounding, resource and initialization prerequisites. The supported profile and runtime conditions in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply, including the required initialized native floating environment. Underlying numerical or allocation failures may propagate. Failure during construction shall release resources owned by the incomplete result; no general source-cache rollback guarantee shall be inferred.
-
4. Best bounded-difference enclosure of rational grids PPL-SPEC-001075 BD_Shape(grid,complexity) shall give the least target-profile bounded-difference enclosure of the entire rational grid. It shall preserve every fixed unary or difference affine value, including values implied by the full congruence system. Equivalent source descriptions shall give mathematically equivalent results in the same target profile.
A supported normal shall have a finite bound exactly when it annihilates every real line, integer parameter and difference between source base points. In that case its value shall equal its value at any source base point, and both signed bounds shall be converted to the target profile. A nonzero response to an integer parameter shall make the normal unbounded in both directions; a periodic restriction shall not become a finite interval or an integer-only coordinate carrier. Empty grids shall remain empty. The complexity argument shall be ignored for the three declared complexity values.
For each supported unary or difference normal, a finite source supremum shall yield the least bound representable by the target profile that is no smaller than that supremum. An unbounded source normal shall impose no finite restriction. Consequently an unbounded exact rational target shall give the least closed bounded-difference enclosure. A rounded profile shall give the least enclosure expressible with its admitted bounds.
The result shall inherit the source's ambient dimension and own its storage independently of the source, as in 🔗 3. Owned bounded-difference copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented value. Later source mutation or destruction shall not affect the result.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in [LINK: PPL-SPEC-001057].
Source objects shall be live, valid and synchronized throughout the call. The source-domain arithmetic and target numerical profile shall satisfy their range, rounding, resource and initialization prerequisites. The supported profile and runtime conditions in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply, including the required initialized native floating environment. Underlying numerical or allocation failures may propagate. Failure during construction shall release resources owned by the incomplete result; no general source-cache rollback guarantee shall be inferred.
-
5. Best bounded-difference enclosure of octagonal shapes PPL-SPEC-001076 BD_Shape(os,complexity) shall give the least target-profile bounded-difference enclosure of the set represented by octagon. Unary and difference suprema shall include consequences of signed-sum constraints and their combinations. Nonempty source sets shall not lose an admitted supported relation through a change in source description or normalization history.
The constructor shall preserve empty and zero-dimensional meanings and shall convert finite bounds outward to the target profile. The source and target numerical profiles may differ. The complexity argument shall be ignored for the three declared complexity values.
For each supported unary or difference normal, a finite source supremum shall yield the least bound representable by the target profile that is no smaller than that supremum. An unbounded source normal shall impose no finite restriction. Consequently an unbounded exact rational target shall give the least closed bounded-difference enclosure. A rounded profile shall give the least enclosure expressible with its admitted bounds.
The result shall inherit the source's ambient dimension and own its storage independently of the source, as in 🔗 3. Owned bounded-difference copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented value. Later source mutation or destruction shall not affect the result.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in [LINK: PPL-SPEC-001057].
Source objects shall be live, valid and synchronized throughout the call. The source-domain arithmetic and target numerical profile shall satisfy their range, rounding, resource and initialization prerequisites. The supported profile and runtime conditions in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply, including the required initialized native floating environment. Underlying numerical or allocation failures may propagate. Failure during construction shall release resources owned by the incomplete result; no general source-cache rollback guarantee shall be inferred.
-
3. Refinement of a floating interval abstract store PPL-SPEC-001135 For a supported native floating boundary type T and a valid Box<Interval<T,Interval_Info>> store of the same ambient dimension, refine_fp_interval_abstract_store(store) shall intersect the store with the outward Cartesian enclosure of the receiver supplied by the box conversion of 🔗 4. Box conversion from bounded-difference shapes. It shall retain every point of the entry store lying in the source shape and shall introduce no point outside the entry store. The source represented set and both ambient dimensions shall remain unchanged; logically const source closure may refresh caches.
Empty source or empty store shall yield an empty store. Zero-dimensional empty and universe cases shall preserve their distinct meanings. When the source closure and target endpoint arithmetic satisfy the exactness conditions of 🔗 4. Box conversion from bounded-difference shapes, the result shall equal the store's intersection with the least Cartesian enclosure of the source; otherwise outward approximation may retain additional points. Incompatible dimensions shall throw std::invalid_argument without changing the store's represented set.
The selected native format shall satisfy its configured supported-format predicate. The box and interval representation shall retain 🔗 1. Cartesian box values, coordinate identity and valid use and 🔗 4. Box conversion from bounded-difference shapes. Unbounded valid store coordinates are admitted. The initialized numerical runtime and all intermediate policy prerequisites shall hold; the caller shall provide and retain ownership of an upward FPU environment.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall hold. The borrowed store and its live coordinate objects shall remain valid throughout the call. Recoverable numerical and resource exceptions may leave a partially refined store in the state permitted by its operations; discarded owned temporaries shall be released.
-
4. Export of unary constraints through a destination protocol PPL-SPEC-001136 For a destination whose dimension is at least the source dimension, export_interval_constraints(dest) shall restrict the corresponding coordinates using the receiver's unary lower and upper consequences. The destination's remaining coordinates and ambient dimension shall be preserved. Source closure may expose implied unary constraints but shall preserve its represented set.
If D is the entry destination set and H(X) the Cartesian hull of the source's entry set, the completed destination shall contain D∩(H(X)×Rm − n) and be contained in D, where n and m are the source and destination dimensions. When source closure arithmetic and destination restrictions are exact, including exact unbounded rational bounds, the result shall equal that intersection. Rounded closure or destination arithmetic may lose precision; no best-unary-bound promise shall follow in those profiles.
An empty source shall call the destination's emptying operation. A zero-dimensional universe shall contribute no restrictions. Unbounded coordinate sides shall contribute no finite restriction. Each restriction callback shall return false exactly when its destination is empty; a false result shall terminate further restriction calls. No fixed callback count or coordinate order is promised. A destination of smaller dimension shall cause std::invalid_argument before any restrictive callback.
The destination protocol shall implement the indicated conjunctions and preserve coordinates not selected by a callback. Its callbacks shall not invalidate borrowed objects or modify the source being traversed. Callback exceptions may leave a partially restricted destination, with the states and ownership guaranteed by that destination's operations.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall hold. The destination and its callback environment shall remain live for the call. Discarded owned temporaries shall be released on reported failure.
-
4. Outward conversion between bounded-difference coefficient profiles PPL-SPEC-001059 BD_Shape<T>(y) for another supported coefficient base shall inherit the source's ambient dimension and contain every source point. Each finite source bound shall be converted outward under the destination profile's declared operations; positive-infinite bounds shall remain unrestricted. Exact representable source bounds shall retain their values; inexact conversion may lose precision. Empty and zero-dimensional source meanings shall be preserved.
The source may undergo logically const closure before conversion; this shall preserve its represented set. The three declared complexity arguments shall not change the conversion. The new shape shall own independent storage. Exact representability of every stored input bound shall not by itself promise stronger subsequent rounded-closure guarantees.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
6. Bounded-difference construction from supported constraints PPL-SPEC-001061 BD_Shape(cs) shall start from universe in the system's ambient dimension and conjoin every admitted constraint. Nontrivial admitted rows shall be nonstrict unary constraints or two-coordinate differences with equal-magnitude opposite coefficients; equalities shall impose both directions. Constant tautologies shall have no effect and constant falsehood shall produce empty. An empty system shall produce universe.
A nontrivial strict inequality, a row with more than two nonzero variable coefficients, or a two-variable row with unequal-magnitude or same-sign coefficients shall throw std::invalid_argument, including after an earlier contradiction. Supported unary/difference bounds not exactly representable in the selected profile shall be rounded outward to the best admitted bound; with unbounded exact rational arithmetic, the result shall equal the admitted conjunction. The source rows and represented conjunction shall remain unchanged. can_recycle_constraint_systems() shall return false.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
7. Bounded-difference construction from supported congruences PPL-SPEC-001062 BD_Shape(cgs) shall inherit the system's ambient dimension and conjoin its admitted equalities and constant truth values. Nontrivial equality rows shall be expressible as unary or equal-magnitude opposite-coefficient differences. A nontrivial proper congruence or unsupported equality shall throw std::invalid_argument, including after an earlier inconsistency. Constant proper congruences shall retain their tautological or inconsistent meaning. An empty system shall produce universe.
Exact rational coefficient arithmetic shall represent admitted equalities exactly. Other profiles shall retain the declared outward bound conversion on both equality directions. The const source shall retain its rows and value. can_recycle_congruence_systems() shall return false.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
1. Box construction from supported constraints PPL-SPEC-001044 Box(cs) shall construct the coordinate enclosure obtained by conjoining the constraints in cs with a universe box of the same ambient dimension, using the admitted row forms and endpoint interpretation in 🔗 1. Addition of optimally supported box constraints. With exact rational endpoints and supported openness, the result shall equal the conjunction of admitted rows. Rounded profiles shall preserve the specified outward endpoint enclosure, without a general optimality claim for inexact arithmetic. An empty system shall produce universe. A constant false row shall produce empty. With exact rational operations, every inconsistent admitted conjunction shall produce empty. Under inexact endpoint conversion, successive row enclosures may lose enough information to leave an inconsistent conjunction undetected.
A non-interval row, or a nontrivial strict inequality when the selected interval policy cannot retain open boundaries, shall throw std::invalid_argument. Rejection shall still occur if an earlier admitted row already made the conjunction empty. Tautological and inconsistent constant rows shall retain their declared meanings.
Construction from an rvalue system shall have the same result and rejection behavior. Its const source shall not be consumed or have its rows removed.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
2. Box construction from supported congruences PPL-SPEC-001045 Box(cgs) shall construct the coordinate enclosure obtained by conjoining the congruences in cgs with a universe box, using the admitted forms in 🔗 2. Addition of optimally supported box congruences. Nontrivial unary equalities shall constrain the corresponding coordinate to their rational solution, with target endpoint conversion as declared. Tautological rows shall have no effect and inconsistent rows shall produce empty. An empty system shall produce universe. With exact rational interval endpoints, admitted equalities shall be represented exactly.
A non-interval equality or a nontrivial proper congruence shall throw std::invalid_argument, including after an earlier row has made the conjunction empty. A proper congruence whose meaning is tautological or inconsistent shall retain that meaning instead of being rejected merely because its modulus is nonzero.
Construction from an rvalue system shall have the same result and rejection behavior; its const source shall retain its rows and value.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
3. Cartesian enclosure of a polyhedral generator system PPL-SPEC-001046 Box(gs) shall contain the polyhedral set generated by gs with the point, closure-point, ray and line meanings in 🔗 1. Generator kinds and numerical prerequisites and 🔗 15. Generator-system hull meaning and construction. For exact rational endpoint operations and supported openness, the result shall be its least Cartesian box.
At a coordinate not made unbounded by directions, the finite extrema shall be those of the generator points and closure points. Such an extremum shall be included exactly when an ordinary point attains it; a closure point alone shall not include that endpoint. A ray with a nonzero component shall remove the bound in that component's sign direction. A line with a nonzero component shall remove both coordinate bounds. Zero components shall not change other factors. Inexact endpoint profiles shall provide outward enclosures of these coordinate ranges.
An empty generator system shall produce empty with the inherited dimension. A nonempty system with no ordinary point shall throw std::invalid_argument. A point in dimension zero shall generate the unique empty tuple. Construction from an rvalue system shall have the same result, rejection and source preservation as ordinary construction.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
4. Box conversion from bounded-difference shapes PPL-SPEC-001047 Box(bds,complexity) shall contain the set represented by the bounded-difference shape. Each coordinate shall use the lower and upper unary bounds implied by the source constraints. Nonempty finite extrema shall be included, since the source carrier is topologically closed. Unbounded coordinates shall retain the corresponding unbounded sides. Empty and zero-dimensional sources shall retain their set meanings.
When the source closure and target endpoint operations are exact, including the rational-bound profile, the result shall be the least Cartesian box containing the source. Inexact source closure arithmetic or target endpoint conversion shall retain outward containment without a general best-box guarantee. The selected Complexity_Class value shall not change this constructor's mathematical result or its polynomial closure algorithm; all three declared complexity values shall be admitted.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
5. Box conversion from octagonal shapes PPL-SPEC-001048 Box(oct,complexity) shall contain the set represented by the octagonal shape. Coordinate bounds shall use the implied unary signed constraints, including the division by two required for bounds on 2*x or -2*x. Nonempty finite extrema shall be included; unbounded sides, empty sources and zero-dimensional set meanings shall be retained.
When source closure arithmetic and target endpoint operations are exact, including the rational-bound profile, the result shall be the least Cartesian box containing the source. Inexact closure or endpoint arithmetic shall retain an outward enclosure without a general optimality promise. The three declared complexity values shall be admitted, and the complexity argument shall not change this constructor's mathematical result or its polynomial closure algorithm.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
6. Complexity-sensitive box conversion from polyhedra PPL-SPEC-001049 Box(ph,complexity) shall contain the source polyhedron under each of ANY_COMPLEXITY, SIMPLEX_COMPLEXITY and POLYNOMIAL_COMPLEXITY. The default shall be ANY_COMPLEXITY. Other complexity codes shall be outside the admitted interface.
With ANY_COMPLEXITY, exact rational endpoint arithmetic and supported openness, the result shall be the least Cartesian box, including endpoint attainment for not necessarily closed polyhedra and exact preservation of emptiness. Inexact target profiles shall retain their declared outward enclosure.
With SIMPLEX_COMPLEXITY and exact rational operations, a nonempty source shall have exact coordinate infima and suprema, but a finite unattained bound may be included. A topologically closed source shall therefore have its least Cartesian box in the exact rational target profile. The operation need not detect an empty not necessarily closed system whose closed relaxation is nonempty. A more precise result obtained from an already available generator representation shall also be admitted.
With POLYNOMIAL_COMPLEXITY, the constructor may use a bounded constraint-propagation computation whose pass budget grows linearly with the space dimension and which stops early when coordinates cease changing. The resulting box shall remain a containing approximation; no general least-box, fixed-point propagation, exact emptiness detection or implementation-specific iteration-count guarantee shall be inferred. Available equivalent source representations may yield different allowed approximations. Each complexity option shall retain the corresponding declared algorithmic complexity bound.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. On success and when construction throws, a source shall retain a valid representation of its unchanged value; logically const normalization may update its caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
7. Cartesian enclosure of a rational grid PPL-SPEC-001050 Box(gr,complexity) shall contain the rational grid. A coordinate whose value is fixed throughout a nonempty grid shall be constrained to that rational value, with target endpoint conversion as specified. If a line or an integer-parameter direction varies that coordinate, its projection shall be unbounded in both directions. Correlations and periodic gaps shall not become additional Cartesian restrictions.
With exact rational interval endpoints the result shall be the least Cartesian box of the grid. Finite inexact target profiles shall provide the outward coordinate enclosure. Empty grids and zero-dimensional empty/universe shall retain their set meanings. All three declared complexity values shall be admitted; the argument shall not change the mathematical result or the polynomial generator-based computation.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
8. Box conversion from partially reduced products PPL-SPEC-001051 Box(dp,complexity) shall convert each component domain of dp into the target box profile under the supplied admitted complexity value, then take their same-profile box intersection. The result shall contain every point in the product's represented component intersection. Each component conversion shall retain its own admission, numerical and complexity prerequisites.
Even when both component conversions are individually least, their box intersection need not be the least box of the product: constraints correlating coordinates across components may be lost. No additional reduction or global optimality guarantee shall be inferred. Empty component enclosures shall yield empty; an empty semantic product whose separate component boxes overlap may yield a nonempty approximation. The default complexity value shall be ANY_COMPLEXITY.
The result shall inherit the source's ambient dimension, including when empty. A source dimension above max_space_dimension() shall throw std::length_error before allocating that coordinate storage. Its coordinate storage shall have the independent ownership specified in 🔗 3. Owned box copying, assignment and cleanup. Endpoint conversion shall retain the profile conditions in 🔗 4. Upward box conversion between interval profiles.
Sources shall remain live, valid and synchronized throughout construction. Their represented values shall remain unchanged; logically const normalization may update their caches. The selected source-domain arithmetic and the target interval operations shall meet their range, resource, rounding and policy prerequisites. The numerical and runtime prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use, and descriptor initialization in 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization where used, shall apply. Failure during construction shall release resources owned by the incompletely constructed box. Underlying numerical or resource exceptions may propagate.
-
Incoming links from: 1. Box construction from supported constraints 2. Box construction from supported congruences 3. Cartesian enclosure of a polyhedral generator system 4. Box conversion from bounded-difference shapes 5. Box conversion from octagonal shapes 6. Complexity-sensitive box conversion from polyhedra 7. Cartesian enclosure of a rational grid 8. Box conversion from partially reduced products8
4. Upward box conversion between interval profiles PPL-SPEC-000954 Construction from Box<Other_ITV> shall preserve ambient dimension and enclose every source point under the receiving interval policies. An established empty source shall give empty. For other sources the conversion shall use receiving coordinate enclosures rather than trust cached facts whose validity can change through endpoint conversion. With exactly representable endpoints and supported membership, it shall preserve the represented set exactly. Otherwise endpoint conversion or relaxed openness may enlarge the product. The complexity argument shall not change this profile-conversion result. The separate source shall remain unchanged and the receiving value shall own independent coordinate storage.
Selected source/destination interval assignments shall be well-formed and satisfy their own admitted conversion prerequisites.
The validity, synchronization, numerical and runtime prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Underlying allocation or endpoint failure shall retain its own guarantees; no general rollback promise shall be inferred.
-
1. Grid construction from boxes PPL-SPEC-001312 Grid(box,complexity) shall preserve the box's ambient dimension and construct its exact real affine hull as a grid. Empty shall yield empty. Each singleton interval shall fix its coordinate; every non-singleton coordinate shall be free. Open bounds do not add excluded endpoints to a singleton. All complexity choices shall have this meaning, under the source interval's arithmetic conditions and 🔗 1. Rational-grid values, coefficient profile and valid use. The source value shall be preserved. Excess ambient dimension shall throw std::length_error before representation allocation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
2. Grid construction from bounded-difference shapes PPL-SPEC-001313 Grid(bd,complexity) shall preserve ambient dimension and construct the exact real affine hull of the bounded-difference shape, including empty. It shall retain all implied affine equalities under the source shape's arithmetic preconditions and 🔗 1. Rational-grid values, coefficient profile and valid use, for every complexity choice. The source's mathematical value shall be preserved; closure caches may change. Excess ambient dimension shall throw std::length_error before representation allocation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
3. Grid construction from octagonal shapes PPL-SPEC-001314 Grid(os,complexity) shall preserve ambient dimension and construct the exact real affine hull of the octagonal shape, including empty, under its arithmetic preconditions and 🔗 1. Rational-grid values, coefficient profile and valid use. Every complexity choice shall retain the implied affine equalities. The source's mathematical value shall be preserved; closure caches may change. Excess ambient dimension shall throw std::length_error before representation allocation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
4. Grid construction from polyhedra PPL-SPEC-001315 Grid(ph,complexity) shall preserve ambient dimension and contain the polyhedron's real affine hull. With ANY_COMPLEXITY it shall equal that affine hull, including for NNC polyhedra and empty. Restricted complexity may retain only explicit available equalities and may fail to detect latent emptiness, giving a coarser grid. If generators are used, supporting points, closure points, rays and lines shall contribute their real affine span. Marked empty and zero-dimensional empty shall yield empty in every complexity class. The source value shall be preserved, though caches may change. Excess ambient dimension shall throw std::length_error before representation allocation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
For a bounded coefficient profile, directions joining rational points shall be computed from complete cross-products of their numerators and divisors, then reduced by a common positive factor before their coefficients are admitted. Constants and NNC epsilon coordinates shall not contribute to these line directions. This projective normalization shall not rescale a lattice parameter.
-
1. Closed octagonal support hull of geometric generators PPL-SPEC-001162 Octagonal_Shape(gs) shall construct the least target-profile octagonal enclosure of the convex set generated by gs. Its closed boundaries shall include finite limiting points supplied only as closure points. Ordinary points and closure points shall contribute their actual rational coordinates to support extrema, with the generator meanings in 🔗 1. Generator kinds and numerical prerequisites and 🔗 2. Construction of nonzero lines and rays. A ray shall make a normal unbounded exactly when its scalar product with that normal is positive; a line shall do so exactly when that scalar product is nonzero. A zero directional product shall retain any finite bound on that normal.
An empty generator system shall construct empty in its declared dimension. A nonempty generator system shall contain an ordinary point; otherwise the constructor shall throw std::invalid_argument. Divisors, zero trailing coordinates and ambient dimension shall retain their generator-system meanings.
For a nonempty source set X, let h(a) = supx ∈ Xa⋅x. For each sign s ∈ { − 1, 1}, the unary restriction shall be 2sxi ≤ ↑ T(2h(sei)). For each pair of distinct coordinates and signs si, sj ∈ { − 1, 1}, the binary restriction shall be sixi + sjxj ≤ ↑ T(h(siei + sjej)). Here ↑ T(q) shall be the least admitted target bound not smaller than the exact value q, using positive infinity when no finite target bound suffices. An unbounded source support shall impose no finite restriction. These bounds shall be those obtained from exact source supports, including the unary factor of two, before target rounding. The conjunction of these restrictions shall define the least target-profile enclosure. Integral bound storage shall retain the real carrier and shall not imply exact rational half-sum closure, as specified in 🔗 1. Octagonal values, numerical profiles and valid use.
The result shall inherit the source's ambient dimension and own its storage independently, as in 🔗 3. Owned octagonal copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented set and ambient dimension. Later source mutation or destruction shall not affect the constructed value.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in 🔗 2. Dimensioned empty and universe octagonal construction.
Sources shall remain live, valid and synchronized throughout construction. The profile, descriptor, initialization and native floating runtime prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply, together with the source domain's numerical prerequisites. For admitted inputs, the implementation shall respect the preconditions of the numerical policies it selects for intermediate operations. Underlying numerical or resource exceptions may propagate through their declared channels. Failure during construction shall release resources acquired by the incomplete result; the source's cache representation need not be rolled back.
-
Incoming link from: 1. Octagonal time evolution by nonnegative rates1
2. Complexity-sensitive octagonal conversion from polyhedra PPL-SPEC-001163 Octagonal_Shape(ph,complexity) shall construct an octagonal set containing the source closed or not necessarily closed polyhedron. The default ANY_COMPLEXITY and the explicit SIMPLEX_COMPLEXITY and POLYNOMIAL_COMPLEXITY values shall be admitted.
ANY_COMPLEXITY shall produce the least target-profile octagonal enclosure and shall detect an empty source exactly. For a nonempty source, strict finite boundaries shall contribute their limiting suprema to the closed result. Primitive bounds shall use the exact signed supports and target normalization in 🔗 1. Closed octagonal support hull of geometric generators, including doubling a unary support before rounding. This guarantee shall not depend on an equivalent source constraint/generator representation or cache history.
SIMPLEX_COMPLEXITY shall give the same primitive support bounds for every nonempty source. It may use the closed relaxation obtained by replacing each strict source row by its weak counterpart. Therefore an empty not necessarily closed source whose closed relaxation is nonempty need not be detected as empty. An already available valid generator representation may give the stronger exact-empty result without exceeding the selected complexity class.
POLYNOMIAL_COMPLEXITY shall preserve containment while respecting its polynomial complexity bound. It may conservatively extract and propagate supported information without a universal least-enclosure, exact-emptiness, mandatory-progress or particular iteration fixed-point guarantee. Equivalent source representation/cache histories may yield different permitted conservative enclosures. Each complexity option shall respect its declared algorithmic complexity bound.
The result shall inherit the source's ambient dimension and own its storage independently, as in 🔗 3. Owned octagonal copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented set and ambient dimension. Later source mutation or destruction shall not affect the constructed value.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in 🔗 2. Dimensioned empty and universe octagonal construction, subject to the stated complexity-dependent emptiness guarantees.
Sources shall remain live, valid and synchronized throughout construction. The profile, descriptor, initialization and native floating runtime prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply, together with the source domain's numerical prerequisites. For admitted inputs, the implementation shall respect the preconditions of the numerical policies it selects for intermediate operations. Underlying numerical or resource exceptions may propagate through their declared channels. Failure during construction shall release resources acquired by the incomplete result; the source's cache representation need not be rolled back.
-
3. Best octagonal enclosure of Cartesian boxes PPL-SPEC-001164 Octagonal_Shape(box,complexity) shall construct the least target-profile octagonal enclosure of the real Cartesian product represented by box. The source interval endpoint policy shall retain its open/closed meanings. For a nonempty product, an excluded finite endpoint may determine an included limiting bound in the closed result. Any empty factor shall make the result empty in the source ambient dimension; closing endpoints individually shall not turn an empty product into a nonempty one.
For a signed binary normal, its exact support shall combine the two relevant source endpoint contributions before target conversion. The unary support shall be doubled before conversion to its stored target bound. Unbounded contributing endpoints shall leave the corresponding support unrestricted.
For a nonempty source set X, let h(a) = supx ∈ Xa⋅x. For each sign s ∈ { − 1, 1}, the unary restriction shall be 2sxi ≤ ↑ T(2h(sei)). For each pair of distinct coordinates and signs si, sj ∈ { − 1, 1}, the binary restriction shall be sixi + sjxj ≤ ↑ T(h(siei + sjej)). Here ↑ T(q) shall be the least admitted target bound not smaller than the exact value q, using positive infinity when no finite target bound suffices. An unbounded source support shall impose no finite restriction. These bounds shall be those obtained from exact source supports, including the unary factor of two, before target rounding. The conjunction of these restrictions shall define the least target-profile enclosure. Integral bound storage shall retain the real carrier and shall not imply exact rational half-sum closure, as specified in 🔗 1. Octagonal values, numerical profiles and valid use.
The three declared complexity values shall be accepted and ignored; the conversion shall use a polynomial-complexity algorithm without changing its precision guarantee.
The result shall inherit the source's ambient dimension and own its storage independently, as in 🔗 3. Owned octagonal copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented set and ambient dimension. Later source mutation or destruction shall not affect the constructed value.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in 🔗 2. Dimensioned empty and universe octagonal construction.
Sources shall remain live, valid and synchronized throughout construction. The profile, descriptor, initialization and native floating runtime prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply, together with the source domain's numerical prerequisites. For admitted inputs, the implementation shall respect the preconditions of the numerical policies it selects for intermediate operations. Underlying numerical or resource exceptions may propagate through their declared channels. Failure during construction shall release resources acquired by the incomplete result; the source's cache representation need not be rolled back.
-
4. Best octagonal enclosure of rational grids PPL-SPEC-001165 Octagonal_Shape(grid,complexity) shall construct the least target-profile octagonal enclosure of the entire rational grid. The constructed octagonal set shall have the real carrier in 🔗 1. Octagonal values, numerical profiles and valid use and shall enclose every source grid point under its line and integer-parameter semantics. Integral target bound storage shall not change that result carrier.
For a nonempty grid, a signed primitive normal shall have a finite supremum exactly when it annihilates every line direction, every integer-parameter direction and every difference between its generating base points. In that case the normal shall be constant with its value at any base point. Otherwise its support shall be unbounded in both signs. Implied signed equalities shall be retained whether or not they appear as individual rows of a chosen congruence basis. Periodic restrictions that do not imply such an equality shall impose no finite bound.
For a nonempty source set X, let h(a) = supx ∈ Xa⋅x. For each sign s ∈ { − 1, 1}, the unary restriction shall be 2sxi ≤ ↑ T(2h(sei)). For each pair of distinct coordinates and signs si, sj ∈ { − 1, 1}, the binary restriction shall be sixi + sjxj ≤ ↑ T(h(siei + sjej)). Here ↑ T(q) shall be the least admitted target bound not smaller than the exact value q, using positive infinity when no finite target bound suffices. An unbounded source support shall impose no finite restriction. These bounds shall be those obtained from exact source supports, including the unary factor of two, before target rounding. The conjunction of these restrictions shall define the least target-profile enclosure. Integral bound storage shall retain the real carrier and shall not imply exact rational half-sum closure, as specified in 🔗 1. Octagonal values, numerical profiles and valid use.
An empty grid shall give empty in its original ambient dimension. The three declared complexity values shall be accepted and ignored; the conversion shall use a polynomial-complexity algorithm without changing its precision guarantee.
The result shall inherit the source's ambient dimension and own its storage independently, as in 🔗 3. Owned octagonal copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented set and ambient dimension. Later source mutation or destruction shall not affect the constructed value.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in 🔗 2. Dimensioned empty and universe octagonal construction.
Sources shall remain live, valid and synchronized throughout construction. The profile, descriptor, initialization and native floating runtime prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply, together with the source domain's numerical prerequisites. For admitted inputs, the implementation shall respect the preconditions of the numerical policies it selects for intermediate operations. Underlying numerical or resource exceptions may propagate through their declared channels. Failure during construction shall release resources acquired by the incomplete result; the source's cache representation need not be rolled back.
-
5. Best octagonal enclosure of bounded-difference shapes PPL-SPEC-001166 Octagonal_Shape(bd,complexity) shall construct the least target-profile octagonal enclosure of the real set represented by bd at entry. Signed sum and difference supports shall include all consequences of the source bounded-difference conjunction, including signed sums obtained by combining source unary restrictions. Source and target numerical profiles may differ; integer source bounds shall still describe real coordinates.
The constructor shall preserve empty and zero-dimensional source meanings. The three declared complexity values shall be accepted and ignored; the conversion shall use a polynomial-complexity algorithm without changing its precision guarantee. Equivalent source descriptions and normalization histories shall not discard a supported relation.
For a nonempty source set X, let h(a) = supx ∈ Xa⋅x. For each sign s ∈ { − 1, 1}, the unary restriction shall be 2sxi ≤ ↑ T(2h(sei)). For each pair of distinct coordinates and signs si, sj ∈ { − 1, 1}, the binary restriction shall be sixi + sjxj ≤ ↑ T(h(siei + sjej)). Here ↑ T(q) shall be the least admitted target bound not smaller than the exact value q, using positive infinity when no finite target bound suffices. An unbounded source support shall impose no finite restriction. These bounds shall be those obtained from exact source supports, including the unary factor of two, before target rounding. The conjunction of these restrictions shall define the least target-profile enclosure. Integral bound storage shall retain the real carrier and shall not imply exact rational half-sum closure, as specified in 🔗 1. Octagonal values, numerical profiles and valid use.
The result shall inherit the source's ambient dimension and own its storage independently, as in 🔗 3. Owned octagonal copying, assignment and cleanup. Successful construction and logically const source normalization shall preserve the source's represented set and ambient dimension. Later source mutation or destruction shall not affect the constructed value.
A source dimension above max_space_dimension() shall throw std::length_error before allocating the corresponding matrix storage. Empty and zero-dimensional values shall retain the meanings in 🔗 2. Dimensioned empty and universe octagonal construction.
Sources shall remain live, valid and synchronized throughout construction. The profile, descriptor, initialization and native floating runtime prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply, together with the source domain's numerical prerequisites. For admitted inputs, the implementation shall respect the preconditions of the numerical policies it selects for intermediate operations. Underlying numerical or resource exceptions may propagate through their declared channels. Failure during construction shall release resources acquired by the incomplete result; the source's cache representation need not be rolled back.
-
1. Export of octagonal unary constraints through a destination protocol PPL-SPEC-001240 For a destination of dimension m at least the source dimension n, export_interval_constraints(dest) shall restrict only the corresponding first n coordinates using outward unary consequences of the source. The destination's ambient dimension and coordinate identities shall be retained, and no pre-existing restriction shall be weakened. Source strong closure may update its stored bounds and cache while preserving its represented real set X and ambient dimension.
Let D be the entry destination set and H(X) the Cartesian hull of the source set. A successfully completed export shall produce a destination set D’ satisfying
D∩(H(X)×Rm − n) ⊆ D’ ⊆ D.With unbounded exact rational source closure and exact destination restrictions, the result shall equal that intersection. Other numerical profiles may lose unary information; no best-hull or canonical-bound claim shall follow for them. Existing destination correlations may propagate a restriction to other coordinates; the exporter shall select no coordinate outside the source's ambient space.
A finite stored weight of 2xi shall yield an upper callback bound obtained by halving outward toward positive infinity. A finite stored weight li of − 2xi shall yield a lower callback bound obtained from − li ⁄ 2, outward toward negative infinity when it has the indicated native representation. Callback values shall be supplied as finite native T values, after the outward computation in the shape's extended coefficient type. A positive-infinite stored side shall impose no finite restriction.
For bounded unsigned integer storage, a positive finite li denotes a negative lower endpoint that no finite native T value can express. That lower side shall be omitted. The zero lower side shall still export zero. Upper sides and other coefficient profiles shall retain their stated outward restrictions. A reserved extended-number encoding shall not be passed as an ordinary finite callback bound.
An empty source shall invoke dest.set_empty(). A zero-dimensional universe shall contribute no restriction. A destination of smaller ambient dimension shall cause std::invalid_argument before source normalization or any restrictive callback, including for empty sources. Each restriction callback shall return false exactly when its destination is empty; such a result shall stop further restriction callbacks. No fixed callback count or coordinate order shall be required.
The destination protocol shall perform the indicated conjunctions, preserving its existing restrictions and all coordinate identities. If its own arithmetic is approximate, a successful restriction shall contain the intersection of its entry set with the supplied halfspace and remain within its entry set. The destination, its callback environment and any borrowed storage shall remain live throughout the call. Callbacks shall not mutate or invalidate the source being traversed.
The selected representation, numerical runtime, initialized facilities, arithmetic-range and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Configured native-format admission and caller-owned FPU prerequisites shall apply when the selected T uses native floating arithmetic; nonfloating instances shall need no FPU environment. Recoverable numerical, resource or callback exceptions may propagate. A callback failure may leave the destination partially restricted, with the states and ownership guaranteed by that destination's operations; no aggregate rollback shall be inferred. Source cache updates shall retain their applicable failure guarantees, and discarded owned temporaries shall be released.
-
4. Refinement of a floating interval abstract store PPL-SPEC-001239 For a supported native floating boundary type T and a valid Box<Interval<T,Interval_Info>> store of the same ambient dimension, refine_fp_interval_abstract_store(store) shall intersect the store with the outward Cartesian enclosure of the receiver supplied by the box conversion of 🔗 5. Box conversion from octagonal shapes. It shall retain every point of the entry store lying in the source shape and shall introduce no point outside the entry store. The source represented set and both ambient dimensions shall remain unchanged; logically const source closure may refresh caches.
Empty source or empty store shall yield an empty store. Zero-dimensional empty and universe cases shall preserve their distinct meanings. When the source closure and target endpoint arithmetic satisfy the exactness conditions of 🔗 5. Box conversion from octagonal shapes, the result shall equal the store's intersection with the least Cartesian enclosure of the source; otherwise outward approximation may retain additional points. Incompatible dimensions shall throw std::invalid_argument without changing the store's represented set.
The selected native format shall satisfy its configured supported-format predicate. The box and interval representation shall retain 🔗 1. Cartesian box values, coordinate identity and valid use and 🔗 5. Box conversion from octagonal shapes. Unbounded valid store coordinates are admitted. The initialized numerical runtime and all intermediate policy prerequisites shall hold; the caller shall provide and retain ownership of an upward FPU environment.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall hold. The borrowed store and its live coordinate objects shall remain valid throughout the call. Recoverable numerical and resource exceptions may leave a partially refined store in the state permitted by its operations; discarded owned temporaries shall be released.
-
4. Outward conversion between octagonal coefficient profiles PPL-SPEC-001149 Construction from Octagonal_Shape<U> with another supported coefficient base shall preserve the source dimension and produce an independently owned set containing every source point. Finite signed-node bounds selected for conversion shall be converted outward; exactly representable values shall retain their values and positive infinity shall remain unrestricted. Empty and zero-dimensional source meanings shall be preserved.
The source may undergo logically const strong closure while preserving its represented set. Each declared complexity value shall give the same numerical conversion. Exact representability of the converted entries shall not imply that later sums or half-sums are exact in the destination profile. Source and destination mutation/destruction shall retain independent ownership. Failed construction shall release its acquired resources.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
3. Polyhedral refinement of a floating interval store PPL-SPEC-001378 For a dimension-compatible floating interval box, store refinement shall intersect that store with a sound box enclosure of the receiver. It shall not change the polyhedron, and shall retain every point that belonged to both the entry store and the receiver. Directed conversion and endpoint inclusion shall follow the selected interval-profile contracts; the result need not be the best box enclosure of the intersection. Dimension incompatibility shall follow the box intersection's invalid-argument channel.
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.
-
3. Polyhedral equality-congruence extraction PPL-SPEC-001328 congruences() shall return an independently owned system of equality congruences satisfied by every receiver point. minimized_congruences() shall return a nonredundant equality system defining exactly the receiver's affine hull, or an inconsistent system for empty. A nonminimized extraction need not expose equalities implied only by inequalities. Dimension shall be retained; proper periodic congruences shall not be introduced.
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.
-
6. Polyhedron construction from representable congruences PPL-SPEC-001321 Congruence-system construction shall inherit the input dimension and apply the exact addition semantics in 🔗 2. Polyhedral congruence addition and conservative refinement to universe. Equality congruences shall define affine equalities; tautologies shall impose no restriction and contradictions shall give empty. A proper congruence that is neither tautological nor contradictory shall throw std::invalid_argument. The const-input form shall preserve external source values. The recycling-tag form shall have the same mathematical result; recycling shall not be promised for congruences. can_recycle_constraint_systems() shall return true and can_recycle_congruence_systems() false.
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.
-
Incoming link from: 3. Owned polyhedron copying, assignment and exchange1
7. Closed and NNC value conversion PPL-SPEC-001322 Conversion or assignment from closed to NNC shall preserve the represented set and dimension exactly. Conversion or assignment from NNC to closed shall produce the exact topological closure, including empty and lower-dimensional sets. The complexity argument shall not reduce this precision. Sources shall retain their values; successful assignment shall return its receiver by reference. Changing topology shall occur through the selected value type's conversion, without exposing a receiver with the wrong topology.
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.
-
8. Polyhedron conversion from boxes PPL-SPEC-001323 Box conversion shall preserve dimension and source value. NNC conversion shall represent the source box exactly, including open endpoints; closed conversion shall represent its exact topological closure. Infinite endpoints shall impose no finite bound. The complexity argument shall not affect the result. Structural dimension overflow shall throw std::length_error.
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.
-
9. Polyhedron conversion from difference and octagonal shapes PPL-SPEC-001324 Construction from a bounded-difference or octagonal shape shall preserve the source's real pointset and ambient dimension exactly in either topology. Every represented finite bound shall retain its coefficient-profile value; unbounded entries shall add no constraint. The complexity argument shall not change precision. Structural dimension overflow shall throw std::length_error. Source values shall be preserved.
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.
-
10. Polyhedral affine hull of a rational grid PPL-SPEC-001325 Construction from a grid shall preserve dimension and return empty for an empty source; otherwise it shall return the exact affine hull of the source, with all periodic restrictions removed and all affine equalities preserved. Both target topologies shall represent the same closed affine space. The complexity argument shall not reduce this guarantee. Source value shall be preserved, and structural dimension overflow shall throw std::length_error.
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. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide constraint and congruence refinement for its documented supported pointset domains. Under the arithmetic preconditions, a successful refinement shall retain every input point satisfying the supplied conditions without introducing points outside the input set. Each domain shall identify its accepted descriptor classes and the precision guaranteed for them; unsupported descriptor forms shall follow the operation's declared rejection or conservative-approximation behavior.
-
4. Limited semantic bounded-difference extrapolation PPL-SPEC-001123 For Y ⊆ X, limited_BHMZ05_extrapolation_assign shall combine the semantic widening of 🔗 3. Semantic bounded-difference widening with selected limiting bounds.
The limiting system shall have dimension at most the common operand dimension and contain no strict inequality; larger dimensions and any strict row shall throw std::invalid_argument before changing the receiver or token counter, including empty and zero-dimensional cases.
For nonempty positive-dimensional exact-profile operands, selection shall use the entry receiver X. Recognized nonconstant rows shall be unary bounds or differences with opposite coefficients of equal magnitude. Normalize every recognized inequality outward in the selected coefficient profile. A recognized equality shall contribute both normalized opposite inequalities together only when both hold throughout X. A recognized inequality shall be selected when its normalized bound holds throughout X. Unsupported forms shall be ignored. Constant tautologies shall impose no restriction and false constants shall not be selected on a nonempty receiver.
Let L be the bounded-difference conjunction of the selected normalized bounds. With rounded closure the eligibility test may use its sound outward profile bounds as in 🔗 1. Bounded-difference values, numerical profiles and valid use; selection shall remain sound for X. The original, unnormalized limiting constraints need not all hold in the result. Selected inequalities can be weaker after outward scalar normalization.
Let W be the delayed or undelayed base widening result, with its token decision made before applying L. The result shall denote W∩L; it shall contain X and be contained in W. Positive available tokens shall therefore retain X, while their consumption shall follow the undelayed base widening rather than the final limited result.
An empty previous argument, an empty receiver or zero-dimensional operands shall retain the receiver's entry set without consuming a token. A distinct argument and the supplied system shall retain their represented values; self-aliasing shall be admitted.
A fixed finite limiting system, fixed dimension/profile, admitted exact comparisons and normalization, and a finite unreplenished token budget shall retain finite stabilization in the prescribed ascending recurrence. Arbitrarily replacing the limiting system shall carry no general convergence guarantee.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. All operands shall remain live and valid; the stated entry-set inclusion shall be a mathematical caller precondition. Unequal operand dimensions shall throw std::invalid_argument before changing the represented receiver set or supplied token counter. A distinct argument shall preserve its represented value. Result storage shall remain independent of the source lifetime.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general rollback guarantee shall be required for such failures.
-
6. Limited threshold bounded-difference extrapolation PPL-SPEC-001125 For Y ⊆ X, limited_CC76_extrapolation_assign shall combine the default threshold extrapolation of 🔗 2. Default bounded-difference stop points with selected limiting bounds.
The limiting system shall have dimension at most the common operand dimension and contain no strict inequality; larger dimensions and any strict row shall throw std::invalid_argument before changing the receiver or token counter, including empty and zero-dimensional cases.
For nonempty positive-dimensional exact-profile operands, selection shall use the entry receiver X. Recognized nonconstant rows shall be unary bounds or differences with opposite coefficients of equal magnitude. Normalize every recognized inequality outward in the selected coefficient profile. A recognized equality shall contribute both normalized opposite inequalities together only when both hold throughout X. A recognized inequality shall be selected when its normalized bound holds throughout X. Unsupported forms shall be ignored. Constant tautologies shall impose no restriction and false constants shall not be selected on a nonempty receiver.
Let L be the bounded-difference conjunction of the selected normalized bounds. With rounded closure the eligibility test may use its sound outward profile bounds as in 🔗 1. Bounded-difference values, numerical profiles and valid use; selection shall remain sound for X. The original, unnormalized limiting constraints need not all hold in the result. Selected inequalities can be weaker after outward scalar normalization.
Let W be that default extrapolation, including its token decision before applying the limits. The result shall denote W∩L, containing X and contained in W. Positive tokens shall retain X and be consumed according to the undelayed base extrapolation, even if limiting would restore the lost information.
An empty argument, an empty receiver or zero-dimensional operands shall retain the entry receiver set and counter. The supplied system and distinct argument shall retain their values; self-aliasing shall be admitted. This operation remains a relational extrapolation without a general finite-stabilization guarantee for arbitrary closed-shape iterations.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. All operands shall remain live and valid; the stated entry-set inclusion shall be a mathematical caller precondition. Unequal operand dimensions shall throw std::invalid_argument before changing the represented receiver set or supplied token counter. A distinct argument shall preserve its represented value. Result storage shall remain independent of the source lifetime.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general rollback guarantee shall be required for such failures.
-
8. Polyhedral limited extrapolation of bounded-difference values PPL-SPEC-001127 For Y ⊆ X, limited_H79_extrapolation_assign shall first interpret the entry sets as closed polyhedra, compute polyhedral limited H79 extrapolation using the supplied constraint system, and convert that result under 🔗 2. Complexity-sensitive bounded-difference conversion from polyhedra. The system dimension shall not exceed the common operand dimension and shall contain no strict row; invalid dimensions or strictness shall throw std::invalid_argument before changing receiver or counter, including empty and zero-dimensional cases.
For nonempty positive-dimensional inputs, every supplied non-strict constraint satisfied by the entry receiver shall be eligible for the intermediate polyhedral intersection. General linear forms shall be admitted; selection shall not be restricted to unary and coordinate-difference rows. The intermediate result shall be the base H79 widening intersected with the selected constraints. Its token decision shall precede that intersection and follow 🔗 7. Polyhedral standard widening of bounded-difference values.
The final bounded-difference result shall contain X. Facets outside the domain and outward scalar conversion may prevent that result from satisfying the original limiting constraints. For example, a selected two-variable sum can influence the intermediate polyhedron even though it is absent from the final template description.
An empty previous argument, an empty receiver or zero-dimensional operands shall retain the receiver's entry set and counter. A distinct argument and the supplied system shall preserve their values, and self-aliasing shall be admitted. A fixed finite limiting system and finite unreplenished token budget shall preserve finite stabilization under the standard polyhedral widening's ascending recurrence and arithmetic prerequisites. Arbitrarily changing the limiting system shall carry no general convergence guarantee.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. All operands shall remain live and valid; the stated entry-set inclusion shall be a mathematical caller precondition. Unequal operand dimensions shall throw std::invalid_argument before changing the represented receiver set or supplied token counter. A distinct argument shall preserve its represented value. Result storage shall remain independent of the source lifetime.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general rollback guarantee shall be required for such failures.
-
Incoming link from: 2. Generalized interval-linear-form comparisons1
1. Conservative interval-linear-form inequality refinement PPL-SPEC-001133 For a supported native floating boundary type T, let X be the receiver's entry set and let L(x) and R(x) be the real value sets of its dimension-compatible interval linear-form arguments. Coefficient and constant choices shall be independent, including when the same form object is supplied twice. After refine_with_linear_form_inequality, the receiver shall have the same ambient dimension and denote a set Y satisfying
{x ∈ X ∣ ∃l ∈ L(x), r ∈ R(x) : l ≤ r} ⊆ Y ⊆ X.Valid empty coefficient or constant intervals shall be admitted; their empty choice set contributes no satisfying valuations, so a general conservative refinement may leave the input unchanged.
The general operation may lose precision. Comparisons involving constants only, including cancellation to a constant comparison, may leave the input unchanged.
For closed nonempty constant intervals and forms having at most one nonzero variable coefficient each, all such coefficients being singleton + 1 or − 1, consider a nonconstant comparison reducible to one unary or coordinate-difference inequality. If the required constant endpoint subtraction and any normalization by 2 are exact in the selected boundary profile, the result shall equal the intersection of X with that closed inequality, using the lower constant endpoint on the left and upper constant endpoint on the right. Opposite unit coefficients on the same coordinate shall therefore use the corresponding normalized ±2xi cut. This precision clause shall not apply to opposite-sign coefficients on distinct coordinates or to a constant-only comparison.
Empty input shall remain empty. An argument form whose space dimension exceeds the receiver's shall throw std::invalid_argument before changing the represented set, including on empty input. Successful refinement shall preserve the source forms and leave a valid owned receiver.
The format shall satisfy its configured supported-format predicate. The interval coefficient representation and arithmetic shall satisfy 🔗 1. Interval-linear-form meaning and numerical prerequisites, including stored-value and endpoint-access prerequisites; coefficient and constant intervals shall be bounded. The caller shall provide and retain ownership of an upward FPU environment. For admitted inputs, the implementation shall respect the preconditions of its selected numerical policies when carrying out intermediate operations. Library calls shall not transfer ownership of the forms or change their coefficient values.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall hold. Borrowed forms and interval storage shall remain live throughout the call. Recoverable numerical and resource exceptions may propagate; discarded owned temporaries shall be released and the receiver shall remain safely destructible, without a rollback promise.
-
2. Generalized interval-linear-form comparisons PPL-SPEC-001134 For the form value sets and numerical admission of 🔗 1. Conservative interval-linear-form inequality refinement, generalized_refine_with_linear_form_inequality shall preserve the ambient dimension and denote an enclosure of the input states satisfying its relation, without introducing states outside the input. The two sides shall use independent coefficient choices.
LESS_OR_EQUAL shall apply the left-to-right inequality refinement; GREATER_OR_EQUAL shall apply the reversed refinement. LESS_THAN and GREATER_THAN may use those same closed relaxations of the strict comparisons. EQUAL shall apply both non-strict orientations, retaining all states for which the two form value intervals overlap. NOT_EQUAL shall leave the represented set unchanged. No general least-result claim shall follow from these dispatch rules.
Both arguments shall undergo the documented dimension validation for every named relation, including NOT_EQUAL and empty receivers. Incompatibility shall throw std::invalid_argument before changing the represented set. A Relation_Symbol having the unnamed language-admissible value 0 or 7 shall throw std::runtime_error before mutation. Values outside the C++ enum's valid representation range are outside valid language use. Empty input and source-form values shall be preserved.
The format shall satisfy its configured supported-format predicate. The interval coefficient representation and arithmetic shall satisfy 🔗 1. Interval-linear-form meaning and numerical prerequisites, including stored-value and endpoint-access prerequisites; coefficient and constant intervals shall be bounded. The caller shall provide and retain ownership of an upward FPU environment. For admitted inputs, the implementation shall respect the preconditions of its selected numerical policies when carrying out intermediate operations. Library calls shall not transfer ownership of the forms or change their coefficient values.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall hold. Borrowed forms and interval storage shall remain live throughout the call. Recoverable numerical and resource exceptions may propagate; discarded owned temporaries shall be released and the receiver shall remain safely destructible, without a rollback promise.
-
1. Addition of admitted bounded-difference constraints PPL-SPEC-001090 add_constraint(c) shall conjoin the admitted closed constraint with the receiver. Admitted nonconstant forms shall be unary bounds or coordinate-difference bounds, including their equality forms with any common nonzero integral scale and sign. Constant tautologies shall have no effect and constant falsehoods shall make the result empty. A nonconstant strict constraint or an unsupported nonconstant linear form shall throw std::invalid_argument; a constant strict tautology or falsehood shall retain its logical meaning.
For each primitive upper inequality, normalization shall divide by the positive coefficient magnitude and choose the least admitted target bound no smaller than the exact rational bound. Equality shall contribute both opposite inequalities with their respective outward bounds. The result shall denote the intersection of the entry set with these normalized target inequalities; for exact representable bounds this shall be the concrete conjunction. Applying outward normalization shall not exclude any entry point satisfying the original constraint.
add_constraints(cs) and add_recycled_constraints(cs) shall conjoin all admitted constraints in the system, with the same normalization and validation rules. Source dimensions at most the receiver dimension shall be admitted; omitted trailing coordinates shall have zero coefficients. A larger single-descriptor or system dimension shall throw std::invalid_argument before changing the receiver's represented set. Rejection of an unsupported single descriptor shall also preserve the receiver's represented set. A system operation that encounters an unsupported descriptor need not roll back preceding additions.
The copying overloads shall preserve their source descriptors. After the recycling overload, the only required property of cs shall be safe destruction, including after an exception. Result storage shall not borrow the input system. These rules shall apply to empty receivers as well as nonempty receivers.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible, except for recycled sources with an explicit destruction-only guarantee. No general rollback guarantee shall be inferred for such failures.
-
2. Addition of bounded-difference congruences PPL-SPEC-001091 add_congruence(cg) shall admit congruence equalities whose linear form is a unary or coordinate-difference equality, together with constant tautologies and falsehoods. An admitted equality shall conjoin the two opposite outward-normalized inequalities described in 🔗 1. Addition of admitted bounded-difference constraints. A tautology shall have no effect; a falsehood shall make the result empty.
A nontrivial proper congruence or an unsupported nonconstant equality shall throw std::invalid_argument. Periodic spacing shall not be silently removed by an adding operation. add_congruences(cgs) and add_recycled_congruences(cgs) shall apply these admission and conjunction rules to the whole system.
A descriptor or system dimension above the receiver dimension shall throw std::invalid_argument before changing its represented set; smaller dimensions shall use zero trailing coefficients. Rejection of an unsupported single congruence shall preserve the entry set. A system operation need not undo earlier admitted additions if a later congruence is rejected.
The copying overloads shall preserve their source values. After a recycling call, the source system need only remain safely destructible, including after an exception. Result storage shall own its value independently of the source. Admission and dimension checks shall apply to empty receivers too.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible, except for recycled sources with an explicit destruction-only guarantee. No general rollback guarantee shall be inferred for such failures.
-
3. Conservative constraint refinement PPL-SPEC-001092 refine_with_constraint(c) and refine_with_constraints(cs) shall refine the receiver using supported unary and coordinate-difference constraints. Supported nonconstant strict inequalities shall first be relaxed to their non-strict counterparts. The resulting supported inequalities and equalities shall be normalized outward as in 🔗 1. Addition of admitted bounded-difference constraints. Unsupported nonconstant linear forms shall be ignored.
Constant descriptors shall retain their exact logical meaning: a false constant constraint, including a strict zero boundary, shall make the result empty; a tautology shall have no effect. Empty receivers shall remain empty. Relaxing a strict boundary shall not be interpreted as an exact test of the original conjunction's feasibility.
A completed result shall contain every entry point satisfying the input descriptors and shall equal the conjunction of the entry set with the supported, relaxed, outward-normalized descriptors. Copying refinement shall preserve the input descriptor or system. A larger descriptor or system dimension shall throw std::invalid_argument without changing the entry set; zero trailing coordinates shall be admitted for smaller source dimensions.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
4. Conservative congruence refinement PPL-SPEC-001093 refine_with_congruence(cg) and refine_with_congruences(cgs) shall conjoin supported unary or coordinate-difference equalities, with the outward scalar normalization in 🔗 1. Addition of admitted bounded-difference constraints. Unsupported nonconstant equalities shall be ignored.
An inconsistent proper congruence shall make the result empty. Every other proper congruence shall have no effect; in particular, periodic spacing shall not be interpreted as an equality. A constant equality shall retain its exact tautology or falsehood meaning. An empty receiver shall remain empty.
A completed result shall contain all entry points satisfying the supplied congruences, and shall denote precisely the entry set conjoined with the admitted outward-normalized equalities, unless a false constant descriptor makes it empty. The input descriptors shall preserve their values. Source dimensions at most the receiver dimension shall be admitted with zero trailing coordinates; larger dimensions shall throw std::invalid_argument without changing the receiver's represented set.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
1. Addition of optimally supported box constraints PPL-SPEC-001016 add_constraint(c) shall admit a dimension-compatible linear constraint with at most one nonzero homogeneous coefficient. A nonconstant strict inequality shall additionally require a profile supporting open endpoints. The successful result shall enclose the intersection of the entry box and the constraint and remain contained in the entry box. With exact admitted endpoints and openness, that intersection shall be represented exactly; otherwise the affected factor shall use its least supported outward interval enclosure. Constant truth or falsity shall leave the value unchanged or make it empty, including the zero-dimensional cases.
A constraint of greater ambient dimension, a non-interval constraint, or an unsupported nonconstant strict inequality shall throw std::invalid_argument. The support checks shall still apply to an empty receiver. add_constraints(cs) shall apply the same obligations to the conjunction of all supplied constraints; a support error may follow earlier successful additions, so the system form shall not promise rollback. System ambient dimension, including unused trailing coordinates, shall be checked before refinement. Const descriptors shall retain their values.
add_recycled_constraints(cs) shall have the same mathematical result and shall leave the supplied mutable system safely destructible on ordinary or exceptional return. can_recycle_constraint_systems() shall return false. No right to reuse a recycled system's prior contents shall be inferred from this capability value.
The valid-profile, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Allocation and endpoint exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 2. Box construction from supported congruences1
2. Addition of optimally supported box congruences PPL-SPEC-001017 add_congruence(cg) shall admit a dimension-compatible equality congruence with at most one nonzero homogeneous coefficient, and constant tautological or inconsistent proper congruences. An equality shall have the same numerical enclosure as addition of its equivalent linear equality under 🔗 1. Addition of optimally supported box constraints. A tautology shall leave the receiver unchanged; an inconsistency shall make it empty. A nontrivial proper congruence or a relational equality shall throw std::invalid_argument, including when the receiver is already empty.
add_congruences(cgs) shall apply these obligations to the conjunction of its entries. The whole system's ambient dimension shall be checked before addition, even if its nonzero coefficients use fewer dimensions. Any input of greater ambient dimension shall throw std::invalid_argument. A bulk support error may follow earlier changes; no rollback shall be promised. Const congruences and systems shall retain their values.
add_recycled_congruences(cgs) shall give the same mathematical result and leave its supplied mutable system safely destructible on success or exception. can_recycle_congruence_systems() shall return false; the caller shall not rely on a recycled input retaining its prior contents.
The valid-profile, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Allocation and endpoint exceptions shall retain their delegated guarantees without a general rollback promise.
-
3. Conservative box refinement by linear constraints PPL-SPEC-001018 For a dimension-compatible constraint c, refine_with_constraint(c) shall produce a box X’ satisfying X∩{x : c(x)} ⊆ X’ ⊆ X, where X is the receiver's entry set. Unlike optimal addition, refinement shall admit relational constraints and strict constraints under closed-only profiles, using outward supported bounds where necessary. It shall not reject a constraint solely because its exact intersection is not a box.
A constant inconsistency shall make the box empty; a constant tautology shall preserve it. A separable constraint shall refine its affected factor; relational constraints shall propagate necessary coordinate bounds and need not yield the least box enclosure. Empty shall remain empty. refine_with_constraints(cs) shall perform at most one refinement step per constraint in one traversal, stopping early on detected emptiness. The result may depend on traversal order; no fixed-point or least-enclosure guarantee shall be inferred.
Dimension mismatch, including excess system ambient dimension, shall throw std::invalid_argument before replacement. The receiver's ambient dimension and the supplied const descriptors shall remain unchanged.
The valid-profile, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Allocation and endpoint exceptions shall retain their delegated guarantees without a general rollback promise.
-
4. Conservative box refinement by linear congruences PPL-SPEC-001019 For a dimension-compatible congruence g, refine_with_congruence(g) shall produce X’ with X∩{x : g(x)} ⊆ X’ ⊆ X. An equality congruence shall use the linear-constraint refinement in 🔗 3. Conservative box refinement by linear constraints. A constant inconsistent proper congruence shall make the receiver empty. Other proper congruences may leave its box unchanged, retaining soundness without claiming an explicit lattice representation or periodic endpoint tightening.
refine_with_congruences(cgs) shall refine the conjunction by applying the supported per-entry refinement and may stop when emptiness is detected. It shall not require a fixed point or least box enclosure. Empty shall remain empty and zero-dimensional constants shall retain their logical meaning. Input congruences and systems shall remain unchanged. An input or system ambient dimension larger than the box dimension shall throw std::invalid_argument before replacement; the receiver dimension shall remain unchanged.
The valid-profile, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Allocation and endpoint exceptions shall retain their delegated guarantees without a general rollback promise.
-
5. Controlled box constraint propagation PPL-SPEC-001020 For dimension-compatible linear constraints, propagation shall tighten coordinate bounds without deleting any entry point satisfying the supplied constraint or conjunction, and without enlarging the entry box. It shall accept equality and strict or nonstrict inequality constraints under the selected supported numerical profile, retaining required outward rounding and any openness the profile can represent. Constant contradictions shall make the box empty; tautologies and empty inputs shall retain their set meanings.
propagate_constraint(c) shall perform one propagation step for the constraint. propagate_constraints(cs, max_iterations) shall make at most max_iterations passes when that argument is positive, using each constraint at most once per pass unless emptiness is detected first. A pass leaving every interval unchanged shall terminate propagation early. A finite pass limit shall permit later calls to continue tightening the current box.
Zero, including the default argument, shall mean no pass limit and may lead to nontermination. Even reaching an unchanged pass shall not establish a least box enclosure of the conjunction. Traversal and intermediate rounding may affect the final precision. Greater constraint or system ambient dimension shall throw std::invalid_argument before replacement. The box dimension and const input descriptors shall remain unchanged.
The valid-profile, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Allocation and endpoint exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 2. Copying congruence-system addition and refinement1
1. Single congruence addition and refinement PPL-SPEC-001274 add_congruence(cg) and refine_with_congruence(cg) shall replace the receiver G by G∩{x ∣ cg(x)}. Equalities and proper congruences shall have their meanings in 🔗 1. Rational-grid values, coefficient profile and valid use. Tautologies shall preserve the grid and contradictions shall produce empty. Lower-dimensional rows shall be zero extended; excess declared row dimension shall throw std::invalid_argument before mutation, including for an empty receiver. The external row value shall be preserved.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
Incoming link from: 3. Recycling congruence-system addition1
2. Copying congruence-system addition and refinement PPL-SPEC-001275 add_congruences(cgs) and refine_with_congruences(cgs) shall intersect the receiver with the conjunction of all input rows, exactly as repeated 🔗 1. Single congruence addition and refinement. An empty system shall preserve the grid. An independently supplied input shall retain its value, declared dimension and storage, including on exceptional return. The receiver's current congruence view may be supplied; its entry value shall be used before invalidation. Excess declared input dimension shall throw std::invalid_argument before mutation, even for no rows or an empty receiver.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
3. Recycling congruence-system addition PPL-SPEC-001276 add_congruences(std::move(cgs)) and add_recycled_congruences(cgs) shall produce the same mathematical grid and dimension-rejection behavior as 🔗 2. Copying congruence-system addition and refinement. The source shall be a separate writable system without receiver-owned storage. Its storage may be transferred; after successful or exceptional return it shall retain ownership sufficient for destruction, without a guarantee about its rows or suitability for queries.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
Incoming link from: 5. Copying and recycling strict constraint-system addition1
4. Strict addition of a single linear constraint PPL-SPEC-001277 add_constraint(c) shall intersect the receiver exactly with an equality or constant constraint. A constant true inequality shall preserve the grid; a constant false inequality shall produce empty. A nonconstant inequality shall throw std::invalid_argument when processed. An already marked empty receiver may return without processing a dimension-compatible row. Excess declared constraint dimension shall throw std::invalid_argument before mutation, even for empty.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Copying and recycling strict constraint-system addition PPL-SPEC-001278 add_constraints(cs) and add_recycled_constraints(cs) shall process the conjunction using the supported-constraint rules in 🔗 4. Strict addition of a single linear constraint. Excess declared system dimension shall throw std::invalid_argument before mutation, even for no rows or empty. Copying shall preserve the source value, dimension and storage. Recycling requires a separate writable source and guarantees its destruction after return; it need not actually transfer its storage. When an unsupported inequality is reached, earlier accepted rows may already have changed the receiver; rollback shall not be assumed.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
6. Conservative refinement by linear constraints PPL-SPEC-001279 refine_with_constraint(c) and refine_with_constraints(cs) shall intersect with every equality and produce empty for an inconsistent constant constraint. Other inequalities shall be ignored. Thus the result shall contain the concrete constrained set and shall never introduce points outside the entry grid. Input values shall be preserved. Excess declared input dimension shall throw std::invalid_argument before mutation, including an empty receiver or system.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
2. Constraint refinement through interval abstraction PPL-SPEC-000719 add_constraint(c) shall replace receiving entry set A by an outward interval enclosure of its intersection with the interval abstraction of c described by 🔗 1. Interval construction from ordinary real constraints. The represented result shall retain every input value satisfying c and shall introduce no value outside A.
With exact conversion, supported openness and an interval-valued constraint, the result shall be the exact set intersection. A disequality shall first be replaced by its interval hull; this refinement shall not promise removal of the excluded point when that hull fills the puncture. An unconstrained constraint shall preserve A; a false constraint shall give empty. The receiver shall be initialized and valid, and the ordinary-real carrier and admitted relation set shall follow 🔗 1. Interval construction from ordinary real constraints. Separate constraint/cutoff objects shall remain unchanged.
Arguments shall be live and valid constraints under 🔗 4. Interval constraints retain relation and cutoff ownership; borrowed cutoffs shall remain live and retain stable values throughout the operation. Active finite rational cutoffs shall be canonical. Receiving boundary/information policies shall admit the result, including empty values where possible. Numerical conversion, policy, finite-range, resource, shared-temporary and caller-owned FPU prerequisites shall follow the selected endpoint operations. Access shall be synchronized against modification. No additional library initialization shall be required. Underlying numerical or allocation failure shall retain the underlying operation's guarantees. Returned I_Result values shall have the logical shape/status meanings of 🔗 1. Interval result possibilities and status-flag set operations; only established claims shall be reported.
-
4. Limited semantic octagonal extrapolation PPL-SPEC-001217 With Y ⊆ X in the ascending operand order, limited_BHMZ05_extrapolation_assign shall improve the semantic widening of 🔗 3. Semantic octagonal widening and default widening alias using selected limits.
The supplied system shall have dimension no greater than the operands and shall contain no strict inequalities. Recognized limits shall be nonstrict unary inequalities and two-coordinate inequalities with equal absolute nonzero coefficients; equalities and other linear forms shall not be used as limiting inequalities. Normalize each recognized inequality to the signed forms of 🔗 2. Threshold octagonal extrapolation and precision-sensitive tokens, rounding its bound outward in the selected profile. Select only normalized bounds satisfied by the receiver's entry set X. A rounded bound may be weaker than the original constraint; selection shall not promise that the result satisfies the original constraint.
Let L be the conjunction of the selected bounds and W the base operator's delayed or undelayed result. The final result shall denote W∩L, contain X and be contained in W. The base operator shall make its token decision before applying L; a limit that recovers all discarded information shall not refund a token. Positive tokens shall retain X.
An empty argument, empty receiver or zero-dimensional operands shall preserve the receiver's entry set without consuming a token. The supplied constraint system shall retain its value and ownership. Incompatible constraint dimensions and strict inequalities shall throw std::invalid_argument before changing the represented receiver or token counter, including in zero dimensions.
With a fixed finite limiting system, fixed dimension/profile, the admitted normalization and widening prerequisites, and a finite unreplenished token budget, the prescribed ascending recurrence shall retain finite stabilization. Arbitrarily changing the limiting system shall carry no such general guarantee.
The supported-profile, range, rounding, initialization, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Operands shall have equal ambient dimension and satisfy the stated mathematical inclusion; this inclusion is a caller precondition rather than a required runtime check. Unequal dimensions shall throw std::invalid_argument before changing the receiver's represented set or a supplied token counter. A distinct argument shall retain its represented set, although logically const operations may change its cached representation. Self-aliasing shall be admitted.
Underlying numerical, allocation and cooperative-abandonment failures may propagate. Owned temporary storage shall be released and surviving objects shall retain safely destructible ownership. Such failures shall not imply a general rollback guarantee. Successful results shall own their representation independently of the argument's lifetime.
-
6. Limited threshold octagonal extrapolation PPL-SPEC-001219 With Y ⊆ X in the ascending operand order, limited_CC76_extrapolation_assign shall improve the default threshold extrapolation of 🔗 1. Default octagonal stop points using selected limits.
The supplied system shall have dimension no greater than the operands and shall contain no strict inequalities. Recognized limits shall be nonstrict unary inequalities and two-coordinate inequalities with equal absolute nonzero coefficients; equalities and other linear forms shall not be used as limiting inequalities. Normalize each recognized inequality to the signed forms of 🔗 2. Threshold octagonal extrapolation and precision-sensitive tokens, rounding its bound outward in the selected profile. Select only normalized bounds satisfied by the receiver's entry set X. A rounded bound may be weaker than the original constraint; selection shall not promise that the result satisfies the original constraint.
Let L be the conjunction of the selected bounds and W the base operator's delayed or undelayed result. The final result shall denote W∩L, contain X and be contained in W. The base operator shall make its token decision before applying L; a limit that recovers all discarded information shall not refund a token. Positive tokens shall retain X.
An empty argument, empty receiver or zero-dimensional operands shall preserve the receiver's entry set without consuming a token. The supplied constraint system shall retain its value and ownership. Incompatible constraint dimensions and strict inequalities shall throw std::invalid_argument before changing the represented receiver or token counter, including in zero dimensions.
This limited operator shall not add a general finite-stabilization guarantee to relational CC76 extrapolation, even with a fixed finite limiting system.
The supported-profile, range, rounding, initialization, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Operands shall have equal ambient dimension and satisfy the stated mathematical inclusion; this inclusion is a caller precondition rather than a required runtime check. Unequal dimensions shall throw std::invalid_argument before changing the receiver's represented set or a supplied token counter. A distinct argument shall retain its represented set, although logically const operations may change its cached representation. Self-aliasing shall be admitted.
Underlying numerical, allocation and cooperative-abandonment failures may propagate. Owned temporary storage shall be released and surviving objects shall retain safely destructible ownership. Such failures shall not imply a general rollback guarantee. Successful results shall own their representation independently of the argument's lifetime.
-
Incoming link from: 3. Generalized interval-linear-form comparisons1
2. Conservative interval-linear-form inequality refinement PPL-SPEC-001237 For a supported native floating boundary type T, let X be the receiver's entry set and let L(x) and R(x) be the real value sets of its dimension-compatible interval linear-form arguments. Coefficient and constant choices shall be independent, including when the same form object is supplied twice. After refine_with_linear_form_inequality, the receiver shall have the same ambient dimension and denote a set Y satisfying
{x ∈ X ∣ ∃l ∈ L(x), r ∈ R(x) : l ≤ r} ⊆ Y ⊆ X.Valid empty coefficient or constant intervals shall be admitted; their empty choice set contributes no satisfying valuations, so a general conservative refinement may leave the input unchanged.
The general operation may lose precision. Comparisons involving constants only, including cancellation to a constant comparison, may leave the input unchanged.
For closed nonempty constant intervals and forms having at most one nonzero variable coefficient each, all such coefficients being singleton + 1 or − 1, consider a nonconstant comparison reducible to one unary or signed binary octagonal inequality. If the required constant endpoint subtraction and doubled-unary encoding are exact in the selected boundary profile, the result shall equal the intersection of X with that closed inequality, using the lower constant endpoint on the left and upper constant endpoint on the right. Opposite unit coefficients on the same coordinate shall therefore use the corresponding normalized ±2xi cut. All four sign combinations on distinct coordinates shall be covered. This precision clause shall not apply to a constant-only comparison.
Empty input shall remain empty. An argument form whose space dimension exceeds the receiver's shall throw std::invalid_argument before changing the represented set, including on empty input. Successful refinement shall preserve the source forms and leave a valid owned receiver.
The format shall satisfy its configured supported-format predicate. The interval coefficient representation and arithmetic shall satisfy 🔗 1. Interval-linear-form meaning and numerical prerequisites, including stored-value and endpoint-access prerequisites; coefficient and constant intervals shall be bounded. The caller shall provide and retain ownership of an upward FPU environment. For admitted inputs, the implementation shall respect the preconditions of its selected numerical policies when carrying out intermediate operations. Library calls shall not transfer ownership of the forms or change their coefficient values.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall hold. Borrowed forms and interval storage shall remain live throughout the call. Recoverable numerical and resource exceptions may propagate; discarded owned temporaries shall be released and the receiver shall remain safely destructible, without a rollback promise.
-
3. Generalized interval-linear-form comparisons PPL-SPEC-001238 For the form value sets and numerical admission of 🔗 2. Conservative interval-linear-form inequality refinement, generalized_refine_with_linear_form_inequality shall preserve the ambient dimension and denote an enclosure of the input states satisfying its relation, without introducing states outside the input. The two sides shall use independent coefficient choices.
LESS_OR_EQUAL shall apply the left-to-right inequality refinement; GREATER_OR_EQUAL shall apply the reversed refinement. LESS_THAN and GREATER_THAN may use those same closed relaxations of the strict comparisons. EQUAL shall apply both non-strict orientations, retaining all states for which the two form value intervals overlap. NOT_EQUAL shall leave the represented set unchanged. No general least-result claim shall follow from these dispatch rules.
Both arguments shall undergo the documented dimension validation for every named relation, including NOT_EQUAL and empty receivers. Incompatibility shall throw std::invalid_argument before changing the represented set. A Relation_Symbol having the unnamed language-admissible value 0 or 7 shall throw std::runtime_error before mutation. Values outside the C++ enum's valid representation range are outside valid language use. Empty input and source-form values shall be preserved.
The format shall satisfy its configured supported-format predicate. The interval coefficient representation and arithmetic shall satisfy 🔗 1. Interval-linear-form meaning and numerical prerequisites, including stored-value and endpoint-access prerequisites; coefficient and constant intervals shall be bounded. The caller shall provide and retain ownership of an upward FPU environment. For admitted inputs, the implementation shall respect the preconditions of its selected numerical policies when carrying out intermediate operations. Library calls shall not transfer ownership of the forms or change their coefficient values.
The selected representation, numerical runtime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall hold. Borrowed forms and interval storage shall remain live throughout the call. Recoverable numerical and resource exceptions may propagate; discarded owned temporaries shall be released and the receiver shall remain safely destructible, without a rollback promise.
-
1. Addition of supported octagonal constraints PPL-SPEC-001167 add_constraint(c) shall conjoin the receiver with the target-profile normalization of the admitted constraint c. The nonconstant supported forms shall be unary bounds and signed two-coordinate bounds with equal nonzero coefficient magnitudes, including equalities. Constant tautologies shall have no effect; constant falsehoods shall make the receiver empty. Constant strict conditions shall retain their truth value. A nonconstant strict constraint or an unsupported nonconstant linear form shall throw std::invalid_argument without changing the receiver's represented set.
For a unary normalized inequality sxi ≤ b, its stored primitive bound shall be the least admitted target bound at least 2b in the doubled-unary encoding. For a binary normalized inequality sixi + sjxj ≤ b, the bound shall be the least admitted target bound at least b. Signs shall belong to { − 1, 1}. Each side of an equality shall have its own outward bound. The result shall be exactly the intersection of the entry set with these normalized target inequalities; when the normalized bounds are exact, this shall be the concrete conjunction. Every entry point satisfying c shall be retained.
add_constraints(cs) and add_recycled_constraints(cs) shall conjoin all admitted system rows with the same normalization and validation rules. A descriptor or system dimension at most the receiver dimension shall be accepted, with zero coefficients in omitted trailing coordinates. A larger dimension shall throw std::invalid_argument before changing the receiver's represented set. An empty receiver shall still undergo these validation rules.
An ordinary copying call shall preserve its source descriptor or system. The result shall not borrow source storage. After a recycled-system call, including exceptional return, the only required property of cs shall be safe destruction. A rejected system need not undo earlier accepted rows; no particular row visitation order shall be promised.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands and input descriptors shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved. Recycled sources shall retain their explicit destruction-only guarantee.
-
2. Addition of supported octagonal congruences PPL-SPEC-001168 add_congruence(cg) shall accept congruence equalities whose expression is an admitted unary or equal-magnitude signed two-coordinate equality, together with constant tautologies and falsehoods. An accepted equality shall conjoin the two outward-normalized inequalities defined in 🔗 1. Addition of supported octagonal constraints. A tautology shall have no effect; a falsehood shall make the receiver empty.
A nontrivial proper congruence or an unsupported nonconstant equality shall throw std::invalid_argument without changing the receiver's represented set. An adding call shall not silently discard a nontrivial periodic restriction. add_congruences(cgs) and add_recycled_congruences(cgs) shall apply these rules to the system.
A descriptor or system dimension above the receiver dimension shall throw std::invalid_argument before changing its represented set, including on an empty receiver. Smaller dimensions shall have zero trailing coefficients. Ordinary copying forms shall preserve their source values and shall not borrow their storage. A recycled system shall be required only to remain safely destructible after normal or exceptional return. If a later system row is rejected, preceding accepted rows need not be rolled back; no row visitation order shall be promised.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands and input descriptors shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved. Recycled sources shall retain their explicit destruction-only guarantee.
-
3. Conservative refinement by linear constraints PPL-SPEC-001169 refine_with_constraint(c) shall refine the receiver by an admitted linear constraint without rejecting a row merely because its nonconstant form is not octagonal. A supported closed unary or equal-magnitude signed binary row shall have the outward-normalized conjunction in 🔗 1. Addition of supported octagonal constraints. A supported nonconstant strict inequality shall first be relaxed to its non-strict counterpart and then normalized. An unsupported nonconstant linear form shall have no effect.
Constant true rows shall have no effect and constant false rows shall make the receiver empty, including the strict false condition 0 > 0. An empty receiver shall remain empty. refine_with_constraints(cs) shall apply these rules to the entire conjunction. For entry set X, exact condition set C and result R, X∩C ⊆ R ⊆ X shall hold. For a system, the represented result shall be the intersection with all the retained, relaxed and outward-normalized rows; ignored rows shall impose no restriction.
Source dimensions at most the receiver dimension shall be admitted with zero trailing coefficients. A larger descriptor or system dimension shall throw std::invalid_argument before changing the receiver's represented set, including when the receiver is empty. Copying calls shall preserve source descriptors and own any resulting bounds independently. Exceptions during a system call need not roll back previously applied refinements.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands and input descriptors shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
4. Conservative refinement by congruences PPL-SPEC-001170 refine_with_congruence(cg) shall conjoin an octagonal congruence equality using the outward-normalized opposite inequalities in 🔗 1. Addition of supported octagonal constraints. An unsupported nonconstant equality shall have no effect. A proper constant false congruence shall make the receiver empty; other proper congruences shall have no effect. A tautology shall have no effect. The real carrier in 🔗 1. Octagonal values, numerical profiles and valid use shall remain unchanged; ignored periodic information shall not turn this call into an integer-valued state restriction.
refine_with_congruences(cgs) shall apply those rules to the conjunction. For entry set X, supplied congruence set C and result R, X∩C ⊆ R ⊆ X shall hold. The result shall equal the intersection with all accepted normalized equality rows, unless a false row makes it empty. Empty receivers shall remain empty.
Larger descriptor or system dimensions shall throw std::invalid_argument before changing the receiver's represented set, including on empty receivers. Smaller dimensions shall use zero trailing coefficients. Copying calls shall preserve their source values; result bounds shall not borrow source storage. A system call that throws need not roll back preceding accepted refinements.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands and input descriptors shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
Incoming link from: 7. Octagonal construction from supported congruences1
6. Octagonal construction from supported constraints PPL-SPEC-001151 Construction from Constraint_System shall inherit its ambient dimension and describe the conjunction of its supported constraints, rounded outward where required by the coefficient profile. Supported nonconstant rows shall be weak inequalities or equalities with one nonzero coordinate coefficient, or two nonzero coordinate coefficients of equal absolute magnitude.
Normalization shall preserve the signs of both coordinates. For distinct coordinates, a(sixi + sjxj) ≤ b, with a > 0, shall use an outward approximation of b ⁄ a. Unary storage shall account for its doubled-coordinate encoding, so axi ≤ b shall use an outward approximation of 2b ⁄ a before interpreting the unary bound. Equality shall impose both corresponding weak inequalities. Exact representable normalized bounds shall retain their values. This shall give the optimal supported primitive bound in the selected profile; it shall not imply exact rational closure in a rounded profile.
Tautological rows shall impose no restriction; inconsistent rows shall make the represented conjunction empty. These constant-row meanings shall also apply to strict constant rows. A nontrivial strict row or non-octagonal row shall throw std::invalid_argument rather than silently being accepted as an exact supported descriptor. An empty constraint system shall give universe in the system's ambient dimension. The supplied system shall be preserved. can_recycle_constraint_systems() shall return false. Failed construction shall release its acquired resources.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
7. Octagonal construction from supported congruences PPL-SPEC-001152 Construction from Congruence_System shall inherit its ambient dimension. A modulus-zero row shall be treated as its equality and shall use the supported signed unary/binary syntax and outward normalization in 🔗 6. Octagonal construction from supported constraints. Tautological congruences shall impose no restriction; inconsistent ones shall make the result empty. A nontrivial proper congruence or unsupported equality shall throw std::invalid_argument. Periodic solutions shall not be replaced by an integer-coordinate interpretation of the convex real carrier.
An empty congruence system shall produce universe in its ambient dimension. The source system shall be preserved. can_recycle_congruence_systems() shall return false. Failed construction shall release acquired resources.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
A source dimension above the destination profile's max_space_dimension() shall throw std::length_error before source normalization or allocation of the corresponding target matrix storage.
-
1. Lifted constraint addition and refinement PPL-SPEC-001407 Constraint addition and refinement shall apply the corresponding base operation to every disjunct, retaining union semantics and marking reduction unknown. Exact addition shall intersect each disjunct with the admitted constraint conjunction. Refinement shall preserve every point satisfying the input conjunction and satisfy the base precision guarantee, possibly ignoring unsupported restrictions. Topology and dimension rejection shall follow the base operation, including std::invalid_argument for incompatible inputs.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Lifted congruence addition and refinement PPL-SPEC-001408 Congruence addition and refinement shall apply the corresponding base operation to every disjunct, preserving union semantics and marking reduction unknown. Exact addition shall intersect with the admitted congruence conjunction; refinement shall be sound with the base precision guarantee. Proper modular restrictions shall not be converted into affine equalities. Dimension or unsupported exact-addition admission shall follow the base exception contract.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
1. Sound polyhedral filtering by interval linear forms PPL-SPEC-001376 For an admitted nonempty receiver, floating-point formats and bounded interval coefficients, linear-form refinement shall retain every receiver state satisfying some coefficient instantiation of the selected comparison, and shall introduce no state outside the receiver. The basic overload shall select less-than or less-or-equal by is_strict; a closed receiver may relax strictness. Generalized refinement shall apply both non-strict filters for equality, reverse operands for greater-than relations, and retain the receiver for disequality. Excess input dimension shall throw std::invalid_argument; an invalid relation enumeration shall throw std::runtime_error. If the form or its normalization overflows the admitted analysis range, refinement may leave the receiver unchanged rather than use an unsound finite coefficient. External forms shall preserve their values.
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.
-
3. Polyhedral refinement of a floating interval store PPL-SPEC-001378 For a dimension-compatible floating interval box, store refinement shall intersect that store with a sound box enclosure of the receiver. It shall not change the polyhedron, and shall retain every point that belonged to both the entry store and the receiver. Directed conversion and endpoint inclusion shall follow the selected interval-profile contracts; the result need not be the best box enclosure of the intersection. Dimension incompatibility shall follow the box intersection's invalid-argument channel.
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.
-
1. Polyhedral constraint addition and refinement PPL-SPEC-001338 The rvalue add_constraints overload shall permit transferring owned rows through prepared insertion, with the compatibility and ownership guarantees of recycled insertion. Adding an admitted constraint or system shall compute its exact conjunction with the receiver. Closed addition shall reject strict rows with std::invalid_argument; NNC addition shall preserve their strictness. Refinement shall use the same conjunction for admitted topology-compatible rows. In a closed receiver, refinement by a strict inequality may relax it to the corresponding non-strict inequality; a false constant shall still yield empty. Trailing free dimensions shall be retained. Excess descriptor dimension shall throw std::invalid_argument. External const input shall be preserved. Recycled input may be consumed and need only remain safely destructible on return. Pending descriptions shall retain all previously added restrictions.
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.
-
Incoming link from: 6. Polyhedron construction from representable congruences1
2. Polyhedral congruence addition and conservative refinement PPL-SPEC-001339 Addition shall conjoin equality congruences exactly, ignore tautologies, and set empty for contradictions. A proper congruence that is neither constant-true nor constant-false shall throw std::invalid_argument. Refinement shall conjoin equality congruences exactly and may ignore proper congruences. Bulk refinement shall recognize contradictory proper congruences; single refinement in positive ambient dimension may retain the receiver for a proper congruence, including a contradiction. In zero dimensions it shall use the congruence's truth value. Excess descriptor dimension shall throw std::invalid_argument. Const external inputs shall be preserved; recycled inputs need only remain destructible. The source and receiver may have lower and higher dimensions respectively, with trailing coordinates free.
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.
-
6. Polyhedron construction from representable congruences PPL-SPEC-001321 Congruence-system construction shall inherit the input dimension and apply the exact addition semantics in 🔗 2. Polyhedral congruence addition and conservative refinement to universe. Equality congruences shall define affine equalities; tautologies shall impose no restriction and contradictions shall give empty. A proper congruence that is neither tautological nor contradictory shall throw std::invalid_argument. The const-input form shall preserve external source values. The recycling-tag form shall have the same mathematical result; recycling shall not be promised for congruences. can_recycle_constraint_systems() shall return true and can_recycle_congruence_systems() false.
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.
-
1. Product descriptor addition, refinement and recycling PPL-SPEC-001448 Ordinary addition and refinement shall apply the corresponding operation to both components and mark reduction unknown. The intersection shall retain all source points satisfying the supplied restrictions, with component exactness and admission conditions. Exact-addition members shall require admission by each called component. Recycling shall first refine the nonconsuming component, then pass the system to a component advertising recycling; if neither advertises it, both shall use ordinary addition. The source may be consumed only after the other component has read it. Failure shall not promise rollback of either component or recycled input.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
4. Product construction from descriptor systems PPL-SPEC-001436 Constraint-system and congruence-system construction shall construct both components from the same input and mark reduction unknown. The resulting intersection shall contain the described set and shall be exact when the combined component constructions represent it exactly. Const sources shall be preserved. Nonconst overloads shall permit the documented second-component recycling while constructing the first from an unconsumed view. Admission and exceptions shall follow both component constructors.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide forward-image and backward-preimage operations for the supported rational affine functions and relations of its pointset domains. Under their arithmetic preconditions, successful results shall contain the exact image or preimage defined by the operation, and the supported domain and transformation class shall determine the stated exactness or other precision guarantee.
-
5. C generated affine transformations PPL-SPEC-001558 Affine image/preimage and generalized/bounded families shall interpret expression coefficients, denominator, relation symbol and affected coordinates exactly as the corresponding native operation. Pointer parameters shall denote live expressions and coefficient objects, with native supported aliasing and nonzero-denominator rules. Successful results shall preserve the native exactness or sound enclosure guarantee.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
Incoming links from: 2. Rational affine preimage of one coordinate 3. Single-coordinate generalized affine image2
1. Rational affine image of one coordinate PPL-SPEC-001111 For an entry shape X ⊆ ℝn , a valid coordinate k , a dimension-compatible integer-coefficient affine expression e and a nonzero coefficient d , affine_image(k,e,d) shall replace the receiver with a bounded-difference shape containing
{y ∈ ℝn ∣ ∃x ∈ X : yk = e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.With exact rational boundary arithmetic, constant replacement and assignments xk : = xj + c , including self translation, shall give the exact image. Other affine expressions may require a conservative bounded-difference enclosure. Rounded profiles shall keep the delegated outward bounds. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 4. Single-coordinate generalized affine preimage1
2. Rational affine preimage of one coordinate PPL-SPEC-001112 With the coordinate, expression and denominator admitted by 🔗 1. Rational affine image of one coordinate , affine_preimage(k,e,d) shall contain every x ∈ ℝn whose successor, obtained by replacing coordinate k with e(x) ⁄ d , belongs to the entry post-state shape. Expression occurrences of the updated coordinate shall denote its pre-state value.
For xk : = xj + c , the post-state constraints shall be substituted using that expression. With exact rational boundary arithmetic, both self translation and distinct-coordinate copy plus translation shall give the exact bounded-difference preimage; in the distinct-coordinate case the pre-state xk shall be free. Rounded profiles shall preserve the corresponding outward substitutions and consistency checks. Other transformations shall give sound containing shapes; they need not compute the least bounded-difference enclosure even when the exact preimage is representable, as specified by WR_Affine_Preimage_Precision in the mathematical interface definitions. Invertible transformations shall use the same relational predecessor meaning as noninvertible ones. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
3. Single-coordinate generalized affine image PPL-SPEC-001113 For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_image(k,relsym,e,d) shall contain
{y ∣ ∃x ∈ X : yk ⋈ e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Equality shall have the behavior of 🔗 1. Rational affine image of one coordinate . A one-sided relation shall use the indicated quotient, including the sign of the denominator; it shall not silently turn a lower relation into an upper relation. The result may conservatively approximate the affine relation. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
4. Single-coordinate generalized affine preimage PPL-SPEC-001114 For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_preimage(k,relsym,e,d) shall contain
{x ∣ ∃y ∈ X : yk ⋈ e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Equality shall have the behavior and class-specific precision of 🔗 2. Rational affine preimage of one coordinate . Other admitted relations may give sound nonleast bounded-difference enclosures according to the documented preimage approximation contract. The denominator sign shall be respected. The relation shall use the same old/new coordinate frame for self-dependent and non-self-dependent expressions. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 6. Expression-left generalized affine preimage1
5. Expression-left generalized affine image PPL-SPEC-001115 Let l and r be dimension-compatible affine expressions, U the coordinates with nonzero homogeneous coefficient in l , and ⋈ ∈ { = , ≤ , ≥ } . The expression overload of generalized_affine_image(l,relsym,r) shall contain
{y ∣ ∃x ∈ X : l(y) ⋈ r(x) ∧ ∀i ∉ U, yi = xi}.The left expression shall be interpreted in the new state and the right expression in the old state; exchanging them and reversing the relation shall not in general describe the same update. A constant left expression shall be a guard with every coordinate framed. Multiple updated coordinates may lose precision through a sound bounded-difference enclosure. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; lhs and rhs may denote the same live expression.
For a constant left expression, a representable guard shall be added natively. Other guards shall receive one finite pass over native directions formed from each nonzero coefficient and each representable matching pair, in increasing coordinate order. For a guard expression e ≥ 0 and such a direction d , the finite infimum of the residual d − e shall supply d ≥ inf(d − e) . Equality shall also use its finite supremum to supply d ≤ sup(d − e) . Closure shall propagate earlier deductions before each direction is considered. Residual optimization shall preserve its supported correlations; returned rational bounds shall be inserted directly, without an intermediate scalar-interval conversion. This pass need not reach a fixed point or compute a least abstract intersection. General residuals may require linear programming.
When the homogeneous part of l has two nonzero coefficients and is representable as a bounded-difference expression up to scaling, the finite entry-state supremum of r shall be retained as an upper bound on the new l for EQUAL and LESS_OR_EQUAL. Its finite infimum shall be retained as a lower bound for EQUAL and GREATER_OR_EQUAL. These bounds shall be computed before forgetting updated coordinates and shall also apply to disjoint left/right supports. Rational boundaries shall retain the exact extrema; other boundary profiles shall retain their native outward guarantees. An unbounded direction shall add no finite bound.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
6. Expression-left generalized affine preimage PPL-SPEC-001116 With l , r , U and ⋈ admitted by 🔗 5. Expression-left generalized affine image , the expression overload of generalized_affine_preimage(l,relsym,r) shall contain
{x ∣ ∃y ∈ X : l(y) ⋈ r(x) ∧ ∀i ∉ U, yi = xi}.A constant left expression shall be a guard with every coordinate framed. Other forms may return sound nonleast bounded-difference enclosures as specified by the preimage approximation contract. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; the same live expression may supply both lhs and rhs .
For a left expression with at least two nonzero homogeneous coefficients, the finite target-state infimum of l shall supply the necessary guard r ≥ infXl for EQUAL and LESS_OR_EQUAL; the finite supremum shall supply r ≤ supXl for EQUAL and GREATER_OR_EQUAL. These extrema shall be computed before forgetting updated coordinates. The guards shall be refined in the old-state coordinates using the same native native-direction approximation as constant-left images. An unbounded direction shall contribute no finite guard. Existing relational deductions and framed-coordinate constraints shall also be preserved. Rational boundary arithmetic shall use exact extrema; other profiles shall retain their native outward guarantees. These deductions need not give a least preimage enclosure.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 8. Single-coordinate bounded affine preimage1
7. Single-coordinate bounded affine image PPL-SPEC-001117 For admitted coordinate k , dimension-compatible expressions l, u and nonzero denominator d , bounded_affine_image(k,l,u,d) shall contain
{y ∣ ∃x ∈ X : l(x) ⁄ d ≤ yk ≤ u(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Both bounding expressions shall use the same entry state. A negative common denominator shall preserve the displayed quotient inequalities; the lower and upper argument roles shall not be exchanged merely because the denominator is negative. The bounds may depend on the replaced coordinate. The result may conservatively approximate this simultaneous relation. Constraints involving only unchanged coordinates shall remain valid. Both expressions and the denominator shall remain unchanged; lb_expr and ub_expr may refer to the same live expression.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
8. Single-coordinate bounded affine preimage PPL-SPEC-001118 With the coordinate, expressions and denominator admitted by 🔗 7. Single-coordinate bounded affine image , bounded_affine_preimage(k,l,u,d) shall contain
{x ∣ ∃y ∈ X : l(x) ⁄ d ≤ yk ≤ u(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.The two bounds shall be evaluated in the same pre-state, including when one or both contain xk . The result may be a sound nonleast bounded-difference enclosure under the documented preimage approximation contract. Any auxiliary coordinate used internally shall not remain in a successful result. Constraints involving only unchanged coordinates shall remain valid. Both source expressions and the denominator shall remain unchanged, including shared bound-expression arguments.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
9. Native interval-affine image PPL-SPEC-001119 For a supported native floating-point boundary type T , a valid coordinate k and a dimension-compatible Linear_Form<Interval<T,Interval_Info>> with bounded coefficient intervals Ai and bounded constant interval B , affine_form_image(k,lf) shall contain every successor
{y ∣ ∃x ∈ X, b ∈ B, ai ∈ Ai : yk = b + ∑iaixi ∧ ∀j ≠ k, yj = xj}.Coefficient and constant choices shall be independent as specified by 🔗 1. Interval-linear-form meaning and numerical prerequisites . The result shall use outward numerical bounds; interval uncertainty and the restricted difference-bound language may lose precision, without a general least-enclosure guarantee. Constraints involving only unchanged coordinates shall remain valid. The source form and its coefficient intervals shall retain their values. An empty coefficient or constant interval shall make the receiver empty.
The selected native format, interval representation, initialized numerical runtime, caller-owned upward FPU environment and arithmetic/resource prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use and 🔗 1. Interval-linear-form meaning and numerical prerequisites shall hold. Bounded intervals shall satisfy their stored-value and endpoint-access prerequisites. Unbounded coefficients are outside this operation's documented admission. Native availability shall follow the corresponding configured supported-format predicate.
The ambient dimension shall remain unchanged. Empty input shall remain empty after validation. An invalid selected coordinate or a form of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible, without an additional rollback guarantee. Callers shall synchronize shared owners and facilities.
-
Incoming links from: 2. Single-coordinate affine box preimage 3. Generalized single-coordinate box image2
1. Single-coordinate affine box image PPL-SPEC-001021 For a valid coordinate k, dimension-compatible affine expression e and nonzero coefficient d, affine_image(k,e,d) shall enclose every vector obtained from an entry point x by replacing only coordinate k with e(x) ⁄ d. The receiving interval shall be the outward interval evaluation of that affine expression on the entry factors, including its inhomogeneous term and the sign of d. Every other coordinate interval shall retain its entry represented set.
With exact rational endpoint operations and supported openness, the result shall be the least box containing this image. Finite numerical profiles shall retain their delegated outward enclosures, without a general best- approximation claim when intermediate arithmetic is inexact. Dependencies between the replaced coordinate and unchanged coordinates may be lost. The source expression shall remain unchanged.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 4. Generalized single-coordinate box preimage1
2. Single-coordinate affine box preimage PPL-SPEC-001022 With coordinate, expression and denominator admitted by 🔗 1. Single-coordinate affine box image, affine_preimage(k,e,d) shall enclose every vector x whose image under x’k = e(x) ⁄ d, with all other coordinates unchanged, belongs to the entry box.
When the coefficient of xk in e is nonzero, the affine map is invertible. The result shall enclose the interval evaluation of its inverse on the entry box; with exact rational endpoint arithmetic and supported openness this shall be the least box preimage. When that coefficient is zero, the old value of xk is unconstrained by the assignment. The operation need not derive every additional restriction on other coordinates and need not compute the least box preimage, but shall retain every feasible predecessor. At coordinates other than the updated one, the result shall preserve the entry factor restrictions; feasibility filtering may tighten those factors. It may return empty only when no predecessor exists. The source expression shall remain unchanged.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 4. Generalized single-coordinate box preimage1
3. Generalized single-coordinate box image PPL-SPEC-001023 For a valid coordinate k, dimension-compatible affine expression e, nonzero coefficient d and admitted comparison ⋈ , the variable overload of generalized_affine_image shall enclose every z for which an entry point x satisfies zk ⋈ e(x) ⁄ d and zi = xi for i ≠ k. It shall retain every other coordinate's entry factor. Equality shall have the behavior in 🔗 1. Single-coordinate affine box image. A one-sided relation shall retain the required finite outer bound and remove the opposite finite bound, using outward approximation and supported endpoint openness. With exact rational endpoint operations and supported openness, the result shall be the least Cartesian box for the specified relation: the target factor shall use the exact required extremum and its attainment. This shall not promise the exact relational image or a least result under inexact arithmetic.
The five admitted relation symbols shall be LESS_THAN, LESS_OR_EQUAL, EQUAL, GREATER_OR_EQUAL and GREATER_THAN. NOT_EQUAL shall throw std::invalid_argument. Other relation codes shall be outside the admitted interface.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
4. Generalized single-coordinate box preimage PPL-SPEC-001024 For arguments and relation symbols admitted by 🔗 3. Generalized single-coordinate box image, the variable overload of generalized_affine_preimage shall enclose every predecessor x for which some entry-box point z satisfies zk ⋈ e(x) ⁄ d and zi = xi for i ≠ k. The result shall follow existential backward semantics, including reversal of a comparison when algebraically dividing by a negative coefficient. Equality shall retain 🔗 2. Single-coordinate affine box preimage. Noninvertible relations may forget predecessor information and shall not claim a least box result. Only infeasibility of the relation with the entry box shall permit an empty result. Every coordinate other than the updated one shall preserve its entry factor restriction; feasibility filtering may tighten that factor.
The five admitted relation symbols shall be LESS_THAN, LESS_OR_EQUAL, EQUAL, GREATER_OR_EQUAL and GREATER_THAN. NOT_EQUAL shall throw std::invalid_argument. Other relation codes shall be outside the admitted interface.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 6. Generalized multi-coordinate box preimage1
5. Generalized multi-coordinate box image PPL-SPEC-001025 For dimension-compatible affine expressions l, r and an admitted comparison ⋈ , the expression overload of generalized_affine_image shall enclose every z for which an entry point x satisfies l(z) ⋈ r(x). For each coordinate absent from the homogeneous part of l, zi = xi shall additionally hold. A zero coefficient shall therefore leave a coordinate unchanged, irrespective of its explicit ambient dimension. When the left expression contains a coordinate, factors outside its nonzero support shall retain their entry represented sets. When the left expression is constant, the result may refine these unchanged factors within the entry box to enforce the relation.
Coordinates occurring on the left are updated together. The same coordinate may also occur on the right, where it denotes its entry value. Exchanging the two expressions and reversing the comparison shall not be treated as an equivalent update. An enclosure may lose correlations or retain infeasible points; no least box result shall be promised.
The five admitted relation symbols shall be LESS_THAN, LESS_OR_EQUAL, EQUAL, GREATER_OR_EQUAL and GREATER_THAN. NOT_EQUAL shall throw std::invalid_argument. Other relation codes shall be outside the admitted interface.
An expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors shall retain their values. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
6. Generalized multi-coordinate box preimage PPL-SPEC-001026 For the expression relation and admitted arguments in 🔗 5. Generalized multi-coordinate box image, the expression overload of generalized_affine_preimage shall enclose every x for which an entry-box point z satisfies l(z) ⋈ r(x) and zi = xi at every coordinate whose coefficient in l is zero. It shall use the left expression for successor values and the right expression for predecessor values, even when their coordinate sets overlap. At coordinates outside the original left expression's nonzero support, the result shall retain the entry factor restrictions, permitting sound tightening.
The result may lose constraints during existential abstraction and need not be the least box preimage. It shall not exclude a feasible predecessor or make the result empty merely because a relational predecessor set cannot be represented exactly. Const descriptors shall remain unchanged.
The five admitted relation symbols shall be LESS_THAN, LESS_OR_EQUAL, EQUAL, GREATER_OR_EQUAL and GREATER_THAN. NOT_EQUAL shall throw std::invalid_argument. Other relation codes shall be outside the admitted interface.
An expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors shall retain their values. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
Incoming link from: 8. Bounded affine box preimage1
7. Bounded affine box image PPL-SPEC-001027 For a valid coordinate k, dimension-compatible affine lower and upper expressions l, u, and nonzero coefficient d, bounded_affine_image shall enclose all successor vectors z from entry points x satisfying l(x) ⁄ d ≤ zk ≤ u(x) ⁄ d and zi = xi for i ≠ k. A negative denominator shall keep these divided lower/upper meanings; it shall not silently exchange the supplied expressions.
The operation may refine feasibility of the lower/upper relation before updating the coordinate. Inconsistent divided bounds shall admit no successor, while partial feasibility shall retain all feasible successors. Conservative refinement and interval evaluation may lose precision; no least box enclosure shall be promised. The supplied expressions shall retain their values. Every coordinate other than the updated one shall preserve its entry factor restriction; feasibility filtering may tighten it.
With exact rational interval endpoints and two constant bound expressions, a nonempty input shall produce exactly the divided closed interval at the updated coordinate, retaining the other entry factors, when the divided lower bound does not exceed the divided upper bound. Reversed divided bounds shall produce empty. This special case shall not establish a general least-box guarantee for variable-dependent bounds.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
8. Bounded affine box preimage PPL-SPEC-001028 For the bounded affine relation and arguments in 🔗 7. Bounded affine box image, bounded_affine_preimage shall enclose all predecessors x for which an entry-box successor z satisfies l(x) ⁄ d ≤ zk ≤ u(x) ⁄ d and zi = xi for i ≠ k. Both inequalities shall constrain the same successor value. Negative denominators and coefficients shall retain the mathematically required comparison directions. The result may lose precision through existential abstraction and need not be the least box preimage. It shall retain every feasible predecessor; only an infeasible relation may yield empty. Coordinates other than the updated one shall preserve the entry factor restrictions, permitting sound tightening by feasibility filtering.
With exact rational interval endpoints and two constant bound expressions, the result for a nonempty entry box shall be empty exactly when the divided closed interval is empty or has no point in common with the entry target factor. Otherwise, the old target coordinate shall become unconstrained and every other factor shall equal its entry factor. The entry factor's open endpoints shall govern whether a contact point is a common witness. This special case shall not establish a general least-box guarantee.
A zero denominator, an invalid selected coordinate or an expression of greater ambient dimension shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors stored separately from the receiver shall retain their values. A scalar argument borrowed from still-live receiver storage shall use its entry value. Such a borrowed view may reflect the resulting receiver. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
9. Interval-coefficient affine box image PPL-SPEC-001029 For a valid coordinate k and dimension-compatible Linear_Form<ITV> with nonempty bounded coefficient intervals, affine_form_image shall require a supported native floating boundary profile. It shall enclose every successor obtained from an entry point x by replacing coordinate k with a value of B + ∑iAixi, where the constant B and coefficients Ai are chosen from the supplied form's intervals. Every other coordinate shall retain its entry factor.
The range shall use outward interval arithmetic on the entry box, including the old value of the replaced coordinate wherever it occurs. Neither successive occurrences nor coordinate choices shall create an exactness claim beyond that interval enclosure. The form shall remain unchanged and an empty box shall remain empty. Dimension checks shall occur even for an empty receiver. An exact-arithmetic boundary profile shall not be an admitted instantiation of this floating-boundary interface.
An expression of greater ambient dimension or an invalid selected coordinate shall throw std::invalid_argument before replacement, including on empty input.
The receiver shall retain its ambient dimension; empty input shall remain empty. Const input descriptors shall retain their values. The numerical, initialization, lifetime and synchronization prerequisites in 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Escaping allocation and arithmetic exceptions shall retain their delegated guarantees without a general rollback promise.
-
1. Exact rational affine image PPL-SPEC-001287 affine_image(var, expr, denominator) shall assign the exact image under x’v = e(x) ⁄ d, with all other coordinates unchanged. denominator defaults to one. The entry denominator value shall be used even when borrowed from a receiver-owned congruence or generator. External expression and scalar values shall be preserved. Zero denominator, an invalid target index or excess expression dimension shall throw std::invalid_argument before mutation, including empty receivers.
Bounded-coefficient congruence substitution shall clear the denominator, replace the target coefficient and form complete exact coefficients before admission. Proper constants may be reduced modulo the new positive modulus; all coefficients and that modulus may be divided by their common positive factor. Homogeneous coefficients shall not be reduced modulo a modulus. Numeric generator reductions shall complete each subtraction before admission and shall preserve every integer-parameter period. In a discrete generator system, a common physical factor of every point/parameter coordinate and divisor may be cancelled during elimination and restored afterwards. Such working-scale cancellation shall preserve the previous strong-form storage scale and shall not rescale one lattice direction independently.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
2. Exact rational affine preimage PPL-SPEC-001288 affine_preimage(var, expr, denominator) shall assign exactly the set of x whose image under x’v = e(x) ⁄ d, with other coordinates unchanged, belongs to the entry receiver. denominator defaults to one. It shall use the entry denominator value even when borrowed from receiver-owned descriptions, and preserve external inputs. Zero denominator, invalid target index or excess expression dimension shall throw std::invalid_argument before mutation, including empty receivers.
Bounded-coefficient congruence substitution shall clear the denominator, replace the target coefficient and form complete exact coefficients before admission. Proper constants may be reduced modulo the new positive modulus; all coefficients and that modulus may be divided by their common positive factor. Homogeneous coefficients shall not be reduced modulo a modulus. Numeric generator reductions shall complete each subtraction before admission and shall preserve every integer-parameter period. In a discrete generator system, a common physical factor of every point/parameter coordinate and divisor may be cancelled during elimination and restored afterwards. Such working-scale cancellation shall preserve the previous strong-form storage scale and shall not rescale one lattice direction independently.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
3. Generalized variable affine image PPL-SPEC-001289 For EQUAL, generalized_affine_image(var, relsym, expr, denominator, modulus) shall assign the exact relational image under x’v = e(x) ⁄ d + mk, k ∈ Z, with other coordinates unchanged. Zero modulus shall mean ordinary affine image; either sign of a nonzero modulus shall denote the same period. Defaults are denominator one and modulus zero. Borrowed scalars shall use their entry values. For an ordered inequality and zero modulus, it shall conservatively cylindrify the target. NOT_EQUAL and ordered relations with nonzero modulus are unsupported and shall throw std::invalid_argument before mutation, including on empty receivers. Zero denominator and dimension errors shall likewise be rejected before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
4. Generalized variable affine preimage PPL-SPEC-001290 generalized_affine_preimage(var, relsym, expr, denominator, modulus) shall assign the exact inverse relational image for the EQUAL relation in [LINK: PPL-SPEC-001289]. Defaults, modulus sign, borrowed entry values and rejection scope shall be the same. Ordered inequalities with zero modulus shall conservatively cylindrify the target coordinate of the entry receiver.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Generalized expression affine image PPL-SPEC-001291 For EQUAL, generalized_affine_image(lhs, relsym, rhs, modulus) shall assign the exact image of the relation lhs(x’) − rhs(x) ∈ mZ, where the coordinates with nonzero coefficients in lhs may change simultaneously and all other coordinates are unchanged. Zero modulus means equality and is the default; modulus sign is immaterial. Constant lhs shall constrain the old state without assigning a coordinate. The modulus shall use its entry value even if borrowed. Ordered inequalities with zero modulus shall conservatively cylindrify the assigned coordinates. NOT_EQUAL or an ordered relation with nonzero modulus shall throw std::invalid_argument before mutation, including on empty receivers. Excess expression dimensions shall likewise be rejected before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
6. Generalized expression affine preimage PPL-SPEC-001292 generalized_affine_preimage(lhs, relsym, rhs, modulus) shall assign the exact inverse relational image of EQUAL as defined in [LINK: PPL-SPEC-001291]. Assigned coordinates are those occurring in lhs; all others are shared between old and new states. Default modulus, sign, borrowed entry-value and rejection rules shall be the same. Ordered inequalities with zero modulus shall conservatively cylindrify those coordinates of the entry receiver.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
Incoming link from: 8. Bounded affine preimage abstraction1
7. Bounded affine image abstraction PPL-SPEC-001293 bounded_affine_image(var, lb_expr, ub_expr, denominator) shall return the cylindrification of the entry receiver in var, preserving ambient dimension and its projection on all other coordinates. This is a conservative abstraction of the bounded affine image; it need not detect infeasible bounds or retain equal bounds. The denominator defaults to one. Zero denominator, invalid target or excess dimension of either bound shall throw std::invalid_argument before mutation, including empty.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
8. Bounded affine preimage abstraction PPL-SPEC-001294 bounded_affine_preimage(var, lb_expr, ub_expr, denominator) shall return the cylindrification of the entry receiver in var. It shall preserve dimension and all restrictions among other coordinates, and conservatively contain the concrete bounded-relation preimage. It need not detect infeasible bounds. Default and rejection rules shall be as in 🔗 7. Bounded affine image abstraction.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
1. Rational affine image of one coordinate PPL-SPEC-001206 For an entry shape X ⊆ ℝn , a valid coordinate k , a dimension-compatible integer-coefficient affine expression e and a nonzero coefficient d , affine_image(k,e,d) shall replace the receiver with an octagonal shape containing
{y ∈ ℝn ∣ ∃x ∈ X : yk = e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.With exact rational boundary arithmetic, constant replacement and assignments xk : = sxj + c with s ∈ { − 1, 1} , including signed self translation, shall give the exact image. Other affine expressions may require a conservative octagonal enclosure. Rounded profiles shall keep the delegated outward bounds. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 4. Single-coordinate generalized affine preimage1
2. Rational affine preimage of one coordinate PPL-SPEC-001207 With the coordinate, expression and denominator admitted by 🔗 1. Rational affine image of one coordinate , affine_preimage(k,e,d) shall contain every x ∈ ℝn whose successor, obtained by replacing coordinate k with e(x) ⁄ d , belongs to the entry post-state shape. Expression occurrences of the updated coordinate shall denote its pre-state value.
With exact rational boundary arithmetic, a signed self translation xk : = sxk + c with s ∈ { − 1, 1} shall give the exact preimage. Other transformations shall give sound containing octagons; they need not compute the least octagonal enclosure even when the exact preimage is representable, as specified by WR_Affine_Preimage_Precision in the mathematical interface definitions. In particular, constant and distinct-coordinate assignments need not retain every representable predecessor constraint. Rounded profiles shall retain the selected outward arithmetic guarantees. Invertible transformations shall use the same relational predecessor meaning as noninvertible ones. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
3. Single-coordinate generalized affine image PPL-SPEC-001208 For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_image(k,relsym,e,d) shall contain
{y ∣ ∃x ∈ X : yk ⋈ e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Equality shall have the behavior of 🔗 1. Rational affine image of one coordinate . A one-sided relation shall use the indicated quotient, including the sign of the denominator; it shall not silently turn a lower relation into an upper relation. The result may conservatively approximate the affine relation. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
4. Single-coordinate generalized affine preimage PPL-SPEC-001209 For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_preimage(k,relsym,e,d) shall contain
{x ∣ ∃y ∈ X : yk ⋈ e(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Equality shall have the behavior and class-specific precision of 🔗 2. Rational affine preimage of one coordinate . Other admitted relations may give sound nonleast octagonal enclosures according to the documented preimage approximation contract. The denominator sign shall be respected. The relation shall use the same old/new coordinate frame for self-dependent and non-self-dependent expressions. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 6. Expression-left generalized affine preimage1
5. Expression-left generalized affine image PPL-SPEC-001210 Let l and r be dimension-compatible affine expressions, U the coordinates with nonzero homogeneous coefficient in l , and ⋈ ∈ { = , ≤ , ≥ } . The expression overload of generalized_affine_image(l,relsym,r) shall contain
{y ∣ ∃x ∈ X : l(y) ⋈ r(x) ∧ ∀i ∉ U, yi = xi}.The left expression shall be interpreted in the new state and the right expression in the old state; exchanging them and reversing the relation shall not in general describe the same update. A constant left expression shall be a guard with every coordinate framed. Multiple updated coordinates may lose precision through a sound octagonal enclosure. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; lhs and rhs may denote the same live expression.
For a constant left expression, a representable guard shall be added natively. Other guards shall receive one finite pass over native directions formed from each nonzero coefficient and each representable matching pair, in increasing coordinate order. For a guard expression e ≥ 0 and such a direction d , the finite infimum of the residual d − e shall supply d ≥ inf(d − e) . Equality shall also use its finite supremum to supply d ≤ sup(d − e) . Closure shall propagate earlier deductions before each direction is considered. Residual optimization shall preserve its supported correlations; returned rational bounds shall be inserted directly, without an intermediate scalar-interval conversion. This pass need not reach a fixed point or compute a least abstract intersection. General residuals may require linear programming.
When the homogeneous part of l has two nonzero coefficients and is representable as an octagonal expression up to scaling, the finite entry-state supremum of r shall be retained as an upper bound on the new l for EQUAL and LESS_OR_EQUAL. Its finite infimum shall be retained as a lower bound for EQUAL and GREATER_OR_EQUAL. These bounds shall be computed before forgetting updated coordinates and shall also apply to disjoint left/right supports. Rational boundaries shall retain the exact extrema; other boundary profiles shall retain their native outward guarantees. An unbounded direction shall add no finite bound.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
6. Expression-left generalized affine preimage PPL-SPEC-001211 With l , r , U and ⋈ admitted by 🔗 5. Expression-left generalized affine image , the expression overload of generalized_affine_preimage(l,relsym,r) shall contain
{x ∣ ∃y ∈ X : l(y) ⋈ r(x) ∧ ∀i ∉ U, yi = xi}.A constant left expression shall be a guard with every coordinate framed. Other forms may return sound nonleast octagonal enclosures as specified by the preimage approximation contract. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; the same live expression may supply both lhs and rhs .
For a left expression with at least two nonzero homogeneous coefficients, the finite target-state infimum of l shall supply the necessary guard r ≥ infXl for EQUAL and LESS_OR_EQUAL; the finite supremum shall supply r ≤ supXl for EQUAL and GREATER_OR_EQUAL. These extrema shall be computed before forgetting updated coordinates. The guards shall be refined in the old-state coordinates using the same native native-direction approximation as constant-left images. An unbounded direction shall contribute no finite guard. Existing relational deductions and framed-coordinate constraints shall also be preserved. Rational boundary arithmetic shall use exact extrema; other profiles shall retain their native outward guarantees. These deductions need not give a least preimage enclosure.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
Incoming link from: 8. Single-coordinate bounded affine preimage1
7. Single-coordinate bounded affine image PPL-SPEC-001212 For admitted coordinate k , dimension-compatible expressions l, u and nonzero denominator d , bounded_affine_image(k,l,u,d) shall contain
{y ∣ ∃x ∈ X : l(x) ⁄ d ≤ yk ≤ u(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.Both bounding expressions shall use the same entry state. A negative common denominator shall preserve the displayed quotient inequalities; the lower and upper argument roles shall not be exchanged merely because the denominator is negative. The bounds may depend on the replaced coordinate. The result may conservatively approximate this simultaneous relation. Constraints involving only unchanged coordinates shall remain valid. Both expressions and the denominator shall remain unchanged; lb_expr and ub_expr may refer to the same live expression.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
8. Single-coordinate bounded affine preimage PPL-SPEC-001213 With the coordinate, expressions and denominator admitted by 🔗 7. Single-coordinate bounded affine image , bounded_affine_preimage(k,l,u,d) shall contain
{x ∣ ∃y ∈ X : l(x) ⁄ d ≤ yk ≤ u(x) ⁄ d ∧ ∀i ≠ k, yi = xi}.The two bounds shall be evaluated in the same pre-state, including when one or both contain xk . The result may be a sound nonleast octagonal enclosure under the documented preimage approximation contract. Any auxiliary coordinate used internally shall not remain in a successful result. Constraints involving only unchanged coordinates shall remain valid. Both source expressions and the denominator shall remain unchanged, including shared bound-expression arguments.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
-
1. Native interval-affine image PPL-SPEC-001236 For a supported native floating-point boundary type T, a valid coordinate k and a dimension-compatible Linear_Form<Interval<T,Interval_Info>> with bounded coefficient intervals Ai and bounded constant interval B, affine_form_image(k,lf) shall contain every successor
{y ∣ ∃x ∈ X, b ∈ B, ai ∈ Ai : yk = b + ∑iaixi ∧ ∀j ≠ k, yj = xj}.Coefficient and constant choices shall be independent as specified by 🔗 1. Interval-linear-form meaning and numerical prerequisites . The result shall use outward numerical bounds; interval uncertainty and the restricted octagonal language may lose precision, without a general least-enclosure guarantee. Constraints involving only unchanged coordinates shall remain valid. The source form and its coefficient intervals shall retain their values. An empty coefficient or constant interval shall make the receiver empty.
The selected native format, interval representation, initialized numerical runtime, caller-owned upward FPU environment and arithmetic/resource prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use and 🔗 1. Interval-linear-form meaning and numerical prerequisites shall hold. Bounded intervals shall satisfy their stored-value and endpoint-access prerequisites. Unbounded coefficients are outside this operation's documented admission. Native availability shall follow the corresponding configured supported-format predicate.
The ambient dimension shall remain unchanged. Empty input shall remain empty after validation. An invalid selected coordinate or a form of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible, without an additional rollback guarantee. Callers shall synchronize shared owners and facilities.
-
Incoming link from: 1. Componentwise product image1
1. Lifted powerset image PPL-SPEC-001413 affine_image shall lift the corresponding base image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; the new coordinate shall equal e ⁄ d. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 2. Componentwise product preimage1
2. Lifted powerset preimage PPL-SPEC-001414 affine_preimage shall lift the corresponding base preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; the new coordinate shall equal e ⁄ d. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 3. Componentwise product generalized image1
3. Lifted powerset generalized image PPL-SPEC-001415 generalized_affine_image shall lift the corresponding base generalized image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; v in the result shall satisfy v ⋈ e ⁄ d relative to the unchanged coordinates. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 4. Componentwise product generalized preimage1
4. Lifted powerset generalized preimage PPL-SPEC-001416 generalized_affine_preimage shall lift the corresponding base generalized preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; v in the result shall satisfy v ⋈ e ⁄ d relative to the unchanged coordinates. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 5. Componentwise product bounded image1
5. Lifted powerset bounded image PPL-SPEC-001417 bounded_affine_image shall lift the corresponding base bounded image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; the new coordinate shall satisfy ℓ ⁄ d ≤ v ≤ u ⁄ d using the written rational bounds. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 6. Componentwise product bounded preimage1
6. Lifted powerset bounded preimage PPL-SPEC-001418 bounded_affine_preimage shall lift the corresponding base bounded preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; the new coordinate shall satisfy ℓ ⁄ d ≤ v ≤ u ⁄ d using the written rational bounds. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.
Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 7. Product expression-to-expression affine relations1
7. Lifted expression-to-expression affine relations PPL-SPEC-001419 Expression overloads shall lift the base relation ℓ’ ⋈ r to every disjunct, modifying the coordinates present in the left expression according to the base generalized-affine contract. Image shall collect allowed successors; preimage shall collect source states with an allowed successor in the old receiver. Shared left/right variables shall retain their before/after interpretation. Dimension, relation and topology admission shall follow the base member, with std::invalid_argument for invalid inputs.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
1. Pointset-powerset coordinate growth PPL-SPEC-001420 Embedding shall extend each disjunct with m unconstrained trailing coordinates, denoting S×Rm. Projecting growth shall extend with m zero coordinates, denoting S×{0}m. Empty shall retain empty meaning and acquire the new ambient dimension. Zero growth shall preserve the value. Growth exceeding the structural dimension limit shall throw std::length_error before extent-proportional allocation or dimension arithmetic overflow.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Pointset-powerset projection and coordinate mapping PPL-SPEC-001421 Removal shall existentially project out the selected coordinates of every disjunct and compact remaining indices in order. Higher removal shall retain exactly the requested prefix. Mapping shall use an injective partial map with in-range source dimensions and compact destination range, retaining mapped coordinates and existentially eliminating the others. Empty map shall produce dimension zero. Empty collections shall still acquire the correct result dimension. Invalid removal extents shall throw std::invalid_argument; mapping shall meet 🔗 1. Public partial coordinate-map type and valid use– 🔗 8. Coordinate-map diagnostic printing and output failures and the base map's stated preconditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Pointset-powerset dimension expansion and folding PPL-SPEC-001422 Expansion shall add m independent copies of the selected coordinate's base-domain restrictions using the base expansion operation. Folding shall merge selected coordinates into the retained destination by base folding and remove the folded coordinates. They shall lift per disjunct, update ambient dimension and inherit base soundness and precision. Variables shall be in range, fold destination shall be outside the folded set, and growth shall respect structural limits; invalid variables/sets shall throw std::invalid_argument and excessive growth std::length_error.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
4. Pointset-powerset concatenation PPL-SPEC-001423 Concatenation shall collect base concatenations for every pair of reduced disjuncts in receiver-then-argument coordinate order, representing S×T when base concatenation is exact and otherwise its sound base approximation. Empty input shall give empty in the sum dimension. Self-concatenation shall be supported. The sum dimension shall be range-checked without unsigned wraparound; excessive extent shall throw std::length_error.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Lifted cylindrification PPL-SPEC-001409 unconstrain shall cylindrify each disjunct in the selected coordinates while retaining ambient dimension and mark reduction unknown. The resulting union shall have the base operation's exactness and arithmetic guarantees. An empty variable set shall preserve the value. Out-of-range variables shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
7. Powerset topological closure and time elapse PPL-SPEC-001424 Topological closure shall close every disjunct; for a finite collection of exact base closures the result shall be the exact closure of the union. Time elapse shall collect all pairwise base time-elapse results, denoting the corresponding union of p + tv for admitted states, velocities and t ≥ 0, with the base precision contract. Empty state or velocity collections shall follow the base time-elapse semantics. Dimension-incompatible time operands shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
8. Powerset integer restriction and wrapping PPL-SPEC-001425 Integer restriction shall apply the selected base tightening to each disjunct, preserve all points integral in the selected coordinates and retain a subset of the old union; no optimality shall be promised. Wrapping shall apply the base bounded-integer conversion to every disjunct with the supplied width, representation, overflow mode, optional constraints and precision controls. It shall inherit 🔗 1. Mathematical interpretation of bounded-integer wrapping attributes and base wrapping semantics, including sound overflow behavior and variable/constraint admission. Reduction shall become unknown after either operation.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming link from: 2. Bounded exact coupled constraint projection1
1. Two-coordinate full-rank equality projection PPL-SPEC-001685 try_binary_equality_projection(vars) shall require a valid unmarked receiver with current constraints, no pending generators, at least five ambient dimensions, at most 64 stored rows and a nonempty in-range selection. It shall reject bounded coefficient profiles and selections other than two. Let the selected coordinates in ascending order be x, y.
Scan the logical input rows in order. Select the first equality with a nonzero x coefficient. For this row's selected coefficients a, b, scan subsequent equalities for coefficients c, d with ad − bc ≠ 0, using exact GMP arithmetic. Without such a later row, return false. This opportunistic scan need not find an earlier independent row preceding its selected first pivot.
After this rank test, copy the owned rows and eliminate x with that pivot using 🔗 1. Exact equality-pivot elimination. Choose a remaining equality with nonzero y coefficient, preferring 1 or − 1, and eliminate y with the same kernel. Such a second pivot shall exist. Compact the two coordinates, retaining the other coordinates' order, and swap in a completed same-topology polyhedron. True shall denote the exact projection 🔗 4. Exact polyhedral coordinate deletion, with no increase in logical row count.
False shall preserve all receiver state and allocate no C++ storage. The determinant preflight may allocate GMP temporary storage. Exceptions shall obey 🔗 1. Polyhedral values, coefficient profile and valid use; rejection preservation shall not impose a stronger exceptional-completion guarantee.
-
Incoming link from: 2. Bounded exact coupled constraint projection1
2. Bounded coupled two-coordinate pair projection PPL-SPEC-001686 try_binary_pair_projection(vars) shall require a valid unmarked receiver with current constraints, no pending generators, at least five ambient dimensions, at most 64 stored rows and a nonempty in-range selection. It shall reject bounded coefficient profiles, selections other than two, and any logical equality row. Let x, y be selected in ascending order.
Preflight shall count positive, negative and zero x coefficients. Reject more than 16 positive/negative pairs or more than 64 predicted owned rows. Predict the signs in the next y column: unchanged zero-x rows retain their signs, and a pair ax > 0, bx < 0 has the sign of − byxa + ayxb. These calculations shall use exact GMP arithmetic. Tautological combinations may be counted conservatively. Reject more than 16 predicted second-column pairs or 64 predicted owned rows. Both checks shall precede scratch-row copying. False shall preserve every receiver field and allocate no C++ storage; GMP preflight temporaries are permitted.
For each selected coordinate, retain its zero-coefficient rows. For every pair ax + r▹0 and − bx + s▹0, with a, b > 0 and g = gcd(a, b), emit the positive combination (b ⁄ g)r + (a ⁄ g)s. It shall be strict exactly when either input row is strict. Omit tautologies. The conservative preflight shall bound the actual pair and row counts in both passes. At most 32 pairs shall be generated; each scratch vector shall contain at most 64 logical rows.
Compact the selected coordinates only after their coefficients are zero. True shall replace the receiver with the exact projection 🔗 4. Exact polyhedral coordinate deletion, preserving topology and surviving-coordinate order. Only a completed temporary polyhedron shall be swapped in. Common lifetime, arithmetic and exceptional-completion conditions 🔗 1. Polyhedral values, coefficient profile and valid use shall apply without strengthening them to the false-result guarantee.
-
Incoming link from: 2. Bounded exact coupled constraint projection1
3. Exact one-dimensional continuous LP projection PPL-SPEC-001687 try_interval_projection(vars) shall require a valid unmarked receiver with current constraints, no pending generators and a nonempty in-range selection. It shall reject bounded coefficient profiles, ambient dimensions outside 10 through 16, selections leaving other than one coordinate, descriptions with fewer than twice the ambient dimension or more than 64 stored rows, and descriptions with any logical equality or strict inequality. These rejections shall preserve all receiver state and allocate no C++ storage. The dispatch in 🔗 2. Bounded exact coupled constraint projection shall invoke it only for necessarily closed receivers; its weak-row computation shall preserve the supplied receiver's topology.
Find the sole surviving original coordinate and construct one continuous MIP_Problem from the original constraint system, with that coordinate as the minimization objective. Select PRICING_TEXTBOOK before solving, so pricing shall use coefficient arithmetic rather than floating-point weights. Do not designate integer coordinates or introduce auxiliary ones.
An infeasible lower solve shall replace the receiver with a same-topology empty polyhedron of dimension one. Otherwise retain a finite exact lower value p ⁄ q as qv ≥ p, and omit an unbounded lower bound. Change the same model to maximization, reusing its feasible state and basis. Its result shall remain feasible. Retain a finite upper value r ⁄ s as sv ≤ r, and omit an unbounded upper bound. Denominators shall be positive. Both finite endpoints shall be included. The completed interval shall be the exact real projection 🔗 4. Exact polyhedral coordinate deletion.
Only a completed same-topology result shall be swapped into the receiver. The dimension, initialization, synchronization, resource and failure conditions of 🔗 1. Polyhedral values, coefficient profile and valid use and the continuous incremental MIP model shall apply. Exceptions shall not strengthen the common guarantees to the false-result preservation guarantee.
-
Incoming links from: 3. Polyhedral variable-update relational image 4. Polyhedral variable-update relational preimage2
1. Exact rational polyhedral image PPL-SPEC-001346 The result shall be exactly {F(x) ∣ x ∈ P} for the entry receiver P, where F(x)v = e(x) ⁄ d and F(x)i = xi for i ≠ v. The denominator shall default to one and its entry value shall be used even when borrowed from receiver-owned constraints or generators. External expressions and scalars shall preserve their values. Zero denominator, invalid target index or excess expression dimension shall throw std::invalid_argument before mutation, including empty receivers. Singular and constant transformations shall retain the same exactness guarantee; NNC boundary membership shall be preserved.
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. Exact rational polyhedral preimage PPL-SPEC-001347 The result shall be exactly {x ∣ F(x) ∈ P} for the entry receiver P, where F(x)v = e(x) ⁄ d and F(x)i = xi for i ≠ v. The denominator shall default to one and its entry value shall be used even when borrowed from receiver-owned constraints or generators. External expressions and scalars shall preserve their values. Zero denominator, invalid target index or excess expression dimension shall throw std::invalid_argument before mutation, including empty receivers. Singular and constant transformations shall retain the same exactness guarantee; NNC boundary membership shall be preserved.
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.
-
3. Polyhedral variable-update relational image PPL-SPEC-001348 The result shall be exactly the set of new states x’ related to some entry state x. The relation shall be x’v ⋈ e(x) ⁄ d with other coordinates unchanged. EQUAL, LESS_OR_EQUAL and GREATER_OR_EQUAL shall be supported; NNC receivers shall also support LESS_THAN and GREATER_THAN. Disequality, strict relations on closed receivers, zero denominator, invalid target or excess expression dimension shall throw std::invalid_argument before mutation. Denominator default, entry-value borrowing and external-source preservation shall follow 🔗 1. Exact rational polyhedral image.
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.
-
4. Polyhedral variable-update relational preimage PPL-SPEC-001349 The result shall be exactly the set of old states x having a related state x’ in the entry receiver. The relation shall be x’v ⋈ e(x) ⁄ d with other coordinates unchanged. EQUAL, LESS_OR_EQUAL and GREATER_OR_EQUAL shall be supported; NNC receivers shall also support LESS_THAN and GREATER_THAN. Disequality, strict relations on closed receivers, zero denominator, invalid target or excess expression dimension shall throw std::invalid_argument before mutation. Denominator default, entry-value borrowing and external-source preservation shall follow 🔗 1. Exact rational polyhedral image.
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.
-
5. Polyhedral expression-update relational image PPL-SPEC-001350 The result shall be the exact image of the entry receiver under the relation lhs(x’) ⋈ rhs(x), with every coordinate whose coefficient in lhs is zero unchanged between states. Coordinates occurring in lhs shall be updated jointly, including shared variables with rhs. An identically constant lhs shall impose a filter on the old state. Admitted and rejected relation symbols shall follow 🔗 3. Polyhedral variable-update relational image. Excess dimension in either expression shall throw std::invalid_argument. External expressions shall preserve their values.
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.
-
6. Polyhedral expression-update relational preimage PPL-SPEC-001351 The result shall be the exact preimage of the entry receiver under the relation lhs(x’) ⋈ rhs(x), with every coordinate whose coefficient in lhs is zero unchanged between states. Coordinates occurring in lhs shall be updated jointly, including shared variables with rhs. An identically constant lhs shall impose a filter on the old state. Admitted and rejected relation symbols shall follow 🔗 3. Polyhedral variable-update relational image. Excess dimension in either expression shall throw std::invalid_argument. External expressions shall preserve their values.
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.
-
7. Exact bounded polyhedral affine image PPL-SPEC-001352 The result shall be exactly the image under ℓ(x) ⁄ d ≤ x’v ≤ u(x) ⁄ d, with all other coordinates unchanged. Both bounds shall use the same old-state values, including when either bound mentions the target. An impossible lower/upper pair shall admit no transition. Negative denominators shall divide the two expressions as written, without silently exchanging their lower/upper roles. The denominator shall default to one and retain its entry value when borrowed from receiver-owned descriptions. Zero denominator, invalid target or excess bound-expression dimension shall throw std::invalid_argument before mutation. External inputs shall preserve their values; NNC input boundary membership shall be retained.
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.
-
8. Exact bounded polyhedral affine preimage PPL-SPEC-001353 The result shall be exactly the preimage under ℓ(x) ⁄ d ≤ x’v ≤ u(x) ⁄ d, with all other coordinates unchanged. Both bounds shall use the same old-state values, including when either bound mentions the target. An impossible lower/upper pair shall admit no transition. Negative denominators shall divide the two expressions as written, without silently exchanging their lower/upper roles. The denominator shall default to one and retain its entry value when borrowed from receiver-owned descriptions. Zero denominator, invalid target or excess bound-expression dimension shall throw std::invalid_argument before mutation. External inputs shall preserve their values; NNC input boundary membership shall be retained.
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.
-
Incoming link from: 4. Exact polyhedral coordinate deletion1
1. Bounded exact projection from current constraints PPL-SPEC-001679 For an unmarked receiver with current constraints and no pending generators, try_constraint_projection(vars) shall attempt the exact real-coordinate projection specified by 🔗 4. Exact polyhedral coordinate deletion. The selection shall be nonempty and in range. Surviving coordinates shall retain their relative order, and the receiver's closed or NNC topology shall be preserved.
The attempt shall reject dimensions below five or descriptions containing more than 64 stored rows. For a selected coordinate, an equality with a nonzero coefficient or inequalities of both coefficient signs shall reject the one-sided path. Otherwise every row involving any selected coordinate shall be discarded, and all other rows shall be retained with compacted coordinates. Strict inequalities shall retain their membership meaning. This path shall be available for every supported coefficient profile.
For GMP coefficients, algebraic elimination shall additionally be attempted. If more than one coordinate is selected, each input row shall mention at most one selected coordinate, or the bounded coupled planner in 🔗 2. Bounded exact coupled constraint projection shall be attempted instead. This independence restriction shall not apply to the one-sided path. Prefer a pivot whose coefficient is 1 or − 1. For an equality E = ax + r = 0 and another row C = bx + s▹0, with b ≠ 0 and g = gcd(|a|, |b|), replace that row by (|a| ⁄ g)C − sgn(a)(b ⁄ g)E▹0. The shared equality kernel 🔗 1. Exact equality-pivot elimination shall implement this substitution. The original relation kind shall be preserved. Rows independent of the pivot shall be transferred unchanged and tautological results omitted. Each eliminated equality shall reduce the predicted stored-row bound by one; one-sided elimination shall subtract the number of rows involving that coordinate. A predicted count above 64 shall reject the attempt before scratch copying. Bounded-coefficient profiles shall retain only the one-sided path, adding no elimination products to their admitted range.
For GMP coefficients, a selected coordinate without an equality pivot may also have both coefficient signs. At most 16 positive/negative pairs per coordinate and a predicted stored-row bound of 64 shall be admitted. For ax + r▹0 and − bx + s▹0, with a, b > 0 and g = gcd(a, b), emit the cancelled positive combination (b ⁄ g)r + (a ⁄ g)s▹0. It shall be strict exactly when either input is strict. Rows with zero coefficient shall be retained, and tautological combinations omitted. The predicted row count for a coordinate without an equality shall replace its positive and negative rows by their pair count. These counts shall be checked before copying or coefficient algebra. Independence of selected coordinates makes the counts stable across elimination and bounds the total emitted pair count by 64. Bounded-coefficient profiles shall retain only the one-sided path.
A false result shall preserve all receiver state, including materialized caches. Rejection shall precede scratch-row copying and coefficient algebra. A true result shall replace the receiver with the completed exact projection; no particular minimal representation is required. Temporary rows and cancellation factors shall own their storage, and only a completed temporary polyhedron shall be swapped into the receiver. The local row-emission closure shall compact rows only after their selected coefficients are zero, preserve relation kind and topology, and transfer the compacted rows to the output system.
The lifetime, synchronization, coefficient-profile and failure conditions of 🔗 1. Polyhedral values, coefficient profile and valid use shall apply. Common failure guarantees shall not be strengthened by the boolean rejection guarantee: arithmetic and resource exceptions remain subject to that common contract.
-
1. Exact polyhedral cylindrification PPL-SPEC-001345 Cylindrification shall forget restrictions on the selected coordinates while preserving exactly the projection onto all other coordinates. Ambient dimension shall be retained. Empty shall remain empty, and an empty coordinate selection shall be a no-op. Coordinates outside the receiver shall throw std::invalid_argument before mutation.
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. Polyhedral coordinate growth PPL-SPEC-001354 Adding m coordinates shall append them after the old coordinates. add_space_dimensions_and_embed(m) shall form the Cartesian product with Rm; add_space_dimensions_and_project(m) shall append exactly m zero coordinates. Empty shall remain empty in the enlarged dimension. Zero growth shall be a no-op. Exceeding the selected topology's structural dimension limit shall throw std::length_error before extent-dependent allocation; unsigned dimension arithmetic shall not wrap.
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.
-
3. Exact polyhedral Cartesian concatenation PPL-SPEC-001355 Concatenation shall assign the exact Cartesian product of the entry receiver and operand, with receiver coordinates followed by operand coordinates. The resulting dimension shall be the sum. Empty shall be absorbing; zero-dimensional universe shall be an identity. Self-concatenation shall use independent copies of the entry value. Incompatible topologies shall throw std::invalid_argument and excessive combined dimension std::length_error before extent-dependent allocation. A distinct operand shall preserve 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.
-
4. Exact polyhedral coordinate deletion PPL-SPEC-001356 Coordinate deletion shall existentially project away exactly the selected coordinates and pack surviving coordinates in their previous relative order. Removing higher dimensions shall retain the prefix of the requested length. Empty shall remain empty in the resulting dimension. Projection of nonempty onto no coordinates shall be zero-dimensional universe. Empty selection or an unchanged prefix length shall preserve the value. An invalid selection or a requested prefix longer than the receiver shall throw std::invalid_argument before mutation.
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.
-
5. Exact partial coordinate mapping of polyhedra PPL-SPEC-001357 For an admitted partial mapping from old coordinate indices to a dense set {0, …, m − 1}, the operation shall delete unmapped coordinates and rename the remaining ones exactly. The mapping shall be injective on its domain and m ≤ n; an equal-size map shall therefore be a permutation. The mapping object shall implement has_empty_codomain(), max_in_codomain() and maps(i,j) with the entry mapping's consistent answers. Empty codomain shall project onto zero dimensions. The maximum shall be requested at most once and maps at most once per old coordinate. Mappings violating these prerequisites shall have no result guarantee; a defensive invalid-argument check shall not make every malformed map admitted.
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.
-
6. Polyhedral coordinate expansion PPL-SPEC-001358 Expansion of coordinate v by m shall append m coordinates, each an independent copy of v conditional on the other old coordinates. Writing an old state as (z, xv), the result shall consist exactly of states (z, xv, t1, …, tm) for which (z, xv) ∈ P and each (z, ti) ∈ P. The copies need not equal one another. Invalid v shall throw std::invalid_argument and excessive dimension growth std::length_error. Zero expansion shall preserve the 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.
-
7. Polyhedral coordinate folding PPL-SPEC-001359 Folding coordinates in vars into dest shall take the least polyhedron of the receiver's topology containing the union of the projections that place either the old destination or one folded coordinate at the surviving destination position, and then delete the folded coordinates. Remaining coordinates shall retain relative order. dest shall be a valid coordinate outside vars; all selected coordinates shall be valid, otherwise std::invalid_argument shall be thrown. Empty selection shall be a no-op.
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.
-
1. Exact equality-pivot elimination PPL-SPEC-001683 With GMP coefficients, project_constraint_equality(rows, v, pivot) shall require owned valid rows of one ambient dimension, an in-range pivot index, an equality at that index and a nonzero pivot coefficient of v. For the pivot E = ax + r = 0 and another row C = bx + s▹0, a nonzero b shall be cancelled by (|a| ⁄ g)C − sgn(a)(b ⁄ g)E, where g = gcd(|a|, |b|). The relation kind shall be retained. Rows with zero coefficient shall be transferred unchanged; tautological results shall be omitted. The pivot shall be removed, every remaining coefficient of v shall be zero, and the result shall represent the exact existential elimination of that coordinate. Row count shall not increase.
The row vector shall retain its ambient coordinate numbering; physical coordinate compaction belongs to its caller. Temporaries shall own their data. Exceptions shall obey 🔗 1. Polyhedral values, coefficient profile and valid use without a rollback guarantee for this scratch vector. The receiver shall not be modified by scratch-vector failures before the caller's completed-result replacement.
-
2. Bounded exact coupled constraint projection PPL-SPEC-001684 try_coupled_equality_projection(vars) shall require an unmarked receiver with current constraints, no pending generators, ambient dimension at least five, at most 64 stored rows and a nonempty in-range selection. It shall attempt the exact projection 🔗 4. Exact polyhedral coordinate deletion, preserving topology and relative coordinate order. With bounded coefficients it shall reject. With GMP coefficients, selections above four coordinates shall delegate to 🔗 3. Exact one-dimensional continuous LP projection only for necessarily closed receivers, returning its result; other such selections shall reject.
For each equality record the support on selected coordinates in bounded stack metadata. Repeatedly select an equality whose support on remaining selected coordinates is exactly one coordinate, record that coordinate, and remove it from the remaining set. When peeling stops, inspect remaining selected coordinates in ascending order. If an equality has nonzero support on the coordinate being inspected, delegate to 🔗 1. Two-coordinate full-rank equality projection and return its result. Otherwise opposite signs shall delegate to 🔗 2. Bounded coupled two-coordinate pair projection and return its result. The structural planner itself uses only support/sign queries; the delegated preflights may use exact coefficient algebra. Absent selected columns shall impose no restriction.
After an admissible plan is found, copy the owned rows. For each planned coordinate choose an equality with nonzero coefficient and zero coefficients on all later planned and residual selected coordinates, preferring coefficient 1 or − 1, and apply 🔗 1. Exact equality-pivot elimination. Such a pivot shall exist. After substitution discard rows involving any residual selected coordinate. Compact the retained rows, preserve their relations, and replace the receiver only by swapping in a completed same-topology polyhedron. On this structural equality/one-sided path, at most four substitution passes shall occur and row count shall not exceed its input bound. Delegated paths shall obey their respective contracts and work bounds. A false result shall preserve every receiver field and shall allocate no C++ storage. The delegated rank and sign preflights may perform GMP coefficient algebra before returning false. Exceptions shall obey 🔗 1. Polyhedral values, coefficient profile and valid use, without strengthening its guarantees to the false-result preservation guarantee.
-
2. Sound polyhedral image of interval linear forms PPL-SPEC-001377 For an admitted nonempty receiver and a linear form with bounded interval coefficients in a supported floating-point format, affine-form image shall contain every target state produced by an admitted coefficient instantiation, with other coordinates unchanged in the concrete transition. The result may conservatively lose correlations. It shall preserve dimension and topology. Invalid target or excess form dimension shall throw std::invalid_argument. If the form or normalization overflows the analysis range, returning universe shall be permitted. External forms shall preserve their values. Arithmetic and rounding prerequisites of the selected interval and floating-expression profiles shall apply.
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.
-
1. Componentwise product image PPL-SPEC-001452 affine_image shall apply the base transfer relation described in 🔗 1. Lifted powerset image to both components and mark reduction unknown. The resulting intersection shall soundly contain the image of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Componentwise product preimage PPL-SPEC-001453 affine_preimage shall apply the base transfer relation described in 🔗 2. Lifted powerset preimage to both components and mark reduction unknown. The resulting intersection shall soundly contain the preimage of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Componentwise product generalized image PPL-SPEC-001454 generalized_affine_image shall apply the base transfer relation described in 🔗 3. Lifted powerset generalized image to both components and mark reduction unknown. The resulting intersection shall soundly contain the generalized image of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
4. Componentwise product generalized preimage PPL-SPEC-001455 generalized_affine_preimage shall apply the base transfer relation described in 🔗 4. Lifted powerset generalized preimage to both components and mark reduction unknown. The resulting intersection shall soundly contain the generalized preimage of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
5. Componentwise product bounded image PPL-SPEC-001456 bounded_affine_image shall apply the base transfer relation described in 🔗 5. Lifted powerset bounded image to both components and mark reduction unknown. The resulting intersection shall soundly contain the bounded image of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
6. Componentwise product bounded preimage PPL-SPEC-001457 bounded_affine_preimage shall apply the base transfer relation described in 🔗 6. Lifted powerset bounded preimage to both components and mark reduction unknown. The resulting intersection shall soundly contain the bounded preimage of the old product intersection. Component transfer exactness alone shall not promise exactness of the product relation, because independently witnessed outcomes can lose cross-component correlation.
Both components shall use the same nonzero denominator value supplied at entry, even when it is borrowed from either component's constraints, generators, divisor or inhomogeneous term. The first component mutation shall not change what denominator is passed to the second. Component dimension, relation-symbol and topology admission shall apply, including the stated std::invalid_argument conditions.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
7. Product expression-to-expression affine relations PPL-SPEC-001458 Expression overloads shall apply the base generalized relation in 🔗 7. Lifted expression-to-expression affine relations to each component and mark reduction unknown. The resulting intersection shall soundly contain the corresponding image or preimage of the old product intersection, with no extra precision claim based only on component exactness. Overlapping expression supports, admissible relation symbols, dimensions and topology shall follow both component contracts.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
1. Product coordinate operations PPL-SPEC-001459 Coordinate members shall perform the corresponding base operation on both components with identical indices, counts and maps. Growth shall add free coordinates for embedding and zero coordinates for projecting growth. Removal and mapping shall existentially eliminate omitted coordinates and compact or permute retained coordinates. Expansion and folding shall use the base independent-copy and merge semantics. Cylindrification shall reduce first and free selected coordinates without changing dimension. Results shall soundly contain the corresponding transformation of the old intersection; exact base projections alone shall not establish exact product projection. Both components shall retain equal ambient dimension on successful return. Variable/map admission and structural dimension limits shall follow both base contracts.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Product concatenation PPL-SPEC-001460 Concatenation shall concatenate corresponding components in receiver- then-argument coordinate order. The resulting common dimension shall be the sum, subject to both structural limits. With exact component concatenation the intersection shall represent the exact Cartesian product of the input product sets, because the coordinate blocks are independent. Self-concatenation shall be supported. Lazy reduction state shall be retained only when both operands are already marked reduced; component limit errors may propagate without rollback.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
5. Product closure and time elapse PPL-SPEC-001461 Closure shall apply each component's closure. Time elapse shall reduce both products, then time-elapse corresponding component pairs. The resulting intersection shall soundly contain the respective closure or time-elapse set of the original product. Component exactness shall not imply concrete product exactness, since closure or existential elapsed-time witnesses need not commute with intersection. Common ambient dimension and base arithmetic/admission conditions shall apply.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
6. Product integer-coordinate tightening PPL-SPEC-001462 Integer tightening shall reduce first, apply the corresponding base restriction to both components and mark reduction unknown. The result shall lie within the old product and retain every old point integral in all selected coordinates. The overload without a variable set shall select all coordinates. The complexity argument shall limit the base algorithms used; no optimal integer hull or complete integer-feasibility decision shall be promised.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide its supported pointset time-elapse operations with a defined domain-specific progression semantics. Under the arithmetic preconditions, a completed result shall contain every state generated by that semantics: nonnegative real-time multiples for ordinary polyhedral time elapse and integer multiples for grid time elapse. Any positive-time variant shall distinguish strictly positive time from the ordinary variant, and exactness or least-domain-enclosure guarantees shall be stated for the supported operation.
-
1. Bounded-difference time evolution by nonnegative rates PPL-SPEC-001128 Let X be the receiver's entry set and Y the rate argument's entry set, of the same ambient dimension n. time_elapse_assign shall replace the receiver by the least bounded-difference enclosure in the selected target profile of
E(X, Y) = {p + λq ∣ p ∈ X, q ∈ Y, λ ≥ 0}.The abstraction and outward profile conversion shall have the meaning and arithmetic prerequisites of 🔗 2. Complexity-sensitive bounded-difference conversion from polyhedra. The carrier shall remain real even when the stored bounds are integers. A nonempty zero-dimensional pair shall remain the nonempty zero-dimensional value. Either empty operand shall make the result empty: a rate witness is required even at zero elapsed time. These meanings shall not depend on whether emptiness was already classified.
For nonempty operands under exact rational arithmetic, each unary or difference normal v shall retain the entry support supp ∈ Xv⋅p precisely when supq ∈ Yv⋅q ≤ 0; a positive or unbounded rate support shall make that result direction unbounded. Already unbounded state supports shall remain unbounded. Different coordinates shall share the same elapsed time; their correlations may be lost only by the stated bounded-difference abstraction.
Self-aliasing shall use both entry values. A distinct rate shape shall remain unchanged. Unequal operand dimensions shall throw std::invalid_argument before changing the represented receiver or rate value.
The rate argument shall remain live and valid. A distinct rate argument shall preserve its represented value, and result storage shall remain independent of its lifetime.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general receiver rollback guarantee shall be inferred.
-
2. Least box enclosure of nonnegative real-time progression PPL-SPEC-001039 For the receiver's entry set X and the argument's entry set Y of the same ambient dimension, time_elapse_assign(y) shall replace the receiver by the least box of its admitted interval profile containing
{x + ty ∣ x ∈ X, y ∈ Y, t ∈ ℝ, t ≥ 0}.The progression parameter shall be one common nonnegative real number for all coordinates. The result shall be the Cartesian enclosure of this progression set; it need not preserve relationships induced by the common time. Where the interval profile can express the exact coordinate ranges, the enclosure shall be exact as a box. Zero time shall preserve every entry receiver point when the direction set is nonempty. If either entry set is empty, the result shall be empty, including in dimension zero. Finite extremal values retained from the receiver shall retain their inclusion or exclusion, and unbounded progression shall be represented as an unbounded coordinate direction.
The ambient dimension shall remain unchanged. A distinct y shall retain its set and dimension; self-aliasing shall use both entry sets. Unequal ambient dimensions shall throw std::invalid_argument before modifying the receiver, including when either operand is empty.
The validity, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Delegated interval operations shall retain their scalar range, resource, shared-temporary and caller-owned FPU prerequisites. These operations shall impose no additional library initialization on otherwise valid calls. Dimension-error reporting shall retain the context required by 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization. Numerical or allocation exceptions may leave a partly updated receiver; no aggregate rollback shall be inferred.
-
1. Integer-time-elapse grid abstraction PPL-SPEC-001303 time_elapse_assign(y) shall assign the least grid containing {p + μq ∣ p ∈ X, q ∈ Y, μ ∈ Z}. The multiplier is integer time, including negative integers. Either empty operand shall yield empty. The distinct operand value and receiver dimension shall be preserved. Unequal dimensions shall throw std::invalid_argument before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
1. Octagonal time evolution by nonnegative rates PPL-SPEC-001222 Let X be the receiver's entry set and Y the rate argument's entry set, of the same ambient dimension n. time_elapse_assign shall replace the receiver by the least octagonal enclosure in the selected target profile of
E(X, Y) = {p + λq ∣ p ∈ X, q ∈ Y, λ ≥ 0}.The abstraction and outward profile conversion shall have the meaning and arithmetic prerequisites of 🔗 2. Complexity-sensitive octagonal conversion from polyhedra for ANY_COMPLEXITY. Primitive bounds shall follow the signed supports and unary doubling of 🔗 1. Closed octagonal support hull of geometric generators. The carrier shall remain real even when the stored bounds are integers. A nonempty zero-dimensional pair shall remain the nonempty zero-dimensional value. Either empty operand shall make the result empty: a rate witness is required even at zero elapsed time. These meanings shall not depend on whether emptiness was already classified.
For nonempty operands under exact rational arithmetic, each signed normal v ∈ {±2ei, ±ei±ej (i < j)} with finite entry support supp ∈ Xv⋅p shall retain that bound precisely when supq ∈ Yv⋅q ≤ 0; a positive or unbounded rate support shall make that result direction unbounded. Already unbounded state supports shall remain unbounded. Different coordinates shall share the same elapsed time; their correlations may be lost only by the stated octagonal abstraction.
Self-aliasing shall use both entry values. A distinct rate shape shall remain unchanged. Unequal operand dimensions shall throw std::invalid_argument before changing the represented receiver or rate value.
The rate argument shall remain live and valid. A distinct rate argument shall preserve its represented value, and result storage shall remain independent of its lifetime.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership and remain safely destructible. No general receiver rollback guarantee shall be inferred.
-
Incoming link from: 4. C generated domain transformations1
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.
-
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.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide abstract set-difference operations for its documented supported pointset domains. Under their arithmetic preconditions, a completed result shall contain every point in the first operand that is absent from the second; exactness or least-domain-enclosure guarantees shall be defined per domain rather than assuming that every result is the set-theoretic difference.
-
11. Least closed bounded-difference abstraction of subtraction PPL-SPEC-001100 difference_assign(y) shall replace the receiver by the least target-profile bounded-difference enclosure of the set of entry points absent from y. In an unbounded exact rational profile this shall be the least closed bounded-difference hull of the concrete difference. A finite normal supremum shall use the least admitted outward target bound.
The result may retain removed boundary points or fill a gap between surviving components, as required by closure and convex template abstraction. Removing an equality or a boundary shall not be interpreted as removing its closed convex limit points. If the concrete difference is empty, the result shall be empty; self-subtraction shall therefore be empty.
Dimensions shall agree; mismatch shall throw std::invalid_argument before changing either represented set. Empty/universe and zero-dimensional operands shall obey the same subtraction-and-enclosure meaning. A distinct source shall preserve its represented set, and result ownership shall be independent of its lifetime.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
7. Same-profile abstract box difference PPL-SPEC-000979 For same-profile boxes of equal ambient dimension, difference_assign(y) shall replace the receiver by the least box of that profile containing the set-theoretic difference of the two entry values. It may retain removed points when the difference is not itself representable as a box. With exact rational endpoints and supported openness this shall be the Cartesian interval hull of the exact difference.
Empty subtraction, subtraction from empty, self-subtraction, coverage and zero-dimensional cases shall follow their set meanings. Removal of a boundary shall preserve the remaining endpoint's required openness where representable. A difference split into separate pieces shall use their least same-profile enclosure. A distinct donor shall retain its represented value, self-aliasing shall be admitted and ambient dimension shall remain. Dimension mismatch shall throw std::invalid_argument before replacement.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
4. Least-grid abstraction of set difference PPL-SPEC-001284 difference_assign(y) shall assign the least rational grid containing X⧵Y. Removing a superset shall yield empty; removing disjoint or empty shall preserve X. When the difference is the other coset of an index-two subgroup, that coset shall be retained exactly. In other cases the least grid may be the whole entry receiver. The operand shall retain its value. Unequal dimensions shall throw std::invalid_argument before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Least closed octagonal abstraction of subtraction PPL-SPEC-001175 difference_assign(y) shall replace the receiver by the least closed target-profile octagonal enclosure of the concrete real difference X⧵Y of the entry sets. It shall retain every point of X absent from Y. Its precision shall concern the whole relational sets.
For each encoded octagonal normal, the result shall impose the strongest bound expressible in the target profile that is valid on the concrete difference. Finite support suprema shall be computed with their exact boundary meaning before outward target rounding, including doubled unary bounds. Closing a strict complement may retain boundary points removed by subtraction, and a convex enclosure may fill a gap between surviving pieces. For example, removing x0 + x1 = 0 from 0 ≤ x0 + x1 ≤ 2 shall leave the same closed octagonal enclosure. The result shall not be required to be disjoint from Y.
Self-subtraction and subtraction of universe shall give empty. Subtraction of empty shall preserve the entry set. An empty receiver shall remain empty.
The operands shall have equal ambient dimensions; a mismatch shall throw std::invalid_argument before changing either represented set. Empty, universe, lower-dimensional and zero-dimensional values shall be admitted. Self-aliasing shall use the entry value for both operands. A distinct y shall preserve its entry represented set on normal return. Logically const normalization may change caches without changing the source set. The receiver shall own its result independently of a distinct source's later mutation or destruction.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
6. Polyhedral enclosure of set difference PPL-SPEC-001343 Difference assignment shall return the smallest polyhedron of the receiver's topology containing the set-theoretic difference of the entry receiver and operand. The closed variant shall close the convex polyhedral difference where needed. It shall not claim that the result excludes every operand point. Empty difference shall return empty. difference_assign shall be equivalent to poly_difference_assign. Dimension/topology mismatch shall throw std::invalid_argument; a distinct operand shall preserve 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.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide topological-closure operations for its supported real pointset domains. Under their arithmetic preconditions, completed results shall contain the exact topological closure of the input. For primitive domains whose admitted representation can express that closure, the result shall be exact; compound-domain closure shall retain its stated precision and shall not inherit exactness solely from exact component closures.
-
5. Topological closure identity for bounded-difference values PPL-SPEC-001132 topological_closure_assign shall preserve the represented set and ambient dimension of every valid bounded-difference value. These values are already topologically closed under 🔗 1. Bounded-difference values, numerical profiles and valid use, including lower-dimensional sets, unbounded sets, universe and empty values in every supported dimension. The operation shall not be interpreted as a demand to run graph shortest-path closure or to change a graph-normalization cache.
An unclassified inconsistent representation shall continue to denote empty; forcing an emptiness query shall not be a precondition for this identity. Storage ownership and validity shall be preserved. No additional numerical rounding setup or library initialization beyond the valid object's existing context shall be required; the caller's FPU rounding direction shall remain unchanged.
-
1. Exact topological closure of boxes PPL-SPEC-001038 topological_closure_assign() shall replace the receiver by its exact topological closure over the ordinary real carrier. It shall include each finite boundary point of a nonempty factor while preserving that boundary's value and retaining unbounded directions. Empty, including a product with an unclassified empty factor, shall remain empty. The ambient dimension shall remain unchanged. The operation shall be idempotent and shall preserve an already closed box. A closed-only interval profile shall not introduce a distinct value merely because no openness bits are stored.
Finite endpoint closure and policy admission shall follow 🔗 5. Interval closure and endpoint exclusion; closing factors shall not turn an empty product into a nonempty one.
The validity, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Delegated interval operations shall retain their scalar range, resource, shared-temporary and caller-owned FPU prerequisites. These operations shall impose no additional library initialization on otherwise valid calls. Exceptions escaping a delegated interval operation may leave a partly updated receiver; no aggregate rollback shall be inferred.
-
4. Grid topological closure PPL-SPEC-001306 topological_closure_assign() shall preserve the receiver's mathematical value and ambient dimension. Every represented rational grid, including empty, is closed in its ambient real topology.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
5. Topological closure identity for octagonal values PPL-SPEC-001226 topological_closure_assign shall preserve the represented set and ambient dimension of every valid octagonal value. These values are already topologically closed under 🔗 1. Octagonal values, numerical profiles and valid use, including lower-dimensional sets, unbounded sets, universe and empty values in every supported dimension. The operation shall preserve the owned representation and cache state. It shall not run strong closure, tight integer closure, allocation or numerical arithmetic, nor invoke cooperative-abandonment callbacks.
An unclassified inconsistent representation shall continue to denote empty; forcing an emptiness query shall not be a precondition for this identity. Storage ownership and validity shall be preserved. No additional numerical rounding setup or library initialization beyond the valid object's existing context shall be required; the caller's FPU rounding direction shall remain unchanged.
-
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.
-
Incoming link from: 3. Owned polyhedron copying, assignment and exchange1
7. Closed and NNC value conversion PPL-SPEC-001322 Conversion or assignment from closed to NNC shall preserve the represented set and dimension exactly. Conversion or assignment from NNC to closed shall produce the exact topological closure, including empty and lower-dimensional sets. The complexity argument shall not reduce this precision. Sources shall retain their values; successful assignment shall return its receiver by reference. Changing topology shall occur through the selected value type's conversion, without exposing a receiver with the wrong topology.
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.
-
8. Polyhedron conversion from boxes PPL-SPEC-001323 Box conversion shall preserve dimension and source value. NNC conversion shall represent the source box exactly, including open endpoints; closed conversion shall represent its exact topological closure. Infinite endpoints shall impose no finite bound. The complexity argument shall not affect the result. Structural dimension overflow shall throw std::length_error.
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. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide its supported context-based simplification operations. Under their arithmetic preconditions, simplification shall preserve the intersection of the input set with the supplied context and satisfy the domain's stated simplification guarantee. Preservation inside the context shall not be presented as preservation or enlargement of the whole input outside that context unless the operation also guarantees it.
-
12. Meet-preserving simplification in a context PPL-SPEC-001101 simplify_using_context_assign(y) shall return a bounded-difference simplification R of the entry receiver X using the entry context Y, satisfying
X ⊆ R, R∩Y = X∩Y.The cardinality of a minimized constraint representation of R shall not exceed that of X. Identity shall be an admitted result; a strict enlargement or decrease in constraints shall not be required on every call. The Boolean result shall satisfy: false implies the entry intersection is empty. A true result may be inconclusive about nonemptiness.
The context shall preserve its entry represented set when it is distinct from the receiver. Self-aliasing shall obey the same meet-preservation and enlargement clauses using the entry value for both operands. Empty receivers, empty contexts, universe, lower-dimensional and zero-dimensional sets shall be admitted.
Dimensions shall agree; mismatch shall throw std::invalid_argument before changing either represented set. Result storage shall remain independent of a distinct context's later lifetime or mutation. Representation-only normalization shall preserve the mathematical entry values.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
8. Context-preserving box simplification PPL-SPEC-000980 For same-profile boxes of equal ambient dimension, let X and Y be the receiver and context entry sets. simplify_using_context_assign(y) shall produce a box X’ with X ⊆ X’ and X’∩Y = X∩Y, keeping ambient dimension. The operation may discard bounds made redundant by the context. It shall not promise a unique or maximally enlarged result.
A false return shall establish X∩Y = ⌀; a true return shall retain the intersection-preservation guarantee without an additional exact nonemptiness claim. Empty contexts and receivers and zero-dimensional values shall follow these set obligations. A distinct context's represented value shall remain unchanged. With the receiver also used as context, entry-value semantics shall still apply. Dimension mismatch shall throw std::invalid_argument before replacement.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
5. Context-preserving grid simplification PPL-SPEC-001285 simplify_using_context_assign(y) shall produce X’ satisfying X’∩Y = X∩Y. A false return shall imply X∩Y = ⌀; true need not prove nonemptiness. Simplification may enlarge the receiver and need not be maximal or preserve it outside the context. The operand's mathematical value shall be preserved unless it is the receiver itself. Unequal dimensions shall throw std::invalid_argument before mutation.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
2. Meet-preserving interval context simplification PPL-SPEC-000722 simplify_using_context_assign(y) shall replace entry interval A by a valid interval S satisfying A ⊆ S and S∩C = A∩C, where C is the entry context. It shall return true exactly when that intersection is nonempty. An empty receiver or context shall return false without changing the receiver.
For disjoint nonempty intervals, a receiver lying below its context shall retain its separating upper bound and remove its lower bound; a receiver lying above shall retain its separating lower bound and remove its upper bound. For intersecting intervals, each finite receiver bound made redundant by a finite context bound shall be removed. The operation shall not promise a unique or globally minimal representation. Endpoint membership shall be respected when deciding separation and redundancy. Self-aliasing shall be permitted and shall retain the entry-context intersection.
Operands shall be live, initialized and valid intervals over the declared ordinary real carrier. Active rational payloads shall be canonical. The selected numerical operations shall satisfy their range, resource, policy, shared-temporary and caller-owned FPU prerequisites. The result shall be admitted by the receiving boundary/information policy. Access shall be synchronized with modification. Separate interval sources shall remain unchanged. No additional library initialization shall be required. Underlying numerical or allocation failure shall retain the underlying operation's guarantees; no general rollback guarantee shall be implied.
-
3. Interval construction disjoint from a supplied context PPL-SPEC-000723 empty_intersection_assign(y) shall replace the receiver by a valid interval disjoint from the supplied entry context C. An empty context shall give universe. Otherwise it shall prefer a representable nonempty component on the lower side of C, then one on the upper side; if neither can be represented, it shall give empty. The policy shall admit an empty result. The original receiver contents shall not restrict the result, and the context may alias the receiver.
Under exact open rational boundaries over the ordinary real carrier, a finite lower context endpoint shall give its entire lower complement component, with complementary endpoint membership; otherwise a finite upper endpoint shall give its entire upper complement component. An ordinary real universe shall give empty. More generally, conversion of a complement cutoff shall round inward to avoid context values. Where a closed-only discrete boundary type must exclude an exact cutoff, the adjacent representable boundary shall be used when available. For dense closed-only rational boundaries at a closed context endpoint, no inclusion-maximal cutoff exists; the deterministic interior cutoff shall differ by one toward the selected component's interior. Included infinities shall be considered only under policies that admit and represent them; a lone infinity may itself form a representable complement component. An unrepresentable component shall not be reported as nonempty.
Operands shall be live, initialized and valid intervals over the declared declared carrier. Active rational payloads shall be canonical. The selected numerical operations shall satisfy their range, resource, policy, shared-temporary and caller-owned FPU prerequisites. The result shall be admitted by the receiving boundary/information policy. Access shall be synchronized with modification. Separate interval sources shall remain unchanged. No additional library initialization shall be required. Underlying numerical or allocation failure shall retain the underlying operation's guarantees; no general rollback guarantee shall be implied.
-
6. Meet-preserving octagonal simplification in a context PPL-SPEC-001176 simplify_using_context_assign(y) shall replace entry receiver X by an octagonal simplification R using entry context Y, satisfying
R∩Y = X∩Y.The cardinality of a minimized constraint representation of R shall not exceed that of X. An unchanged receiver shall be an admitted result; strict progress shall not be required on every call. The Boolean result shall satisfy: false implies the entry intersection is empty. A true return need not certify nonemptiness.
For self-aliasing, the context shall mean the entry receiver, so the meet-preservation equation shall be R∩X = X. A distinct context shall preserve its entry denotation. Empty/disjoint contexts, empty receivers and zero-dimensional values shall be admitted.
The operands shall have equal ambient dimensions; a mismatch shall throw std::invalid_argument before changing either represented set. Empty, universe, lower-dimensional and zero-dimensional values shall be admitted. Self-aliasing shall use the entry value for both operands. A distinct y shall preserve its entry represented set on normal return, including a Boolean false return. Logically const normalization may change caches without changing the source set. The receiver shall own its result independently of a distinct source's later mutation or destruction.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
7. Polyhedral context-preserving simplification PPL-SPEC-001344 For compatible operands, simplification shall return a polyhedron containing the entry receiver and having the same intersection with the context. A false result shall certify that this intersection is empty; true shall not alone establish nonemptiness. The context shall preserve its value. The operation need not preserve the receiver outside the context or return a unique simplification. Dimension/topology mismatch shall throw std::invalid_argument.
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. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide integer-point restriction for the documented supported pointset domains and selected-coordinate variants. Under the arithmetic preconditions, the result shall contain every input point integral on the selected coordinates and shall introduce no point outside the input set. Grid restriction shall compute the exact intersection with those integer-coordinate requirements; other domains shall retain their stated precision without implying that every remaining point is integral.
-
Incoming link from: 3. Selected-coordinate integer restriction of bounded-difference values1
2. Integer-point restriction on every bounded-difference coordinate PPL-SPEC-001129 For the receiver's entry set X ⊆ ℝn, drop_some_non_integer_points(complexity) shall produce a bounded-difference set R satisfying
X∩ℤn ⊆ R ⊆ X.The ambient dimension shall be preserved. An empty receiver shall remain empty, including an unclassified inconsistent system. Zero-dimensional empty and nonempty values shall retain their distinct meanings. Selected complexity classes shall bound permitted algorithmic work without changing which integer points must be preserved.
The result may retain noninteger points. No least-integer-hull, strict precision improvement or removal of every fractional point shall be required. Integer storage of bounds shall not change the represented real carrier. An exact rational description with integral unary and difference bounds already equals the convex hull of its integer points and shall therefore retain its represented set under these inclusions.
Any evaluated scalar floor, conversion and bound adjustment shall satisfy the selected arithmetic profile's numerical and range prerequisites.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general receiver rollback guarantee shall be inferred.
-
3. Selected-coordinate integer restriction of bounded-difference values PPL-SPEC-001130 Let S be the coordinates named by vars and X the receiver's entry set. drop_some_non_integer_points(vars,complexity) shall produce a bounded-difference set R with the same ambient dimension such that
{p ∈ X ∣ pi ∈ ℤ for every i ∈ S} ⊆ R ⊆ X.Unselected coordinates shall retain their real interpretation. Their bounds may tighten through relations with selected coordinates; their fractional values shall not be discarded solely for being noninteger. An empty selection shall preserve the entry set. Empty, lazy-empty and zero-dimensional meanings shall be preserved. The global overload of 🔗 2. Integer-point restriction on every bounded-difference coordinate shall have the meaning of selecting every coordinate. All admitted complexity choices shall retain this preservation obligation; no least-hull or mandatory strict improvement shall be inferred.
Every selected coordinate shall be within the receiver dimension. An excess coordinate shall throw std::invalid_argument before represented-set modification, including for empty receivers and integral-bound profiles. The valid-use conditions of 🔗 1. Public coordinate-index set and value lifecycle shall govern the selection.
Any evaluated scalar floor, conversion and bound adjustment shall satisfy the selected arithmetic profile's numerical and range prerequisites. The selection shall remain live, valid and unchanged throughout the call.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general receiver rollback guarantee shall be inferred.
-
3. Selected-coordinate integer-point normalization of boxes PPL-SPEC-001040 drop_some_non_integer_points(complexity) shall normalize every factor; drop_some_non_integer_points(vars,complexity) shall normalize exactly the selected coordinates. The result shall introduce no point outside the entry box and shall preserve every entry point integral on the selected coordinates. Unselected factors and the ambient dimension shall retain their meanings. An empty selection shall preserve the box; an empty receiver, including a product with a hidden empty factor, shall remain empty. Each admitted complexity argument shall have the same mathematical meaning for these Box operations.
For ordinary real factors satisfying the exact endpoint and unit-adjustment preconditions of 🔗 2. Interval endpoint normalization around integer points, each selected factor shall become the least interval hull of its integer points. A factor with no integer point shall make the product empty. A varying interval between distinct integer endpoints may retain noninteger interior points: the operation shall not change the underlying real carrier into an integer carrier. Selected unbounded directions shall retain their unbounded meaning. Normalization shall be idempotent. Closed factors with integral boundary storage shall already have the required endpoint meaning.
A selected variable outside the receiver dimension shall throw std::invalid_argument before modification, including for empty or closed-only boxes. The selected-coordinate set shall remain unchanged.
The validity, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Delegated interval operations shall retain their scalar range, resource, shared-temporary and caller-owned FPU prerequisites. These operations shall impose no additional library initialization on otherwise valid calls. Dimension-error reporting shall retain the context required by 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization. Numerical or allocation exceptions may leave a partly updated receiver; no aggregate rollback shall be inferred.
-
2. Exact integer-coordinate restriction PPL-SPEC-001304 drop_some_non_integer_points(complexity) shall intersect exactly with Zn. The overload with vars shall instead require integrality exactly on those coordinates. Unselected coordinates need not be integral; an empty selection is identity. Every complexity value shall give this exact result. Out-of-range selected indices shall throw std::invalid_argument before mutation, including empty.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
Incoming link from: 3. Selected-coordinate integer restriction of octagonal values1
2. Integer-point restriction on every octagonal coordinate PPL-SPEC-001223 For the receiver's entry set X ⊆ ℝn, drop_some_non_integer_points(complexity) shall produce an octagonal set R satisfying
X∩ℤn ⊆ R ⊆ X.The ambient dimension shall be preserved. An empty receiver shall remain empty, including an unclassified inconsistent system. Zero-dimensional empty and nonempty values shall retain their distinct meanings. Selected complexity classes shall bound permitted algorithmic work without changing which integer points must be preserved.
The result may retain noninteger points. No least-integer-hull, strict precision improvement or removal of every fractional point shall be required. Integer storage of bounds shall not change the represented real carrier. Integral octagonal bounds shall not imply an integral polyhedron: doubled unary bounds and signed binary relations may retain half-integral points. An identity result shall be admitted even for an integral-bound profile whose entry set has no integer points; tight integer closure shall not be required by this interface.
Any evaluated scalar floor, conversion and bound adjustment shall satisfy the selected arithmetic profile's numerical and range prerequisites.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership and remain safely destructible. No general receiver rollback guarantee shall be inferred.
-
3. Selected-coordinate integer restriction of octagonal values PPL-SPEC-001224 Let S be the coordinates named by vars and X the receiver's entry set. drop_some_non_integer_points(vars,complexity) shall produce an octagonal set R with the same ambient dimension such that
{p ∈ X ∣ pi ∈ ℤ for every i ∈ S} ⊆ R ⊆ X.Unselected coordinates shall retain their real interpretation. Their bounds may tighten through relations with selected coordinates; their fractional values shall not be discarded solely for being noninteger. An empty selection shall preserve the entry set. Empty, lazy-empty and zero-dimensional meanings shall be preserved. The global overload of 🔗 2. Integer-point restriction on every octagonal coordinate shall have the meaning of selecting every coordinate. All admitted complexity choices shall retain this preservation obligation; no least-hull or mandatory strict improvement shall be inferred.
Every selected coordinate shall be within the receiver dimension. An excess coordinate shall throw std::invalid_argument before represented-set modification, including for empty receivers and integral-bound profiles. The valid-use conditions of 🔗 1. Public coordinate-index set and value lifecycle shall govern the selection.
Any evaluated scalar floor, conversion and bound adjustment shall satisfy the selected arithmetic profile's numerical and range prerequisites. The selection shall remain live, valid and unchanged throughout the call.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership and remain safely destructible. No general receiver rollback guarantee shall be inferred.
-
Incoming link from: 4. C generated domain transformations1
1. Bounded Chvatal half-pair refinement PPL-SPEC-001666 refine_with_chvatal_cuts(max_pair_tests) shall first perform the existing all-coordinate drop_some_non_integer_points() with its default complexity. For a nonempty result and positive budget, it shall inspect at most max_pair_tests distinct unordered pairs of nonstrict inequalities from that result's minimized constraint description, in nested iterator order. Equalities shall not consume the pair budget. All pairs shall refer to that entry description; cuts shall be applied together after pair examination, without iterating the cutting pass.
For a pair ax + b ≥ 0, cx + d ≥ 0, it shall add ((a + c) ⁄ 2)x + ⌊(b + d) ⁄ 2⌋ ≥ 0 when the summed normal is componentwise even and the summed constant is odd. Pairs with an even constant or any odd summed normal coordinate shall add no cut. Ambient dimension and closed topology shall be preserved. The result shall be a subset of the entry set and contain every entry point in Zn.
Zero budget shall perform only the existing tightening. Empty shall remain empty. The budget shall bound pair examination, not minimization or conversion work. A finite budget may produce different refinements for different minimized-row orders; no exact integer hull or representation-independent budgeted result shall be promised.
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.
-
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.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
For coordinates assumed to denote integer values, PPL shall provide bounded-integer abstraction for the supported modeled widths, representations and overflow interpretations. Under the computational arithmetic preconditions, results shall conservatively contain the selected concrete arithmetic outcomes. Wrapping shall mean modular reduction interpreted in the selected signed or unsigned representation; undefined-result overflow shall permit arbitrary arithmetic results; impossible-overflow semantics shall include only transitions in which overflow does not affect the state.
-
11. C bounded integer wrapping PPL-SPEC-001564 Generated wrap functions shall interpret the selected coordinate set, width, signedness, overflow mode, guard system, complexity threshold and individual/joint option as the corresponding native bounded-integer wrapping operation. Width and representation shall define the same finite integer range; permitted approximations shall remain sound. The guard argument shall address a readable constraint-system handle. A null handle stored at that address shall denote absent guards; the address itself shall be non-null.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
4. Bounded-integer wrapping and guarded evolution of difference shapes PPL-SPEC-001131 wrap_assign shall interpret widths, representations and overflow modes under 🔗 1. Mathematical interpretation of bounded-integer wrapping attributes. For the receiver's entry set X and selected coordinate set S, the result shall conservatively contain every concrete selected-integer outcome, filtered by a supplied guard on the resulting coordinates. Unselected coordinates of each concrete outcome shall retain their entry values. The returned set shall remain a bounded-difference abstraction; relational implications, modular disjunctions and guard precision may be approximated.
For OVERFLOW_WRAPS, each selected integer shall be reduced to its signed or unsigned residue. OVERFLOW_IMPOSSIBLE shall preserve every transition whose selected input integers are within the modeled machine range and may discard overflowing transitions. OVERFLOW_UNDEFINED shall permit every modeled bounded-integer result after an overflowing arithmetic result; no particular residue shall be selected as its required meaning. Result bounds shall retain the profile's outward-conversion conditions. This arithmetic-result interpretation shall not claim to model other effects of language undefined behavior.
The selection and any nonnull guard shall satisfy their documented coordinate-dependency admission: the guard may use general or strict linear rows, but shall depend only on selected coordinates and its ambient dimension shall not exceed the selection dimension. Each selected coordinate shall be within the receiver dimension. Violating these dimension bounds shall throw std::invalid_argument before represented-set modification, including empty receivers and selections. Nonzero guard coefficients outside the selection shall be outside this contract's admitted inputs. A supplied guard shall use the valid descriptor context of 🔗 1. Constraint relation meaning and numerical prerequisites and 🔗 14. Constraint-system conjunction, construction and shared contradiction.
With an empty selection and null guard the receiver's represented set shall be unchanged. With a supplied dimension-compatible constant guard it shall perform conservative refinement; a false constant shall make the result empty. Empty receivers shall remain empty. Fractional input points on selected coordinates may be discarded, and fractional points may remain inside the result. A lower complexity_threshold or wrap_individually=true may permit less precision, but shall not permit loss of any required concrete outcome. No universal least-hull, progress or monotonic-precision guarantee between different parameter choices shall be inferred.
Only named width, representation and overflow enumerators shall be admitted. Modeled 128-bit widths shall not require a native 128-bit scalar or a 128-bit configured coefficient. Actual intermediate machine-limit, quadrant, translation, conversion and descriptor arithmetic shall satisfy the selected backend's supported range and numerical prerequisites. In particular, a modeled width alone shall not establish that configured Coefficient can compute every intermediate power of two or translation. Variables shall use 🔗 1. Public coordinate-index set and value lifecycle's valid-use conditions.
The selection and any supplied guard shall remain live, valid and unchanged throughout the call. Their independent storage shall remain owned by the caller.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership, remain valid and safely destructible. No general receiver rollback guarantee shall be inferred.
-
Incoming links from: 4. Bounded-integer wrapping and guarded evolution of difference shapes 2. Interval abstraction of wrapped integer images with refinement 3. Box bounded-integer wrapping, overflow choices and guard refinement 4. Bounded-integer wrapping and guarded evolution of octagonal shapes 8. Powerset integer restriction and wrapping5
1. Mathematical interpretation of bounded-integer wrapping attributes PPL-SPEC-001041 The modeled attributes identified by 🔗 1. Modeled bounded-integer type identity shall have the following mathematical meanings. A width w shall describe M = 2w. The unsigned value range shall be the integers in [0, M − 1]; the signed two's-complement range shall be the integers in [ − M ⁄ 2, M ⁄ 2 − 1].
For an unwrapped integer z, unsigned wrapping shall choose the unique integer r in the unsigned range congruent to z modulo M. Signed wrapping shall choose r when r < M ⁄ 2 and r − M otherwise. Negative unwrapped values shall use the same nonnegative unsigned residue, independently of a host language's signed remainder convention.
OVERFLOW_WRAPS shall use this modular interpretation. OVERFLOW_UNDEFINED shall permit arbitrary modeled result values after overflow, rather than choosing a particular residue; this arithmetic-result abstraction shall not model every other possible effect of language undefined behavior. OVERFLOW_IMPOSSIBLE shall retain only the transitions whose unwrapped result is within the selected value range.
A modeled width, including 128 bits, shall not assert the existence of a native scalar type or a configured coefficient type of that width. The numerical operations computing an abstraction shall retain their separate computational range and availability prerequisites. Attribute identity and factory/getter behavior shall remain as specified by 🔗 1. Modeled bounded-integer type identity.
-
2. Interval abstraction of wrapped integer images with refinement PPL-SPEC-001042 For the receiver's entry interval X, an admitted width and representation from 🔗 1. Mathematical interpretation of bounded-integer wrapping attributes, and the entry interval J denoted by refinement, wrap_assign shall produce an interval containing every
{wrapw, r(z) ∣ z ∈ X∩ℤ}∩J.The completed interval shall be contained in the receiving profile's outward interval conversion of J; exact conversion shall imply containment in J itself. refinement may denote an arbitrary valid interval or singleton; it need not lie inside the modeled value range. A refinement inside that range shall therefore bound the completed result to that range. An empty receiver shall remain empty. A receiver unbounded in either direction may conservatively become the refinement itself, and noninteger input points need not all be eliminated. No universal least-hull or complete integer filtering guarantee shall be inferred. With exact arithmetic, closed integral endpoints and a closed integral refinement inside the modeled range, the result shall be the least interval hull of the retained wrapped integer images.
The receiver may be the refinement interval, and a singleton refinement may borrow either of its boundary objects. Those calls shall use both entry values. A refinement with distinct storage shall retain its value. Returned I_Result shape and definite status claims shall have the meanings of 🔗 1. Interval result possibilities and status-flag set operations for the whole operation, including its entry-to-result change claims.
The validity, policy, active-payload, lifetime and synchronization conditions of 🔗 1. Interval types, initial storage and independent value copies shall apply. The selected backend shall support any actually evaluated power-of-two subtraction and signed/unsigned residue at the supplied exponent, as specified by its scalar contracts. Exact precision claims shall require exact endpoint conversion, modular arithmetic and any intermediate unit adjustment. Computational range failures, resources, shared temporaries and caller-owned FPU state shall retain those scalar contracts. An admitted modeled width alone shall not establish these backend capabilities. Valid calls shall require no additional PPL initialization. Underlying failures may leave partly updated storage; there shall be no aggregate rollback guarantee.
-
3. Box bounded-integer wrapping, overflow choices and guard refinement PPL-SPEC-001043 wrap_assign shall interpret the selected coordinates as bounded integers using 🔗 1. Mathematical interpretation of bounded-integer wrapping attributes. It shall conservatively contain every selected concrete result obtained from the receiver's entry integer-valued selected coordinates under the requested overflow interpretation. The represented result shall remain a box, so modular disjunctions and relations may be approximated. Fractional points on selected coordinates may be discarded, and retained interior points need not all be integers.
Without a supplied guard, OVERFLOW_WRAPS shall use modular images; OVERFLOW_IMPOSSIBLE shall intersect each selected factor with the modeled value range. Under OVERFLOW_UNDEFINED, a factor already contained in the rational half-open interval from the modeled minimum through one past its maximum may be retained; a potentially overflowing factor may be forgotten and replaced by the modeled closed integer range. No-overflow factors shall not be discarded merely because another factor can overflow.
A nonnull cs_p shall denote a guard on the resulting coordinates. The completed box shall conservatively contain the guard-filtered selected integer results; it need not satisfy every guard row. In particular, relational rows and rows mentioning unselected coordinates may be ignored by this specialization. Interval rows for selected coordinates may refine their target ranges. A false constant row shall make the result empty. The guarded undefined-overflow path may forget a selected coordinate to universe when overflow is possible; no universal post-guard containment or least-result guarantee shall be inferred.
With an empty selection, no bounded-type limits or residues shall be required. A null guard shall preserve the receiver; a supplied guard shall perform conservative refinement under 🔗 3. Conservative box refinement by linear constraints, which may affect otherwise unselected coordinates. Empty, including a hidden empty factor, shall remain empty. Ambient dimension shall remain unchanged. For a nonempty selection, unselected factor meanings shall remain unchanged unless the entire product becomes empty. A distinct supplied guard and the selection set shall retain their mathematical values. complexity_threshold and wrap_individually shall not change this Box specialization's result.
An excess selected coordinate or guard ambient dimension shall throw std::invalid_argument before receiver modification, including for empty receivers. Guard dimension shall be checked even with an empty selection. Only the named width, representation and overflow attributes shall be admitted; no outcome shall be specified for invalid enum values.
The validity, numerical, lifetime and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Selected modular evaluation shall retain 🔗 2. Interval abstraction of wrapped integer images with refinement's backend prerequisites. Modeled limit construction shall use unbounded integer arithmetic independent of configured Coefficient range; conversion into an endpoint profile shall retain that profile's representability and outward-rounding conditions. A guard shall retain its descriptor context, coefficient-intermediate range and refinement prerequisites; dimension reporting shall retain the initialized context of 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization. Otherwise valid calls shall require no additional library initialization. Underlying resource/numerical failures may leave a partially updated box.
-
3. Bounded-integer wrapping abstraction PPL-SPEC-001305 wrap_assign(vars,w,r,o,cs_p,complexity_threshold,wrap_individually) shall conservatively abstract bounded-integer conversion on the selected coordinates, with modulus M = 2w and the signed or unsigned range selected by r. Coordinates supplied as bounded integers are assumed integral. Unselected coordinates and their projection shall be preserved. Empty selections are identity. Any out-of-range selected index, or an optional constraint system of excess dimension, shall throw std::invalid_argument before mutation. The optional constraints and the two precision controls need not improve the result.
For OVERFLOW_WRAPS, a constant integer shall map to its unique in-range residue. A discrete coordinate shall retain its entry period together with period M, except that a period divisible by M shall collapse to the unique in-range residue. Rational periods shall first determine their possible integer residues; no possible integer shall yield empty. A constant noninteger shall yield empty. Real line directions may be retained conservatively. For OVERFLOW_IMPOSSIBLE, no in-range possible integer shall yield empty, one shall fix the coordinate, and multiple values may retain the original periodic abstraction. For OVERFLOW_UNDEFINED, overflow may forget the coordinate's value while retaining integrality; an already representable constant may be retained. No global optimality for correlated coordinates is required.
The initialization, lifetime, synchronization and computational-arithmetic conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is stated, ambient dimension shall be preserved. Resource and numerical exceptions may propagate; surviving ownership shall permit destruction, without an assumed rollback or guarantee that further queries are valid. Receiver-owned views may be invalidated as in 🔗 10. Borrowed congruence and generator views of grid values.
-
4. Bounded-integer wrapping and guarded evolution of octagonal shapes PPL-SPEC-001225 wrap_assign shall interpret widths, representations and overflow modes under 🔗 1. Mathematical interpretation of bounded-integer wrapping attributes. For the receiver's entry set X and selected coordinate set S, the result shall conservatively contain every concrete selected-integer outcome, filtered by a supplied guard on the resulting coordinates. Unselected coordinates of each concrete outcome shall retain their entry values. The returned set shall remain a octagonal abstraction; relational implications, modular disjunctions and guard precision may be approximated.
For OVERFLOW_WRAPS, each selected integer shall be reduced to its signed or unsigned residue. OVERFLOW_IMPOSSIBLE shall preserve every transition whose selected input integers are within the modeled machine range and may discard overflowing transitions. OVERFLOW_UNDEFINED shall permit every modeled bounded-integer result after an overflowing arithmetic result; no particular residue shall be selected as its required meaning. Result bounds shall retain the profile's outward-conversion conditions. This arithmetic-result interpretation shall not claim to model other effects of language undefined behavior.
The selection and any nonnull guard shall satisfy their documented coordinate-dependency admission: the guard may use general or strict linear rows, but shall depend only on selected coordinates and its ambient dimension shall not exceed vars.space_dimension(). Each selected coordinate shall be within the receiver dimension. Violating these dimension bounds shall throw std::invalid_argument before represented-set modification, including empty receivers and selections. Nonzero guard coefficients outside the selection shall be outside this contract's admitted inputs. A supplied guard shall use the valid descriptor context of 🔗 1. Constraint relation meaning and numerical prerequisites and 🔗 14. Constraint-system conjunction, construction and shared contradiction.
With an empty selection and null guard the receiver's represented set shall be unchanged. With a supplied dimension-compatible constant guard it shall perform conservative refinement; a false constant shall make the result empty. Empty receivers shall remain empty. Fractional input points on selected coordinates may be discarded, and fractional points may remain inside the result. A lower complexity_threshold or wrap_individually=true may permit less precision, but shall not permit loss of any required concrete outcome. No universal least-hull, progress or monotonic-precision guarantee between different parameter choices shall be inferred.
Only named width, representation and overflow enumerators shall be admitted. Modeled 128-bit widths shall not require a native 128-bit scalar or a 128-bit configured coefficient. Actual intermediate machine-limit, quadrant, translation, conversion and descriptor arithmetic shall satisfy the selected backend's supported range and numerical prerequisites. In particular, a modeled width alone shall not establish that configured Coefficient can compute every intermediate power of two or translation. Variables shall use 🔗 1. Public coordinate-index set and value lifecycle's valid-use conditions.
The selection and any supplied guard shall remain live, valid and unchanged throughout the call. Their independent storage shall remain owned by the caller.
The supported-profile, initialization, rounding, range, lifetime and synchronization prerequisites of 🔗 1. Octagonal values, numerical profiles and valid use shall apply.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Owned temporary resources shall be released; surviving objects shall retain valid ownership and remain safely destructible. No general receiver rollback guarantee shall be inferred.
-
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.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide mathematical-property and set-relation query families for its supported pointset domains, including emptiness and the domain-appropriate inclusion, equality, disjointness and boundedness capabilities. For each supported query, the per-domain guarantee shall identify whether its outcome is an exact decision, a sufficient test or an inconclusive result; a guarantee for a primitive domain shall not be assumed for a compound domain or a different numeric profile.
-
2. C generated domain observations PPL-SPEC-001555 Predicates, containment/equality, dimension and relation queries shall return the corresponding native outcomes or flags. Bounds, optimization and frequency functions shall assign their native exact or sound values and admitted witnesses only when their operation reports success. Caller-supplied coefficient/witness outputs shall obey native nonaliasing restrictions. False or inconclusive results shall not be interpreted as a numerical proof beyond the native contract.
The selected-coordinate integer-point query shall decide existence with exactly the listed coordinates integral and all others real. An empty list shall test ordinary feasibility. Out-of-space indices shall be rejected and the represented input shall be preserved, as specified in 🔗 1. Selected-coordinate integer-point existence.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
9. Certified set-theoretic union PPL-SPEC-001098 upper_bound_assign_if_exact(y) shall return true only when the receiver's completed represented set is exactly the set-theoretic union of the two entry sets. On false, the receiver shall preserve its entry represented set. A distinct y shall preserve its entry set on either outcome. Closure and reduction may change internal representations without changing these values.
For mpq_class and mpz_class boundary types, the operation shall return true if and only if the union is a bounded-difference shape. A bounded integer or native floating profile may return false when it cannot certify exactness, even if the union is representable. Such a false result shall not imply that the union is unrepresentable.
The dimensions shall be equal; mismatch shall throw std::invalid_argument before changing represented sets. Self-union, empty identities, universe and zero-dimensional cases shall satisfy the same exactness rules. A successful receiver shall own its resulting value independently of a distinct source.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
10. Certified integer-point union PPL-SPEC-001099 integer_upper_bound_assign_if_exact(y) shall be available for an integral boundary type T. Its exactness shall concern integer valuations: on true, every integer point in the resulting shape shall belong to at least one entry operand, and every integer point of either operand shall belong to the result. The result shall be the integer upper bound, namely the least rational bounded-difference enclosure containing those input integer points.
With mpz_class boundaries the decision shall be complete: true shall hold exactly when that integer upper bound introduces no additional integer point. A bounded integral profile may return false if it cannot certify exactness. A false result shall preserve the receiver's entry represented set; it shall not certify a missing integer point for an incomplete profile.
This guarantee shall not identify integer-point union with real set-theoretic union. For example, joining the real singletons at zero and one can be exact for integer points while including nonintegral points between them. Dimensions shall agree, with std::invalid_argument on mismatch before changing represented sets. A distinct source shall preserve its entry set, and self-union/empty/zero-dimensional inputs shall retain their mathematical meanings.
The supported-profile, initialization, rounding, range and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply to the receiver and input values. All operands shall be live and valid throughout the call. Every intermediate numerical operation shall satisfy its selected arithmetic contract. Ambient dimension and coordinate identities shall be preserved unless the operation explicitly changes coordinate values.
Underlying numerical, allocation or cooperative-abandonment failures may propagate. Temporary resources owned by the operation shall be released. Surviving objects shall retain valid ownership and remain valid and safely destructible. No general rollback guarantee shall be inferred for such failures.
-
8. Ambient and affine dimension of bounded-difference values PPL-SPEC-001063 space_dimension() shall return the ambient coordinate count independently of emptiness, boundedness or affine constraints. affine_dimension() shall return zero for empty and otherwise the dimension of the smallest affine subspace containing the represented set. Both zero-dimensional values shall have affine dimension zero. Implicit unary/difference equalities and relationally redundant descriptions shall be included in this determination; stored rounded entries shall not be assumed to certify an equality unless the represented set satisfies it.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
9. Owned constraint and affine-equality exports of bounded-difference values PPL-SPEC-001064 constraints() shall return an owned, dimension-preserving constraint system whose conjunction denotes the receiver. minimized_constraints() shall additionally provide an irredundant defining conjunction: removing any emitted nontrivial row shall enlarge the represented set. No unique row order or unique equality basis shall be required. Exported finite bounds shall have their exact stored mathematical values; no integer-bound profile shall silently change real coordinates into integer coordinates.
congruences() and minimized_congruences() shall return owned equality congruences defining the receiver's affine hull, retaining the same ambient and affine dimensions. They shall not replace the represented inequalities or invent periodic restrictions. Their nonempty equality system shall be a basis of the affine restrictions; empty shall export inconsistency. Zero-dimensional universe shall export a tautological conjunction; zero-dimensional empty shall export an inconsistent one.
Exported descriptors shall remain usable and independent after source mutation or destruction. Source normalization shall preserve its represented value; canonical row order or a particular redundant basis shall not be inferred beyond the declared minimization result.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
10. Ordinary classification of bounded-difference values PPL-SPEC-001065 The ordinary classification calls shall report their named mathematical properties of the represented set: emptiness, universe, discreteness, topological closure, boundedness and existence of an integer point. Every bounded-difference value shall be topologically closed. A nonempty convex value shall be discrete exactly when it is a singleton; empty shall be discrete and bounded. Zero-dimensional universe shall be nonempty, universe, bounded, discrete and contain its integer empty tuple; zero-dimensional empty shall contain no integer point.
constrains(var) shall report whether the represented set imposes a restriction on that coordinate, including relational restrictions; empty shall constrain each valid coordinate. A variable outside the ambient dimension shall throw std::invalid_argument. These decisions shall not confuse stored integer bounds with an integer-only carrier.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
11. Bounded-difference set relations, equality and compatible hashes PPL-SPEC-001066 For dimension-compatible operands, contains, strictly_contains and is_disjoint_from shall report mathematical set containment, proper containment and empty intersection. Equal nonempty or empty sets shall not strictly contain each other; every nonempty value shall strictly contain empty. The zero-dimensional values shall obey the same set rules. Dimension-incompatible relation calls shall throw std::invalid_argument.
Equality shall require equal ambient dimensions and equal represented sets; inequality shall be its logical complement. Different redundant/closure descriptions of the same set shall compare equal. Equal values shall have equal hash codes; collisions between unequal values shall be permitted. hash_code shall not modify the represented set.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
12. Relations between bounded-difference values and linear constraints PPL-SPEC-001067 relation_with(c) shall return the Poly_Con_Relation flags describing the whole represented set relative to the constraint: inclusion, disjointness, saturation when its affine expression vanishes throughout the set and strict intersection as defined by 🔗 1. Constraint-relation assertion values and named factories. The supplied row need not have bounded-difference syntax. A constraint within the ambient dimension shall not alter the represented set. A descriptor dimension above the receiver's shall throw std::invalid_argument. Empty and constant-row cases shall retain their set-theoretic flag combinations.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
13. Relations between bounded-difference values and linear congruences PPL-SPEC-001068 relation_with(cg) shall classify the represented set relative to the congruence using the declared Poly_Con_Relation semantics. Modulus zero shall mean equality. For a proper modulus, inclusion shall require every source point to satisfy the residue condition; disjointness shall mean no source point does. For a nonempty receiver, saturation shall mean that the affine image consists of one value belonging to the eligible modulus lattice; the value need not be zero. These tests shall use the real convex source set rather than treating integer bounds as integer coordinates. Arbitrary admitted affine congruence syntax shall be queryable even when it is not representable by a bounded-difference value. Descriptor dimension above the receiver's shall throw std::invalid_argument.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
14. Subsumption of geometric generators by bounded-difference values PPL-SPEC-001069 relation_with(g) shall return Poly_Gen_Relation::subsumes() exactly when the represented set subsumes the generator under 🔗 6. Generator-relation assertion values and named factories. An ordinary point or closure point shall use its rational coordinates; closure points shall obey the same membership test because this domain is closed. A ray shall satisfy every represented homogeneous direction inequality, and a line shall satisfy each corresponding homogeneous equality. Empty shall subsume no generator. A generator dimension above the receiver's shall throw std::invalid_argument; a lower-dimensional generator shall have zero additional coordinates.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
16. Constant affine values and zero frequency on bounded-difference sets PPL-SPEC-001071 frequency(expr,fn,fd,vn,vd) shall return true exactly when the nonempty receiver assigns one unique real value to the affine expression. On true, fn/fd shall be 0/1 and vn/vd shall be that exact constant with positive canonical denominator. Nonconstant and empty cases shall return false and leave all four outputs unchanged. Constant expressions and zero-dimensional universe shall follow the same rule. An expression dimension above the receiver's shall throw std::invalid_argument. The four scalar output objects shall be pairwise distinct.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
Incoming link from: 4. Box endpoint-distance domain, workspaces and dispatch1
1. Rectilinear distance between Box endpoint tuples PPL-SPEC-001052 For the endpoint differences dj of 🔗 4. Box endpoint-distance domain, workspaces and dispatch, rectilinear_distance_assign shall compute the requested directed bound on
D1(X, Y) = ∑jdj.This shall be a distance of endpoint descriptions, not the minimum distance between a point of each box. Openness shall not affect it. With exact rational temporary arithmetic and an exactly representable output, the finite sum shall be returned exactly.
The source interpretation, exceptional dimensional/empty/infinite cases, false-output preservation, numerical directions, workspace choices and lifetime conditions of 🔗 4. Box endpoint-distance domain, workspaces and dispatch shall apply to every overload. With supported arithmetic and representable intermediates, a completed upward result shall be at least the exact distance and a completed downward result at most the exact distance. A numerical or resource failure shall not establish a successful directed-bound result. Both sources shall retain their values and dimensions.
-
Incoming link from: 4. Box endpoint-distance domain, workspaces and dispatch1
2. Euclidean distance between Box endpoint tuples PPL-SPEC-001053 For the endpoint differences dj of 🔗 4. Box endpoint-distance domain, workspaces and dispatch, euclidean_distance_assign shall compute the requested directed bound on
D2(X, Y) = √( ∑jd2j).Each squared contribution shall preserve the requested bound on this nonnegative endpoint distance, including when conversions into a temporary format are inexact. This endpoint-tuple norm shall not be identified with the minimum set distance or general Euclidean Hausdorff distance between the represented boxes. Openness shall not affect it. A rational temporary square root shall retain the enclosure and precision conditions of 🔗 2. Finite rational square root at the selected irrational precision and 🔗 3. Selection and ownership of irrational rational precision; no universal exactness of a rational perfect-square input or universal fixed error width shall be inferred beyond those contracts.
The source interpretation, exceptional dimensional/empty/infinite cases, false-output preservation, numerical directions, workspace choices and lifetime conditions of 🔗 4. Box endpoint-distance domain, workspaces and dispatch shall apply to every overload. With supported arithmetic and representable intermediates, a completed upward result shall be at least the exact distance and a completed downward result at most the exact distance. A numerical or resource failure shall not establish a successful directed-bound result. Both sources shall retain their values and dimensions.
-
Incoming link from: 4. Box endpoint-distance domain, workspaces and dispatch1
3. Maximum-coordinate distance between Box endpoint tuples PPL-SPEC-001054 For the endpoint differences dj of 🔗 4. Box endpoint-distance domain, workspaces and dispatch, l_infinity_distance_assign shall compute the requested directed bound on
D∞(X, Y) = maxjdj,with value zero for an empty finite endpoint tuple. Openness shall not affect this endpoint comparison. With exact rational temporary arithmetic and an exactly representable output, the finite maximum shall be returned exactly.
The source interpretation, exceptional dimensional/empty/infinite cases, false-output preservation, numerical directions, workspace choices and lifetime conditions of 🔗 4. Box endpoint-distance domain, workspaces and dispatch shall apply to every overload. With supported arithmetic and representable intermediates, a completed upward result shall be at least the exact distance and a completed downward result at most the exact distance. A numerical or resource failure shall not establish a successful directed-bound result. Both sources shall retain their values and dimensions.
-
Incoming links from: 1. Rectilinear distance between Box endpoint tuples 1. Rectilinear distance between Box endpoint tuples 2. Euclidean distance between Box endpoint tuples 2. Euclidean distance between Box endpoint tuples 3. Maximum-coordinate distance between Box endpoint tuples 3. Maximum-coordinate distance between Box endpoint tuples6
4. Box endpoint-distance domain, workspaces and dispatch PPL-SPEC-001055 For equally dimensioned nonempty ordinary-real boxes, each finite lower or upper endpoint shall occupy its corresponding position in a tuple of 2n endpoints. A position finite in both boxes shall contribute dj = |ej(X) − ej(Y)|. A matching unbounded lower position or matching unbounded upper position shall contribute zero; a position unbounded in exactly one source shall make each supported distance positive infinity. Endpoint openness shall be ignored, so boxes differing only in endpoint inclusion may have distance zero.
Two empty boxes of equal ambient dimension shall have distance zero; exactly one empty box shall have positive-infinite distance. These conventions shall apply also in dimension zero, distinguishing zero-dimensional empty from universe. Unequal ambient dimensions shall return false before modifying the result or caller-supplied scratch objects. Equal dimensions shall return true on successful numerical completion, with the assigned distance specified by 🔗 1. Rectilinear distance between Box endpoint tuples, 🔗 2. Euclidean distance between Box endpoint tuples or 🔗 3. Maximum-coordinate distance between Box endpoint tuples. A Boolean success shall not imply exactness of a rounded value.
The default overload shall allocate three Checked_Number<To,Extended_Number_Policy> workspaces. The overload with an explicit scalar temporary type Temp shall instead allocate three Checked_Number<Temp,Extended_Number_Policy> workspaces. The supplied workspace overload shall use the actual Work type of its three references, which may be an admitted raw or checked numerical type. Each scalar conversion, subtraction, accumulation, square, square root and final assignment shall satisfy its backend's representability, numerical failure, resource, shared-temporary, nontrapping and caller-owned FPU conditions. Native floating conversions or computations shall retain their configured availability and hardware prerequisites. Rational square-root precision shall remain stable throughout a dependent call.
Calls evaluating a finite endpoint difference shall use ROUND_UP or ROUND_DOWN, optionally with ROUND_STRICT_RELATION. They shall not require endpoint conversions to be exact solely to establish a directed bound. Paths assigning only the exact zero or positive-infinite exceptional value shall admit any otherwise valid direction request for that scalar assignment. Sources shall satisfy 🔗 1. Cartesian box values, coordinate identity and valid use; no NaN or included-infinity element shall be introduced into their ordinary-real carrier. An output profile shall support positive infinity whenever that outcome is reachable. Otherwise valid calls shall require no additional library initialization beyond the selected numerical/thread prerequisites.
The three supplied scratch objects shall be pairwise distinct and have storage disjoint from both source boxes. Their entry numerical values need not be initialized when the call overwrites them before reading. The result shall have live assignable storage disjoint from the source boxes; it may coincide with any one scratch object or its compatible raw storage. Result and scratch aliases shall use source values on entry. The same box may be supplied for both sources. Source factor views shall retain their read-only contract 🔗 7. Empty-aware borrowed coordinate interval access. Callers shall synchronize access, including cached emptiness updates, and preserve object/borrowed-storage lifetimes. Failures other than ordinary dimension mismatch shall retain the selected scalar policy's permitted partial output/scratch state, with no aggregate rollback guarantee.
The generic l_m_distance_assign helper shall apply these rules when instantiated with the library's rectilinear, Euclidean or maximum-coordinate specialization for that same workspace type. The sum, sum-of-squares/square-root and maximum accumulation shall use the shared numerical specializations of 🔗 17. Rectilinear distance between bound-entry arrays, 🔗 18. Euclidean distance between bound-entry arrays and 🔗 19. Maximum-coordinate distance between bound-entry arrays, respectively. The source tuple here shall consist of Box endpoints, with the Box admission and overlap conditions stated above.
-
3. Affine boundedness, extrema and witnesses on boxes PPL-SPEC-001032 bounds_from_above(expr) and bounds_from_below(expr) shall decide exactly whether the affine expression's values over the receiver are bounded in the indicated direction. Empty shall be bounded in both directions. Zero coefficients shall not make an otherwise bounded objective unbounded because of unused coordinate factors.
maximize shall return true exactly when the receiver is nonempty and the objective is bounded above. On true, its numerator and positive denominator shall give the exact supremum as a reduced fraction, and maximum shall be true exactly when some receiver point attains it. minimize shall analogously report the exact infimum and attainment. A constant objective on any nonempty box shall be attained, including in zero dimensions. Ordinary false shall preserve every supplied output. Numerator and denominator outputs shall be distinct.
The generator overloads shall additionally return a point in the receiver when the extremum is attained, and a closure point in its topological closure when it is not attained. Its coordinates, including coordinates absent from the expression, shall satisfy the respective membership condition, and its objective value shall equal the reported extremum. Omitted generator coordinates shall have their declared zero-extension meaning. A witness shall not be accepted merely because it gives the correct objective value.
An expression's ambient dimension greater than the box dimension shall throw std::invalid_argument before changing outputs, including for an empty receiver or a constant expression with excess declared dimension. The represented box, its dimension and the supplied expression shall retain their values. The profile, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Expressions and generators shall retain their descriptor prerequisites; creating output generators and reporting dimension errors shall retain the context of 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization. Numerical intermediate and output representability shall follow the selected coefficient profile. Reported allocation or numerical exceptions may leave outputs partly assigned; ordinary false-result preservation shall not imply exception rollback.
-
4. Detection of constant affine values and zero frequency PPL-SPEC-001033 frequency(expr,fn,fd,vn,vd) shall return true exactly when the receiver is nonempty and the expression has one value throughout it. On true, fn and fd shall be zero and one, respectively, while vn/vd shall be that exact value as a reduced fraction with positive denominator. A coordinate with zero expression coefficient shall not prevent constancy even when its factor varies or is unbounded. For boxes this success shall express a unique value, not a nonzero periodic frequency. Empty shall return false. Zero-dimensional universe shall return the expression's constant term with zero frequency.
Ordinary false shall preserve all four supplied output values. Those outputs shall be distinct. Greater expression ambient dimension shall throw std::invalid_argument before output replacement, including when the receiver is empty. The expression and the represented box and its ambient dimension shall retain their values.
The profile, numerical, lifetime and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Expression descriptors and dimension error reporting shall retain their initialized-context prerequisites. Coefficient intermediate and output representability and reported range failures shall follow the configured coefficient profile. Allocation or numerical exceptions may leave output values partly assigned; ordinary false-result preservation shall not imply exception rollback.
-
1. Box relations with linear constraints PPL-SPEC-000973 For a dimension-compatible constraint with affine expression e(x) and relation e(x) ⋈ 0, relation_with(c) shall report exactly the applicable assertions: is_disjoint() when no represented point satisfies the constraint; is_included() when every represented point satisfies it; strictly_intersects() when some but not all represented points satisfy it; and saturates() when every represented point has e(x) = 0. Saturation shall be independent of whether the inequality is strict.
An empty box shall therefore report disjoint, included and saturating, without strict intersection. A nonempty box lying on an excluded strict boundary shall report disjoint and saturating. The zero-dimensional universe shall use its unique empty tuple, and omitted coefficients shall be zero. A constraint of greater ambient dimension shall throw std::invalid_argument without changing the represented box.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
2. Box relations with linear congruences PPL-SPEC-000974 For a dimension-compatible congruence with affine expression e(x) and modulus m, relation_with(cg) shall interpret m = 0 as the equality e(x) = 0, and positive m as membership of e(x) in mℤ. It shall report disjointness, inclusion or strict intersection by the corresponding quantified assertions over the represented box. On a nonempty box, saturates() shall hold when its affine image is a single value satisfying the congruence. An empty box shall report disjoint, included and saturating. The unique zero-dimensional point shall be tested against the constant congruence.
Excluded finite endpoints shall not establish a congruence witness. The first eligible lattice value and all affine-range intermediates shall not be restricted to the configured coefficient range. A congruence whose ambient dimension exceeds the box dimension shall throw std::invalid_argument without changing the represented box.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
3. Box subsumption of geometric generators PPL-SPEC-000975 For a dimension-compatible geometric generator, relation_with(g) shall return Poly_Gen_Relation::subsumes() exactly when the generator is subsumed, and nothing() otherwise. A point shall be subsumed exactly when its rational coordinates belong to the box. A closure point shall use membership in the topological closure of a nonempty box. Coordinates omitted from the generator shall be zero, including all trailing box coordinates.
A ray shall be subsumed exactly when translating any box point by every nonnegative multiple of its direction remains in the box; a line shall use every real multiple. Zero direction components shall impose no condition; a positive or negative ray component shall require the corresponding upper or lower absence of a finite bound, and a nonzero line component shall require an unconstrained factor. An empty box shall subsume no generator. The zero-dimensional universe shall subsume every admitted zero-dimensional generator. A generator with greater dimension shall throw std::invalid_argument without changing the represented box.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
6. Conditional exact union of boxes PPL-SPEC-000978 For same-profile boxes of equal dimension, upper_bound_assign_if_exact(y) shall return true exactly when their set-theoretic entry union is representable as a box of that profile. On true it shall replace the receiver by that union. On false the receiver's represented value shall remain unchanged; a partial coordinate hull shall not escape as a failed result. A distinct donor shall remain unchanged in either case.
Exactness shall account for gaps and excluded touching endpoints within a factor, and for incompatible alternatives in different coordinates. Mere intersection or exactness of every separate coordinate hull shall not establish exactness of the Cartesian union. Empty, equal, contained, zero-dimensional and self-aliased operands shall use their set meanings. Dimension mismatch shall throw std::invalid_argument before replacement.
The valid-profile, entry-state, numerical, lifetime, initialization and synchronization prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Mathematical observations may refresh internal caches without changing a represented set. Allocation and endpoint-operation exceptions shall retain their delegated guarantees; no general rollback guarantee shall be inferred.
-
Incoming link from: 6. Admitted generator-distance evaluation kernel1
1. Rectilinear distance between generator points PPL-SPEC-001579 For admitted generators with rational coordinates as specified by 🔗 4. Generator-distance admission, workspaces and dispatch, rectilinear_distance_assign shall assign the requested directed bound on
D1(x, y) = n − 1∑i = 0|xi − yi|.With exact rational temporary arithmetic and an exactly representable output, the sum shall be returned exactly.
The admission, direction, workspace, alias, lifetime and failure conditions of 🔗 4. Generator-distance admission, workspaces and dispatch shall apply. Successful completion shall return true; rejection shall return false with the stated preservation. An upward result shall be at least the exact norm and a downward result shall be nonnegative and at most the exact norm, under the numerical prerequisites. Both source generators shall retain their values, kinds, representations and dimensions.
-
Incoming link from: 6. Admitted generator-distance evaluation kernel1
2. Euclidean distance between generator points PPL-SPEC-001580 For admitted generators with rational coordinates as specified by 🔗 4. Generator-distance admission, workspaces and dispatch, euclidean_distance_assign shall assign the requested directed bound on
D2(x, y) = √(n − 1∑i = 0(xi − yi)2).Every squared contribution shall preserve the directed bound even when a coordinate difference is inexact in the workspace type. Rational square roots shall retain the precision and enclosure conditions of 🔗 2. Finite rational square root at the selected irrational precision and 🔗 3. Selection and ownership of irrational rational precision; no universal exactness or fixed error width shall be inferred beyond those contracts.
The admission, direction, workspace, alias, lifetime and failure conditions of 🔗 4. Generator-distance admission, workspaces and dispatch shall apply. Successful completion shall return true; rejection shall return false with the stated preservation. An upward result shall be at least the exact norm and a downward result shall be nonnegative and at most the exact norm, under the numerical prerequisites. Both source generators shall retain their values, kinds, representations and dimensions.
-
Incoming link from: 6. Admitted generator-distance evaluation kernel1
3. Maximum-coordinate distance between generator points PPL-SPEC-001581 For admitted generators with rational coordinates as specified by 🔗 4. Generator-distance admission, workspaces and dispatch, l_infinity_distance_assign shall assign the requested directed bound on
D∞(x, y) = max0 ≤ i < n|xi − yi|.The maximum over the empty coordinate tuple shall be zero. With exact rational temporary arithmetic and an exactly representable output, the maximum shall be returned exactly.
The admission, direction, workspace, alias, lifetime and failure conditions of 🔗 4. Generator-distance admission, workspaces and dispatch shall apply. Successful completion shall return true; rejection shall return false with the stated preservation. An upward result shall be at least the exact norm and a downward result shall be nonnegative and at most the exact norm, under the numerical prerequisites. Both source generators shall retain their values, kinds, representations and dimensions.
-
Incoming links from: 1. Rectilinear distance between generator points 1. Rectilinear distance between generator points 2. Euclidean distance between generator points 2. Euclidean distance between generator points 3. Maximum-coordinate distance between generator points 3. Maximum-coordinate distance between generator points 6. Admitted generator-distance evaluation kernel 6. Admitted generator-distance evaluation kernel8
4. Generator-distance admission, workspaces and dispatch PPL-SPEC-001582 Distances shall be admitted exactly when both generators are points or closure points and have the same ambient dimension. A line, a ray or a dimension mismatch shall return false before assigning the output or any supplied scratch object. Equal-dimensional point/closure-point pairs shall return true on successful numerical completion. A zero-dimensional pair shall assign exact zero. A closure point shall contribute its rational coordinates without asserting inclusion in any polyhedron. For each source, xi = ai ⁄ d shall use its own positive divisor. Neither coefficient vectors alone nor homogeneous-coordinate distances shall replace these coordinates. Boolean success shall not imply exactness of a rounded result.
The default overload shall use three Checked_Number<To,Extended_Number_Policy> workspaces. An explicit scalar temporary type Temp shall use three Checked_Number<Temp,Extended_Number_Policy> workspaces. Supplied references shall use their actual admitted raw or checked numerical type Work. Their accumulation shall use 🔗 17. Rectilinear distance between bound-entry arrays, 🔗 18. Euclidean distance between bound-entry arrays or 🔗 19. Maximum-coordinate distance between bound-entry arrays, respectively. The generic helper instantiated with the corresponding specialization shall use the same admission, coordinate and numerical rules.
Source validity and coefficient conditions of 🔗 1. Generator kinds and numerical prerequisites shall apply. Each scalar conversion, subtraction, accumulation, square, square root and final assignment shall satisfy its backend's representability, failure, resource, shared-temporary, nontrapping and FPU prerequisites. Native floating types shall retain their configured availability and hardware conditions. Rational square-root precision shall remain stable throughout a dependent call. Calls evaluating coordinate differences shall use ROUND_UP or ROUND_DOWN, optionally with ROUND_STRICT_RELATION. Inexact coordinate conversion shall not by itself invalidate a directed bound. The zero-dimensional exact assignment shall admit any otherwise valid direction for that scalar assignment.
Supplied scratch objects shall be pairwise distinct and disjoint from both source generators. Their entry values need not be initialized where they are overwritten before reading. The output shall have live assignable storage disjoint from the sources; it may coincide with any one scratch object or its compatible raw storage. The same generator may be passed as both sources. Callers shall preserve object and borrowed-storage lifetimes and provide synchronization required by the selected numerical profile. Numerical or allocation failures may propagate through their declared channels, shall not establish a successful directed bound, and may leave partial output/scratch values according to the selected scalar policies; no aggregate rollback guarantee shall be inferred.
-
6. Admitted generator-distance evaluation kernel PPL-SPEC-001653 l_m_distance_assign_impl shall evaluate a valid point or closure-point pair of equal strictly positive dimension. Callers shall meet the source, workspace, output-alias, rounding, initialization, synchronization and backend conditions of 🔗 4. Generator-distance admission, workspaces and dispatch before entering this kernel; it shall not perform the public admission checks.
With Skip_Common_Zero_Runs equal to false, the kernel shall process every coordinate in decreasing index order, using each source's own positive divisor. It shall initialize tmp0 to zero, form the directed nonnegative coordinate differences, call Specialization::combine once for each coordinate, call Specialization::finalize once after accumulation, and assign the result from tmp0. The applicable numerical obligations of 🔗 1. Rectilinear distance between generator points, 🔗 2. Euclidean distance between generator points or 🔗 3. Maximum-coordinate distance between generator points shall apply for their corresponding standard specialization.
With Skip_Common_Zero_Runs equal to true, both sources shall have sparse representation and Specialization shall be the standard rectilinear, Euclidean or infinity-distance specialization for Work. The kernel may replace a maximal run of coordinates zero in both sources by one ordinary zero-coordinate step. Successful completion shall preserve the full traversal's result, final scratch values, directed rounding and floating-point zero signs and status effects. Contributions at nonzero coordinates shall retain their decreasing-index order. The skipping path shall not allocate coefficient vectors or polymorphic expression iterators.
Successful numerical completion shall return true. Numerical or allocation failures shall retain the failure channels and partial-state conditions of 🔗 4. Generator-distance admission, workspaces and dispatch. The public dispatcher shall retain ordinary traversal for other specialization types; callbacks of those types shall not lose coordinate invocations.
-
Incoming link from: 2. Equality-compatible grid hashing1
1. Exact grid equality and inequality PPL-SPEC-001251 operator== shall return true exactly when both ambient dimensions and represented sets agree. Different dimensions shall compare unequal, including empty grids in different dimensions. Inequality expressions shall be the logical negation of equality. Equal-dimensional empty grids shall compare equal, including when inconsistency has not previously been detected. Self comparison shall have the ordinary reflexive result for every admitted value.
The result shall be independent of constructor choice, generator order, redundant descriptors and the current dual-description caches.
The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
2. Equality-compatible grid hashing PPL-SPEC-001252 hash_code() shall return a value of type int32_t. Equal grid values under 🔗 1. Exact grid equality and inequality shall have equal hashes. Normalization, query history and equivalent descriptions shall not change the hash of an unchanged grid. Hash collisions shall be permitted, including between unequal values of the same dimension. The numerical hash shall not be a persistent identifier or promise a value stable across library versions or configurations.
The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
3. Exact grid containment PPL-SPEC-001253 For equal-dimensional grids, left.contains(right) shall return true exactly when γ(right) ⊆ γ(left). Every grid shall contain the empty grid; empty shall contain no nonempty grid; universe shall contain every equal-dimensional grid. Self containment shall hold. Different ambient dimensions shall throw std::invalid_argument before empty, universe or identity shortcuts. Previously undetected inconsistency shall retain the same set meaning.
The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
4. Exact strict grid containment PPL-SPEC-001254 For equal-dimensional grids, left.strictly_contains(right) shall return true exactly when γ(right) ⊊ γ(left). It shall be false for self comparison and equal sets; a nonempty grid shall strictly contain empty. Different ambient dimensions shall throw std::invalid_argument even when either operand is empty.
The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
5. Exact grid disjointness PPL-SPEC-001255 For equal-dimensional grids, left.is_disjoint_from(right) shall return true exactly when γ(left)∩γ(right) = ⌀. The result shall be symmetric. Empty shall be disjoint from every grid, including itself; no nonempty grid shall be disjoint from itself. Different ambient dimensions shall throw std::invalid_argument before shortcuts. Success shall preserve both operands even when detecting inconsistent input or incompatible periodic residues.
The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate calculations. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
Incoming link from: 7. Exact grid relation with a linear constraint1
6. Exact grid relation with a congruence PPL-SPEC-001256 relation_with(cg) shall classify the grid relative to the solution set of cg. For nonempty grids it shall report exactly one of is_included(), is_disjoint() and strictly_intersects(): respectively all points satisfy cg, no point does, or both satisfying and nonsatisfying points exist. Empty shall report is_included() && is_disjoint() && saturates(). An equality congruence shall additionally report saturates() exactly when the grid is included in its equality hyperplane. For a nonempty positive-dimensional grid and a proper congruence, the returned relation shall consist of the inclusion/disjointness/intersection assertion alone. Zero-dimensional universe shall report is_included() && saturates() for a true constant congruence and is_disjoint() for a false one.
For a nonempty generator description, let S = {a⋅x − b : x ∈ γ(G)}. If a real line has nonzero scalar image, S = R. Otherwise S = s + dZ, where s = a⋅p − b and d ≥ 0 generates the rational subgroup of parameter images and supporting-point differences. This scalar image shall determine equality and periodic intersection without depending on generator order or rational divisor representation.
A congruence dimension greater than the grid dimension shall throw std::invalid_argument before distinguished-value shortcuts. Smaller descriptors shall have zero coefficients in the remaining coordinates.
Scalar products, rational point differences and modulus/divisor products used solely for relation classification shall be exact even when their intermediates exceed the configured coefficient range. The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply; cached descriptor conversion and normalization remain subject to the configured arithmetic profile. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
7. Exact grid relation with a linear constraint PPL-SPEC-001257 relation_with(c) shall classify all points, no points or a proper nonempty subset of grid points satisfying c using is_included(), is_disjoint() or strictly_intersects(). Empty shall report is_included() && is_disjoint() && saturates(). In every case, saturates() shall be present exactly when every grid point lies on the equality hyperplane obtained from c by replacing its relation with equality. Thus a grid on the boundary of a strict inequality shall report is_disjoint() && saturates().
For nonempty grids, a nonconstant scalar image along any line, parameter or supporting-point displacement shall take values on both sides of every finite halfspace threshold. Otherwise the scalar image shall be constant and its sign shall determine strict/nonstrict satisfaction and saturation. Equality constraints shall use the exact equality-congruence meaning in 🔗 6. Exact grid relation with a congruence.
A constraint dimension greater than the grid dimension shall throw std::invalid_argument before shortcuts; omitted coefficients shall be zero. Strict boundary behavior shall apply also to constant constraints and zero dimensions.
Strict constraints extracted from NNC polyhedra shall retain their mathematical relation when queried against a larger-dimensional grid.
Scalar products, rational point differences and modulus/divisor products used solely for relation classification shall be exact even when their intermediates exceed the configured coefficient range. The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply; cached descriptor conversion and normalization remain subject to the configured arithmetic profile. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
8. Exact grid subsumption of grid generators PPL-SPEC-001258 relation_with(g) for a Grid_Generator shall return Poly_Gen_Relation::subsumes() exactly under the following conditions:
- a point denotes a member of the grid;
- for a parameter q, the grid is nonempty and every integer translate x + zq, for x ∈ γ(G) and z ∈ Z, remains in the grid;
- for a line ℓ, the grid is nonempty and every real translate x + tℓ, for t ∈ R, remains in the grid.
In all other cases it shall return Poly_Gen_Relation::nothing(). In particular, empty shall subsume no generator, including a zero parameter; this shall hold before any earlier query has detected the emptiness. Parameter steps shall use their rational divisors and shall not be confused with arbitrary real line displacements. Zero-dimensional universe shall subsume every admitted zero-dimensional grid generator. A descriptor dimension greater than the grid dimension shall throw std::invalid_argument before empty/universe shortcuts; omitted coordinates shall be zero.
The scalar-product and modulus-times-divisor calculations used solely for satisfaction tests shall be exact without a configured-coefficient range prerequisite. The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply; cached conversion and normalization intermediates remain subject to the configured arithmetic profile. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
9. Exact grid subsumption of polyhedral generators PPL-SPEC-001259 relation_with(g) for a polyhedral Generator shall return Poly_Gen_Relation::subsumes() exactly when the grid is nonempty and the following corresponding condition holds. Points and closure points shall be tested as rational point members, with the same result for identical coordinates. Lines shall be tested as arbitrary real displacements. A ray shall be subsumed exactly when its direction is an admitted real line direction of the grid; an integer parameter in that direction alone shall not suffice.
It shall return Poly_Gen_Relation::nothing() otherwise, including every empty grid before or after inconsistency detection. Zero-dimensional universe shall subsume every admitted zero-dimensional polyhedral generator. Descriptors of greater dimension than the grid shall throw std::invalid_argument before shortcuts; omitted coordinates shall be zero.
The scalar-product and modulus-times-divisor calculations used solely for satisfaction tests shall be exact without a configured-coefficient range prerequisite. The valid-use, initialization, arithmetic-profile and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply; cached conversion and normalization intermediates remain subject to the configured arithmetic profile. Logically const queries may normalize cached descriptions; success shall preserve all operands' mathematical values and ambient dimensions. Borrowed views shall follow 🔗 10. Borrowed congruence and generator views of grid values. Supported failures may propagate; surviving ownership shall permit destruction without a general rollback or subsequent-query guarantee.
-
1. Exact directional boundedness of affine expressions on grids PPL-SPEC-001265 bounds_from_above(expr) and bounds_from_below(expr) shall return true exactly when the expression is bounded in the indicated direction over the grid. Empty shall be bounded in both directions. On a nonempty grid, either both queries shall be true and the expression shall have one constant value, or both shall be false and the expression shall be unbounded in both directions.
For a generator description p + ∑iℤqi + ∑jℝlj and e(x) = a⋅x + b, boundedness shall be equivalent to a⋅qi = 0 and a⋅lj = 0 for every direction, including point differences when the description has more than one generating point. Zero coefficients shall not introduce dependence on unused directions.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
6. Exact affine-image frequency and closest value on rational grids PPL-SPEC-001270 For the affine image S = {e(x) ∣ x ∈ G}, frequency(expr,fn,fd,vn,vd) shall return false when S is empty or equals ℝ, preserving all four supplied outputs. Otherwise it shall return true and positive denominators, with both fractions reduced. If S = {c}, fn/fd shall be zero over one and vn/vd shall be c. Otherwise S shall be the coset v + dℤ where d = fn ⁄ fd > 0 is its unique positive period generating all differences and v = vn ⁄ vd ∈ S has minimum absolute value. Either sign shall be permitted when two values tie.
A line with nonzero homogeneous objective image shall make the frequency undefined. Otherwise the positive period shall be the rational greatest common divisor of the parameter images and generating-point differences; a zero period shall mean the objective is constant. The objective's constant term shall translate the coset without changing its period. Zero-dimensional universe shall report zero frequency and the constant expression value.
For a bounded coefficient profile, generator scalar products, translated point values, parameter gcds and closest-residue selection shall use exact working integers until both output fractions are reduced. Only the final reduced numerators and denominators shall require coefficient admission. A machine-carrier overflow shall promote the working arithmetic without truncation. Stored grid descriptions remain subject to their profile limits.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
8. Ambient and affine grid dimensions PPL-SPEC-001248 space_dimension() shall report the ambient dimension without changing the represented grid. affine_dimension() shall return zero for empty and zero-dimensional grids; otherwise it shall return the dimension of the least affine subspace containing the grid. For a nonempty generator description this shall equal the rational rank of its line directions, parameter directions and supporting-point differences.
The answer shall be independent of the current dual representation, redundant input rows, generator order and prior normalization.
The lifetime, initialization, arithmetic and synchronization prerequisites in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply. A logically const operation may update cached representations while preserving the represented grid and ambient dimension. Supported arithmetic and allocation failures may propagate through their declared channels; surviving ownership shall permit safe destruction, without a general rollback guarantee.
-
9. Exact foundational grid classification PPL-SPEC-001249 The following queries shall make exact decisions on admitted grid values:
- is_empty() shall return true exactly for the empty represented set.
- is_universe() shall return true exactly for all of the ambient real coordinate space.
- is_bounded() shall return true exactly for empty or singleton grids.
- is_discrete() shall return true exactly when every represented point is isolated; empty shall be discrete. In a nonempty rational generator description this is equivalent to the absence of nonzero line directions.
- is_topologically_closed() shall return true for every rational grid.
- contains_integer_point() shall return true exactly when the grid intersects Zn; zero-dimensional universe shall contain the integer empty tuple and zero-dimensional empty shall contain none.
- constrains(v) shall return true exactly when independently varying coordinate v can leave the grid. Empty shall constrain every in-range coordinate. An out-of-range coordinate shall throw std::invalid_argument before an empty/universe shortcut.
Answers shall not depend on generator insertion order or whether the current congruence/generator descriptions have been normalized. A periodic restriction shall not be mistaken for an interval bound or a continuous free coordinate.
The lifetime, initialization, arithmetic and synchronization prerequisites in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply. A logically const operation may update cached representations while preserving the represented grid and ambient dimension. Supported arithmetic and allocation failures may propagate through their declared channels; surviving ownership shall permit safe destruction, without a general rollback guarantee.
-
3. Certified real set-theoretic union of octagonal values PPL-SPEC-001173 upper_bound_assign_if_exact(y) shall return true only when it replaces the receiver by the exact real union X∪Y of the entry sets. On false, the receiver's represented set shall remain X; internal normalization of either argument may still occur.
With mpq_class boundaries, the decision shall be complete: it shall return true if and only if X∪Y is an octagonal set. Other supported profiles may return false when rounded computation cannot certify exactness, even when the union is octagonal. This includes rational half-sum rounding with mpz_class boundaries. Such an inconclusive false shall not assert that a non-octagonal union has been found.
Successful union shall retain every real point of either input, rather than only its integer points. No success result may fill a missing real point.
The operands shall have equal ambient dimensions; a mismatch shall throw std::invalid_argument before changing either represented set. Empty, universe, lower-dimensional and zero-dimensional values shall be admitted. Self-aliasing shall use the entry value for both operands. A distinct y shall preserve its entry represented set on normal return, including a Boolean false return. Logically const normalization may change caches without changing the source set. The receiver shall own its result independently of a distinct source's later mutation or destruction.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
4. Exact integer-point unions of octagonal values PPL-SPEC-001174 integer_upper_bound_assign_if_exact(y) shall be available when T is a supported integral boundary type. Let I = (X∪Y)∩Zn for the entry real sets X, Y, and let H(I) be their integer upper bound: the smallest rational octagonal set containing I. The call shall return true if and only if H(I)∩Zn = I; on true it shall replace the receiver by that integer upper bound. On false it shall preserve the receiver's entry represented set. Cache normalization shall not count as a set change.
Exactness shall concern integer valuations. The result may include nonintegral points absent from both operands and may remove fractional portions of the entry real sets. For example, the integer union of real singletons at zero and one shall have integer upper bound [0, 1]. A nonempty half-integral real input may contain no integer point; if neither operand has an integer point, the integer upper bound shall be empty and the decision shall be true. Integer storage shall continue to have the real carrier in 🔗 1. Octagonal values, numerical profiles and valid use.
The operands shall have equal ambient dimensions; a mismatch shall throw std::invalid_argument before changing either represented set. Empty, universe, lower-dimensional and zero-dimensional values shall be admitted. Self-aliasing shall use the entry value for both operands. A distinct y shall preserve its entry represented set on normal return, including a Boolean false return. Logically const normalization may change caches without changing the source set. The receiver shall own its result independently of a distinct source's later mutation or destruction.
The valid-use, numerical-profile, initialization, supported native floating runtime and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. All operands shall remain live and valid during the call. The implementation shall respect the preconditions of its selected numerical policies in intermediate operations on admitted inputs. The ambient dimension and coordinate identities shall be preserved.
Declared numerical, allocation and cooperative-abandonment exceptions may propagate. Temporary resources acquired by the operation shall be released on exceptional return. After these exceptions the receiver shall remain safely destructible; its entry represented set need not be preserved.
-
8. Ambient and affine dimension of octagonal values PPL-SPEC-001153 space_dimension() shall return the ambient coordinate count independently of emptiness and affine restrictions. affine_dimension() shall return zero for empty and otherwise the dimension of the smallest affine subspace containing the represented real set. Both zero-dimensional values shall have affine dimension zero.
Implied unary equalities, signed-sum and signed-difference equalities and redundant equality chains shall contribute according to their independent rank. Rounded graph bounds shall not certify an equality that the represented set does not satisfy. Fractional fixed coordinates shall count as fixed even under integer storage.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
9. Owned constraint and affine-equality exports of octagonal values PPL-SPEC-001154 constraints() shall return an owned constraint system of the same ambient dimension whose conjunction equals the represented real set. minimized_constraints() shall additionally give an irredundant defining conjunction: removing any returned nontrivial row shall enlarge that set. A particular row order, equality orientation or unique minimal cardinality shall not be required. Stored unary halves and all finite signed bounds shall retain their exact mathematical values in the exported descriptors.
congruences() and minimized_congruences() shall return owned equality congruences defining the receiver's affine hull, with the same ambient and affine dimensions. Their nonempty equality system shall form an independent basis of its affine restrictions. They shall not replace inequalities by periodic conditions. Empty shall export inconsistency; zero-dimensional universe shall export a tautological conjunction.
All returned systems shall remain usable after source mutation or destruction. Source normalization shall preserve its represented set, including for rounded and integer half-sum profiles. Export coefficients shall meet the configured Coefficient output range prerequisites.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
10. Ordinary classification of octagonal values PPL-SPEC-001155 The ordinary classification calls shall decide their named mathematical properties of the represented real set: emptiness, universe, discreteness, boundedness, topological closure and existence of an integer point. Every octagonal shape shall be topologically closed. A nonempty convex shape shall be discrete exactly when it is a singleton. Empty shall be discrete and bounded and shall contain no integer point. Zero-dimensional universe shall be nonempty, universe, bounded and discrete and contain its integer empty tuple.
contains_integer_point() shall decide intersection with Zn, independently of the stored coefficient type. A nonempty half-integral singleton shall therefore have no integer point, including when its doubled unary bounds are stored as integers.
constrains(var) shall report whether that coordinate is restricted, including by a binary relation: the set is unrestricted in that coordinate exactly when it is invariant under every translation along the coordinate axis. Empty shall constrain every valid coordinate. A variable beyond the ambient dimension shall throw std::invalid_argument.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
11. Octagonal set relations, equality and compatible hashes PPL-SPEC-001156 For compatible dimensions, contains(y) shall be true exactly when every point of y belongs to the receiver, strictly_contains(y) exactly for proper set containment, and is_disjoint_from(y) exactly when their intersection is empty. These calls shall throw std::invalid_argument when the ambient dimensions differ. A nonempty set shall strictly contain empty, including in zero dimensions; equal sets shall never strictly contain one another.
Free equality shall compare ambient dimension and the represented set, and inequality shall be its logical negation. Different dimensions shall compare unequal without throwing. Equal values shall have equal hash_code() results; unequal values may collide. Mathematical equality shall not depend on row insertion order or the existence of one canonical rounded matrix.
A stored bound of the inner octagon that is at least as tight as the corresponding outer bound certifies that inequality. If rounded or saturated closure leaves a weaker bound, decide the inequality using the exact support of the stored inner octagon, including the strong-coherence half-sum.
Both operands' values and dimensions shall be preserved. The same owned shape may be supplied on both sides; containment/equality shall then be true and proper containment false, while self-disjointness shall mean emptiness.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
12. Relations between octagonal values and linear constraints PPL-SPEC-001157 relation_with(c) shall return the exact Poly_Con_Relation flags of the represented set relative to c under 🔗 1. Constraint-relation assertion values and named factories. Inclusion shall mean every source point satisfies the row, disjointness that none does, and saturation that its affine expression is zero throughout the source. Strict intersection shall retain its declared logical meaning. Empty and constant-row cases shall retain the simultaneous flags implied by those meanings.
The supplied linear row need not have octagonal syntax and may be weak, strict or an equality. Its dimension shall not exceed the receiver's; otherwise the call shall throw std::invalid_argument. The descriptor and source value shall be preserved. Rounded outer extrema alone shall not justify a relation flag that is false of the represented set.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
13. Relations between octagonal values and linear congruences PPL-SPEC-001158 relation_with(cg) shall classify the represented real set using Poly_Con_Relation. Modulus zero shall have equality meaning. For a proper modulus, inclusion shall mean every source point satisfies the periodic condition; disjointness shall mean none does. For a nonempty source, saturation shall mean that its affine image is one value in the eligible modulus lattice, including a nonzero lattice value. Other overlapping cases shall use the declared strict-intersection flag. Empty shall retain its set-theoretic simultaneous flags.
General admitted affine congruences shall be queryable even when their solution sets cannot be represented by an octagonal shape. The call shall throw std::invalid_argument when the descriptor dimension exceeds the source's. The descriptor and represented set shall be preserved. The decision shall use real convex points rather than an integer-only reinterpretation of integer bound storage.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
14. Subsumption of geometric generators by octagonal values PPL-SPEC-001159 relation_with(g) shall report Poly_Gen_Relation::subsumes() exactly when the represented set subsumes g under 🔗 6. Generator-relation assertion values and named factories, and nothing() otherwise. Points and closure points shall use their exact rational coordinates; their membership tests shall agree because the domain is topologically closed. A ray direction r shall satisfy a⋅r ≤ 0 for every defining inequality a⋅x ≤ b; a line direction shall satisfy the corresponding equalities a⋅r = 0.
Empty shall subsume no generator. A lower-dimensional generator shall have zero trailing coordinates. A generator exceeding the source dimension shall throw std::invalid_argument. The descriptor and source value shall be preserved.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
16. Constant affine values and zero frequency on octagonal sets PPL-SPEC-001161 frequency(expr,fn,fd,vn,vd) shall return true exactly when the nonempty represented set assigns one unique real value to expr. On success, fn/fd shall be 0/1 and vn/vd shall equal that exact constant, with a positive denominator. A nonconstant or empty source shall return false and leave all four scalar outputs unchanged. Constant expressions and zero-dimensional universe shall obey the same rule.
Signed equality substitution and fractional fixed coordinates shall retain their mathematical values. Inexact closure bounds shall not establish a constant expression unless it truly is constant on the represented set. The call shall throw std::invalid_argument if the expression dimension exceeds the source dimension. The four scalar output objects shall be pairwise distinct and satisfy their configured Coefficient range prerequisites. The expression and represented set shall be preserved.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
1. Pointset-powerset empty and universe queries PPL-SPEC-001399 is_empty shall return true exactly when every stored disjunct is empty, including the empty collection. is_universe shall return true exactly when a stored disjunct denotes universe; it may remove other disjuncts when such a disjunct is found. A union that covers the whole ambient space without a universe disjunct need not make this structural universe query true; geometric coverage shall be used for that semantic comparison.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Pointset-powerset structural shape queries PPL-SPEC-001401 Boundedness and discreteness shall hold exactly when they hold for all stored disjuncts. contains_integer_point shall hold when some disjunct contains one. is_topologically_closed shall reduce and report whether all remaining disjuncts are closed; false may be conservative when several nonclosed disjuncts jointly form a closed union. constrains(v) shall validate the variable, reduce, and report true for empty or when some remaining disjunct constrains v. It may conservatively report true for a union that is cylindrically unconstrained. Invalid v shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
4. Pointset-powerset structural set relations PPL-SPEC-001402 contains(y) shall return true exactly when each stored y disjunct is contained in some receiver disjunct. strictly_contains(y) shall first reduce the receiver, then require each stored y disjunct to be strictly contained in some remaining receiver disjunct. The latter universal condition is true for an empty stored y collection, including an empty receiver. Neither result shall be substituted for strict geometric containment of represented unions. Dimension-incompatible operands shall throw std::invalid_argument.
is_disjoint_from(y) shall apply the selected base domain's disjointness predicate to each pair of retained receiver and source disjuncts. It shall return true exactly when every pair reports disjointness. For a base satisfying an exact disjointness contract, this shall decide whether the two represented unions have empty intersection, independently of their decomposition. An empty stored collection shall be disjoint from every dimension-compatible powerset. Stored bottom disjuncts and self-aliasing shall retain the base predicate's meaning. The query shall preserve the stored collections and represented values; logically const component queries may update their permitted caches. Incompatible ambient dimensions shall throw std::invalid_argument before pair visitation, including when both collections are empty.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
5. Geometric powerset coverage and equality PPL-SPEC-001403 geometrically_covers(y) shall decide whether the receiver union contains the y union. geometrically_equals shall decide mutual geometric coverage, independently of decomposition or redundant storage. check_containment(p,ps) shall decide whether the union ps contains p. NNC polyhedra shall use exact polyhedral partitioning; supported convex base domains shall use exact conversion to NNC polyhedra. Grids shall use their specialized finite-coset coverage procedure. Arithmetic preconditions shall hold throughout all partitions. Ambient dimensions shall agree; incompatible operands shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
6. Pointset-powerset directional bound tests PPL-SPEC-001404 Directional bound tests shall reduce, then return true exactly when every remaining disjunct bounds the expression in that direction. Empty shall be bounded in either direction. For nonempty collections, the expression's ambient dimension shall be admitted by every disjunct; invalid dimensions shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
7. Pointset-powerset extrema and witnesses PPL-SPEC-001405 Maximization and minimization shall fail for empty or directionally unbounded unions, leaving all outputs unchanged on a false return. Otherwise they shall return the greatest disjunct supremum or least disjunct infimum as an exact rational with positive denominator. The attainment flag shall be true when at least one disjunct attaining the selected bound includes its optimum. A witness overload shall select an included point when the union attains the bound and otherwise a closure point of a contributing disjunct. The witness shall attain the returned bound in the corresponding union or its closure. Expression dimension admission and arithmetic shall follow the base extrema members; independently writable output objects shall be required.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
8. Pointset-powerset descriptor relations PPL-SPEC-001406 Constraint and congruence relations shall combine disjunct relations: inclusion, disjointness and saturation shall each require that flag from every disjunct. Strict intersection shall be reported when a disjunct strictly intersects or when nonempty included and disjoint disjuncts occur. Empty disjuncts shall not supply a strict-intersection witness. Generator subsumption shall be reported when at least one disjunct subsumes it, using base generator semantics. Empty collections shall give the vacuous inclusion, disjointness and saturation flags and no generator subsumption. Invalid descriptor dimensions shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
1. Polyhedron ambient and affine dimensions PPL-SPEC-001326 space_dimension() shall return the ambient dimension without changing the represented value. affine_dimension() shall return zero for empty and otherwise the dimension of the smallest affine space containing the receiver. It shall count excluded closure points only through the affine hull they share with included points, and shall preserve the 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.
-
4. Exact elementary polyhedral predicates PPL-SPEC-001329 The predicates shall decide, respectively, emptiness, equality with the ambient universe, topological closedness as a real pointset, discreteness and boundedness. Discreteness shall mean affine dimension zero; thus empty and singletons shall be discrete. Empty shall be bounded and closed. NNC storage shall not itself imply that the set is nonclosed. Pending or nonminimal descriptions shall not change these decisions.
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.
-
Incoming link from: 1. Selected-coordinate integer-point existence1
5. Exact integer-point existence in polyhedra PPL-SPEC-001330 contains_integer_point() shall return true exactly when the receiver contains a tuple integral in every coordinate. Empty shall return false and zero-dimensional universe true. Excluded boundary points of an NNC polyhedron shall not count. The decision 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.
-
6. Polyhedral set comparison and hashing PPL-SPEC-001331 For equal dimensions and compatible topologies, containment, strict containment, equality and disjointness shall decide the corresponding exact set relations. Containment shall include equality; strict containment shall exclude it. Empty-set relations shall follow set theory. Incompatible dimensions or topologies shall throw std::invalid_argument for the binary member queries; equality shall return false for unequal dimensions or topologies. Inequality expressions shall negate equality. Equal values shall have equal hashes; hash collisions shall not establish equality. Representation history shall not affect these results.
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.
-
Incoming link from: 9. Exact polyhedron relation with a congruence1
7. Exact polyhedron relation with a constraint PPL-SPEC-001332 relation_with(c) shall classify the exact intersection with the set satisfying c. It shall include is_included() exactly when every receiver point satisfies c, is_disjoint() exactly when none does, and strictly_intersects() when some satisfy it and some do not. It shall include saturates() exactly when every receiver point satisfies the boundary equality of c. Empty shall therefore be included, disjoint and saturating. Excess descriptor dimension shall throw std::invalid_argument.
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.
-
8. Exact polyhedron relation with a generator PPL-SPEC-001333 relation_with(g) shall return subsumes() exactly when an included point belongs to the receiver, a closure point belongs to its closure, a ray is a recession direction, or a line is a two-sided recession direction, according to g's kind. Otherwise it shall return nothing(). Empty shall subsume no generator. Excess dimension shall throw std::invalid_argument; shorter generators shall use zero trailing 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.
-
9. Exact polyhedron relation with a congruence PPL-SPEC-001334 Equality congruences shall use the constraint relation in 🔗 7. Exact polyhedron relation with a constraint. For a proper congruence, is_included() shall mean that every point satisfies it, is_disjoint() that none does, and strictly_intersects() that some but not all do. A nonempty polyhedron with a nonconstant congruence expression can be included only when the expression is constant at an admitted residue; that case shall also be saturates(). An excluded closure point shall not establish an intersection. Empty shall be included, disjoint and saturating. Constant congruences shall retain their arithmetic truth value. Excess dimension shall throw std::invalid_argument.
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.
-
10. Polyhedral coordinate and expression boundedness PPL-SPEC-001335 For a nonempty receiver, constrains(v) shall return true exactly when it differs from its cylindrification in coordinate v. Empty shall return true for an admitted coordinate. bounds_from_above(e) and bounds_from_below(e) shall decide existence of finite upper and lower bounds for the affine expression; both shall return true for empty. A constant expression shall be bounded on every receiver. An invalid coordinate or excess expression dimension shall throw std::invalid_argument.
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.
-
11. Exact rational polyhedral extrema and witnesses PPL-SPEC-001336 Maximization and minimization shall return true exactly when the receiver is nonempty and the expression has a finite supremum or infimum. On true, numerator and positive denominator shall represent that exact rational bound; the attainment flag shall say whether it belongs to the expression's image. The witness overload shall return an included point attaining the bound when attained, otherwise a closure point of the receiver attaining that bound. On false all scalar, flag and witness outputs shall remain unchanged. An excess expression dimension shall throw std::invalid_argument. The receiver's set and external expression shall be preserved. Bounded-coefficient generator scalar products and extremum comparisons shall use exact working arithmetic until the final translated rational extremum is reduced. Comparison-only values and unreduced numerators shall not require coefficient admission; the returned numerator and denominator shall.
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.
-
12. Constant affine-expression frequency in polyhedra PPL-SPEC-001337 frequency(e,...) shall return true exactly when the receiver is nonempty and the expression takes a single value on it. On true, frequency shall be 0/1 and the value outputs shall represent that exact rational value with positive denominator. On false all four outputs shall remain unchanged. Excess expression dimension shall throw std::invalid_argument. A nonconstant expression on a convex set shall not be reported as a positive discrete frequency.
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. Component-based product property tests PPL-SPEC-001444 After policy reduction, emptiness shall test whether either component is empty; boundedness and discreteness shall test whether either component has the property; topological closure shall test whether both do. Universe shall test whether both components are universe. Disjointness shall test whether corresponding first components or corresponding second components are disjoint. Directional bound tests and constrains shall use the logical OR of the two component results. Except for exact universe characterization, these shall retain their stated component scope: a negative emptiness, boundedness, discreteness or disjointness result shall not refute the corresponding concrete property of the intersection. Component dimension/variable admission shall apply; invalid dimensions shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Component-based product descriptor relations PPL-SPEC-001445 Constraint and congruence relations shall reduce, then include each is_included, is_disjoint or saturates flag when either component reports it. They shall not infer strict intersection from component strict intersection. Generator subsumption shall require subsumption by both components. The flags shall retain the base descriptor meanings and may be incomplete for the full intersection. Descriptor dimension incompatibility shall throw std::invalid_argument.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
4. Component-selected product bounds and witnesses PPL-SPEC-001446 Extremum queries shall reduce and return false if a component is empty or neither component provides a directional bound; outputs shall then remain unchanged. Otherwise maximization shall choose the smaller available component supremum and minimization the larger component infimum. Equal bounds shall prefer a component not attaining that bound. Success shall return its rational bound with positive denominator, attainment flag and, for witness overloads, its corresponding point or closure point. Neither success, attainment nor the witness shall establish nonemptiness or optimum attainment in the product intersection; the selected witness need not satisfy the other component. Comparison of representable component bounds shall be exact even when their cross-products exceed the configured coefficient range. Expression dimensions and independently writable outputs shall satisfy both component contracts.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
5. Product component order and equality PPL-SPEC-001447 Containment shall reduce both operands and require containment for both corresponding component pairs. Strict containment shall additionally require strictness for at least one pair. Equality shall require both component equalities after reduction; inequality shall negate it. These are component-order and equality tests, which may distinguish equal represented intersections. Componentwise strictness shall not prove strictness of concrete intersection inclusion. Dimension admission shall follow the component tests.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
Incoming links from: 12. Relations between bounded-difference values and linear constraints 12. Relations between octagonal values and linear constraints 2. Constraint-relation value copying and lifetime 3. Constraint-relation conjunction, subtraction and implication 4. Constraint-relation flag encoding and validity 5. Constraint-relation textual output and stream failures6
1. Constraint-relation assertion values and named factories PPL-SPEC-000541 Poly_Con_Relation shall represent a finite set A of named assertions. nothing() shall return the empty assertion set. The factories is_disjoint(), strictly_intersects(), is_included(), saturates() shall return the corresponding singleton sets. The four atoms shall assert, respectively, disjointness from the constraint satisfying set, intersection without inclusion in that set, inclusion in that set, and vanishing of the constraint's affine expression at every represented point. A domain query shall supply the interpretation applicable to its accepted descriptor and domain.
Every subset of the named atoms shall be a valid value, including combinations that cannot describe a particular nonempty geometric object. An empty assertion set shall state no fact; absence of an atom shall not assert its negation. Operations on these values shall require live initialized objects and synchronized access against mutation. They shall require no library or thread initialization owner, coefficient-constant stage or FPU setup. Numerical coefficient limits shall not restrict the assertion algebra.
-
2. Constraint-relation value copying and lifetime PPL-SPEC-000542 Copy construction and assignment of Poly_Con_Relation shall preserve exactly the source assertion set. Assignment shall return the destination reference and admit self-assignment. Later assignment of either object shall leave the other unchanged, and either object shall remain usable after destruction of its source or copy. Destruction shall require no external lifetime owner. An rvalue may be copied; it shall not require an empty moved-from source. The validity and initialization prerequisites in 🔗 1. Constraint-relation assertion values and named factories shall apply.
-
3. Constraint-relation conjunction, subtraction and implication PPL-SPEC-000543 For assertion sets A and B represented by x and y, x && y shall represent A∪B, and x - y shall represent A⧵B. x.implies(y) shall return true exactly when B ⊆ A. Equality shall return true exactly when A = B; inequality shall be its logical negation. These operations shall preserve both operands and admit the same object in both positions.
Implication shall inspect asserted membership only: it shall neither infer additional geometric facts from an atom nor use inconsistent combinations to infer unstored atoms. Subtracting an absent assertion shall have no effect; subtracting a value from itself shall yield nothing(). The prerequisites in 🔗 1. Constraint-relation assertion values and named factories shall apply.
-
4. Constraint-relation flag encoding and validity PPL-SPEC-000544 get_flags() shall return the unsigned bitwise union of the masks of exactly the stored atoms. nothing() shall have mask zero. is_disjoint(), strictly_intersects(), is_included() and saturates() shall have masks 1, 2, 4 and 8, respectively. OK() shall return true for every value obtained from named factories, copying, assignment and the assertion algebra. Both queries shall preserve the value. Their prerequisites shall follow 🔗 1. Constraint-relation assertion values and named factories.
-
5. Constraint-relation textual output and stream failures PPL-SPEC-000545 Stream output and ascii_dump(s) shall emit exactly the stored assertion names in the order IS_DISJOINT, STRICTLY_INTERSECTS, IS_INCLUDED, SATURATES, separated by `` & `` when more than one is present. The empty set shall emit NOTHING. No trailing separator, newline or numeric flag mask shall be added. The insertion operator shall return the same stream reference. No-argument ascii_dump() and print() shall emit the same representation to std::cerr.
Output shall preserve the relation value and stream formatting flags and precision; any pending field width shall follow ordinary string-insertion semantics. Stream errors shall follow the stream's error-state and exception-mask rules; a reported stream failure need not roll back bytes already emitted. Calls shall require valid live streams and the prerequisites in 🔗 1. Constraint-relation assertion values and named factories, with caller synchronization for shared output streams. Text output shall not provide a corresponding relation-value input operation.
-
Incoming links from: 14. Subsumption of geometric generators by bounded-difference values 14. Subsumption of geometric generators by octagonal values 7. Generator-relation value copying and lifetime 8. Generator-relation conjunction, subtraction and implication 9. Generator-relation flag encoding and validity 10. Generator-relation textual output and stream failures6
6. Generator-relation assertion values and named factories PPL-SPEC-000546 Poly_Gen_Relation shall represent a finite set A of named assertions. nothing() shall return the empty assertion set. The factories subsumes() shall return the corresponding singleton sets. The atom shall assert that adding the generator would not change the represented set, under the applicable domain and generator-kind interpretation.
The empty assertion set and the singleton subsumption assertion shall both be valid values. The empty set shall state no fact; absence of the subsumption assertion shall not assert its negation. Operations on these values shall require live initialized objects and synchronized access against mutation. They shall require no library or thread initialization owner, coefficient-constant stage or FPU setup. Numerical coefficient limits shall not restrict the assertion algebra.
-
7. Generator-relation value copying and lifetime PPL-SPEC-000547 Copy construction and assignment of Poly_Gen_Relation shall preserve exactly the source assertion set. Assignment shall return the destination reference and admit self-assignment. Later assignment of either object shall leave the other unchanged, and either object shall remain usable after destruction of its source or copy. Destruction shall require no external lifetime owner. An rvalue may be copied; it shall not require an empty moved-from source. The validity and initialization prerequisites in 🔗 6. Generator-relation assertion values and named factories shall apply.
-
8. Generator-relation conjunction, subtraction and implication PPL-SPEC-000548 For assertion sets A and B represented by x and y, x && y shall represent A∪B, and x - y shall represent A⧵B. x.implies(y) shall return true exactly when B ⊆ A. Equality shall return true exactly when A = B; inequality shall be its logical negation. These operations shall preserve both operands and admit the same object in both positions.
Implication shall inspect asserted membership only: it shall neither infer additional geometric facts from an atom nor use inconsistent combinations to infer unstored atoms. Subtracting an absent assertion shall have no effect; subtracting a value from itself shall yield nothing(). The prerequisites in 🔗 6. Generator-relation assertion values and named factories shall apply.
-
9. Generator-relation flag encoding and validity PPL-SPEC-000549 get_flags() shall return the unsigned bitwise union of the masks of exactly the stored atoms. nothing() shall have mask zero. subsumes() shall have mask 1. OK() shall return true for every value obtained from named factories, copying, assignment and the assertion algebra. Both queries shall preserve the value. Their prerequisites shall follow 🔗 6. Generator-relation assertion values and named factories.
-
10. Generator-relation textual output and stream failures PPL-SPEC-000550 Stream output and ascii_dump(s) shall emit exactly the stored assertion as SUBSUMES for the singleton subsumption assertion. The empty set shall emit NOTHING. No trailing separator, newline or numeric flag mask shall be added. The insertion operator shall return the same stream reference. No-argument ascii_dump() and print() shall emit the same representation to std::cerr.
Output shall preserve the relation value and stream formatting flags and precision; any pending field width shall follow ordinary string-insertion semantics. Stream errors shall follow the stream's error-state and exception-mask rules; a reported stream failure need not roll back bytes already emitted. Calls shall require valid live streams and the prerequisites in 🔗 6. Generator-relation assertion values and named factories, with caller synchronization for shared output streams. Text output shall not provide a corresponding relation-value input operation.
-
2. Primitive numerical abstractions PPL-HLR-000002 PPL shall provide intervals and boxes, closed and not necessarily closed convex polyhedra, grids, bounded difference shapes, and octagonal shapes, together with operations whose semantic effects and precision guarantees are defined for each abstraction.
-
3. Disjunctions and combinations of numerical abstractions PPL-HLR-000003 PPL shall support finite disjunctions and combinations of numerical abstractions, with a defined relationship between the represented set and the meanings of the constituent domain elements.
PPL shall provide directional-bound and extremum queries for the documented supported pointset domains. Under the arithmetic preconditions, a reported upper bound shall bound all admitted objective values from above and a lower bound shall bound them from below. The per-domain result contract shall distinguish a conservative bound from an established supremum or infimum and shall identify whether success, attainment and any witness concern the represented set or only a supplying component.
-
2. C generated domain observations PPL-SPEC-001555 Predicates, containment/equality, dimension and relation queries shall return the corresponding native outcomes or flags. Bounds, optimization and frequency functions shall assign their native exact or sound values and admitted witnesses only when their operation reports success. Caller-supplied coefficient/witness outputs shall obey native nonaliasing restrictions. False or inconclusive results shall not be interpreted as a numerical proof beyond the native contract.
The selected-coordinate integer-point query shall decide existence with exactly the listed coordinates integral and all others real. An empty list shall test ordinary feasibility. Out-of-space indices shall be rejected and the represented input shall be preserved, as specified in 🔗 1. Selected-coordinate integer-point existence.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
-
15. Affine boundedness, extrema and witnesses on bounded-difference values PPL-SPEC-001070 bounds_from_above and bounds_from_below shall decide whether the supplied affine form has a finite corresponding bound on the receiver, and shall return true in both directions for empty, including zero-dimensional empty. Zero-dimensional universe shall likewise bound every admitted constant form. The form's dimension shall not exceed the receiver's; otherwise these calls and extrema overloads shall throw std::invalid_argument.
For nonempty shapes and unbounded exact bound arithmetic, extrema calls shall return true exactly when the requested extremum is finite, and shall return its exact rational value with positive canonical denominator. Every finite extremum of this closed polyhedral set shall be attained. On false, supplied outputs shall retain their entry values.
For bound profiles whose closure arithmetic rounds or overflows, the overload without a witness may use an outward closure bound for bounded-difference objectives: its returned maximum value shall be an upper approximation of the true supremum and its returned minimum a lower approximation of the true infimum. Overflow may prevent detecting a finite bound. General affine objectives and witness overloads shall use the represented constraint set's exact optimization contract. The attainment flag shall concern the actual extremum, rather than certify attainment of an approximate numerical bound.
On successful witness calls, g shall identify an ordinary point in the represented set attaining the returned exact extremum. Constant affine forms and zero-dimensional values shall retain their exact meanings. Numerator/denominator output objects shall be distinct; the witness and scalar outputs shall obey their ordinary ownership and range prerequisites.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
16. Constant affine values and zero frequency on bounded-difference sets PPL-SPEC-001071 frequency(expr,fn,fd,vn,vd) shall return true exactly when the nonempty receiver assigns one unique real value to the affine expression. On true, fn/fd shall be 0/1 and vn/vd shall be that exact constant with positive canonical denominator. Nonconstant and empty cases shall return false and leave all four outputs unchanged. Constant expressions and zero-dimensional universe shall follow the same rule. An expression dimension above the receiver's shall throw std::invalid_argument. The four scalar output objects shall be pairwise distinct.
The validity, lifetime, arithmetic, range, rounding and synchronization prerequisites in 🔗 1. Bounded-difference values, numerical profiles and valid use shall apply. Logically const normalization may update caches but shall preserve the represented set and ambient dimension. Underlying supported numerical or allocation failures may propagate through their declared channels. Failure during construction shall release resources owned by the incomplete shape. Failure of a mutating operation shall retain the ownership needed for safe destruction; a general rollback guarantee shall not be inferred.
-
1. Exact extraction of individual box boundaries PPL-SPEC-001030 For a nonempty receiver and a variable var within its ambient dimension, has_lower_bound(var,n,d,closed) shall return true exactly when that factor has a finite lower boundary. On true, n ⁄ d shall be its exact infimum, with d > 0, coprime numerator and denominator, and denominator one when the numerator is zero. closed shall state whether that boundary belongs to the factor. has_upper_bound shall give the corresponding exact supremum and upper boundary inclusion. On false, all supplied output objects shall retain their values. Numerator and denominator outputs shall be distinct.
These calls shall require the stated nonempty and coordinate-validity preconditions; they shall not promise validation or a specified outcome outside them. The represented box and ambient dimension shall remain unchanged. The profile, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Finite endpoint conversion and coefficient assignment shall retain the selected numerical policy's range and exception conditions; an exception shall not imply rollback of outputs already assigned. Valid use shall impose no additional initialization requirement beyond the selected numerical facilities.
-
3. Affine boundedness, extrema and witnesses on boxes PPL-SPEC-001032 bounds_from_above(expr) and bounds_from_below(expr) shall decide exactly whether the affine expression's values over the receiver are bounded in the indicated direction. Empty shall be bounded in both directions. Zero coefficients shall not make an otherwise bounded objective unbounded because of unused coordinate factors.
maximize shall return true exactly when the receiver is nonempty and the objective is bounded above. On true, its numerator and positive denominator shall give the exact supremum as a reduced fraction, and maximum shall be true exactly when some receiver point attains it. minimize shall analogously report the exact infimum and attainment. A constant objective on any nonempty box shall be attained, including in zero dimensions. Ordinary false shall preserve every supplied output. Numerator and denominator outputs shall be distinct.
The generator overloads shall additionally return a point in the receiver when the extremum is attained, and a closure point in its topological closure when it is not attained. Its coordinates, including coordinates absent from the expression, shall satisfy the respective membership condition, and its objective value shall equal the reported extremum. Omitted generator coordinates shall have their declared zero-extension meaning. A witness shall not be accepted merely because it gives the correct objective value.
An expression's ambient dimension greater than the box dimension shall throw std::invalid_argument before changing outputs, including for an empty receiver or a constant expression with excess declared dimension. The represented box, its dimension and the supplied expression shall retain their values. The profile, numerical, lifetime and synchronization conditions of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Expressions and generators shall retain their descriptor prerequisites; creating output generators and reporting dimension errors shall retain the context of 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization. Numerical intermediate and output representability shall follow the selected coefficient profile. Reported allocation or numerical exceptions may leave outputs partly assigned; ordinary false-result preservation shall not imply exception rollback.
-
6. Ambient and affine box dimension queries PPL-SPEC-000956 space_dimension() shall return the ambient coordinate count, including for empty boxes. affine_dimension() shall return zero for empty boxes; otherwise it shall equal the number of nonsingleton coordinate factors over the ordinary real carrier. Both empty and universe in ambient dimension zero shall therefore have affine dimension zero. These queries shall not change the represented set or ambient dimension.
The validity, synchronization, numerical and runtime prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Underlying allocation or endpoint failure shall retain its own guarantees; no general rollback promise shall be inferred.
-
Incoming link from: 11. Explicit empty box assignment1
9. Exact ordinary box classification PPL-SPEC-000959 The following Boolean queries shall report exact properties of the represented ordinary real Cartesian set. is_empty() shall decide emptiness and is_universe() equality with the ambient universe. is_topologically_closed() shall decide topological closure; is_bounded() shall decide boundedness; is_discrete() shall be true exactly for empty boxes or products of singleton factors. contains_integer_point() shall be true exactly when the product contains an integer-coordinate point. In dimension zero the universe shall be nonempty, closed, bounded, discrete and contain the empty integer tuple; empty shall be closed, bounded, discrete and contain no integer point.
constrains(v) shall be true for empty boxes and, for a nonempty box, exactly when that coordinate's factor differs from universe. A variable outside the ambient dimension shall throw std::invalid_argument. Queries may establish cached facts without changing the mathematical set.
The validity, synchronization, numerical and runtime prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Underlying allocation or endpoint failure shall retain its own guarantees; no general rollback promise shall be inferred.
-
10. Box set relations, dimension-sensitive equality and compatible hashes PPL-SPEC-000960 For equal ambient dimensions, contains(y) shall decide Y ⊆ X, strictly_contains(y) proper inclusion and is_disjoint_from(y) empty intersection. Empty sets and zero-dimensional sets shall follow their ordinary set meanings. These methods shall throw std::invalid_argument when ambient dimensions differ, including for empty operands.
Free equality shall be true exactly for boxes with equal dimensions and equal represented sets; different dimensions shall compare unequal without a dimension exception. Free inequality shall negate equality. Equal boxes shall have equal hash_code() values; collisions between unequal boxes shall be permitted. Relations and hashing shall leave mathematical values unchanged and shall not depend on distinct cached evaluation histories.
The validity, synchronization, numerical and runtime prerequisites of 🔗 1. Cartesian box values, coordinate identity and valid use shall apply. Underlying allocation or endpoint failure shall retain its own guarantees; no general rollback promise shall be inferred.
-
1. Exact directional boundedness of affine expressions on grids PPL-SPEC-001265 bounds_from_above(expr) and bounds_from_below(expr) shall return true exactly when the expression is bounded in the indicated direction over the grid. Empty shall be bounded in both directions. On a nonempty grid, either both queries shall be true and the expression shall have one constant value, or both shall be false and the expression shall be unbounded in both directions.
For a generator description p + ∑iℤqi + ∑jℝlj and e(x) = a⋅x + b, boundedness shall be equivalent to a⋅qi = 0 and a⋅lj = 0 for every direction, including point differences when the description has more than one generating point. Zero coefficients shall not introduce dependence on unused directions.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
Incoming link from: 4. Point witnesses for rational-grid maximization1
2. Exact rational-grid supremum and attainment PPL-SPEC-001266 maximize(expr,n,d,attained) shall return true exactly when the grid is nonempty and the expression is bounded above. On true, n/d shall be its exact supremum as a reduced fraction with positive denominator, and attained shall be true. Every grid point shall have that value. Empty or an unbounded objective shall return false and preserve every supplied output. Zero-dimensional universe shall return the expression's constant term over one.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
Incoming link from: 5. Point witnesses for rational-grid minimization1
3. Exact rational-grid infimum and attainment PPL-SPEC-001267 minimize(expr,n,d,attained) shall return true exactly when the grid is nonempty and the expression is bounded below. On true, n/d shall be its exact infimum as a reduced fraction with positive denominator, and attained shall be true. Every grid point shall have that value. Empty or an unbounded objective shall return false and preserve every supplied output. Zero-dimensional universe shall return the expression's constant term over one.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
4. Point witnesses for rational-grid maximization PPL-SPEC-001268 The maximize overload with a Generator output shall obey 🔗 2. Exact rational-grid supremum and attainment. On true, it shall additionally replace the witness with an ordinary point belonging to the receiver and attaining the returned supremum. Its type shall be POINT, not a closure point or a direction. All coordinates, including those absent from the objective, shall satisfy the grid's equalities and periodic restrictions. Omitted coordinates shall have their ordinary zero-extension meaning. False shall preserve the witness as well as all scalar and attainment outputs.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
5. Point witnesses for rational-grid minimization PPL-SPEC-001269 The minimize overload with a Generator output shall obey 🔗 3. Exact rational-grid infimum and attainment. On true, it shall additionally replace the witness with an ordinary point belonging to the receiver and attaining the returned infimum. Its type shall be POINT, not a closure point or a direction. Every coordinate shall satisfy the grid's equalities and periodic restrictions, including coordinates unused by the objective. Omitted coordinates shall have their ordinary zero-extension meaning. False shall preserve the witness and all scalar and attainment outputs.
An expression with declared ambient dimension greater than the grid shall throw std::invalid_argument before output replacement, including empty, zero-dimensional and syntactically constant cases. The source grid's set and ambient dimension and the expression's value and dimension shall be preserved. Logically const queries may normalize caches; borrowed descriptor views shall follow 🔗 10. Borrowed congruence and generator views of grid values.
The initialization, arithmetic-profile, lifetime and synchronization conditions in 🔗 1. Rational-grid values, coefficient profile and valid use shall apply, including intermediate and output representability. Writable coefficient outputs shall be pairwise distinct and shall not overlap input expression or receiver storage. Allocation and selected numerical failures may propagate; they shall not imply output rollback or a queryable surviving receiver beyond destruction-safe ownership.
-
15. Affine boundedness, extrema and witnesses on octagonal values PPL-SPEC-001160 bounds_from_above and bounds_from_below shall decide whether the supplied affine expression has a finite corresponding bound on the represented set. Empty shall bound every admitted expression in both directions; zero-dimensional universe shall bound every admitted constant. An expression dimension exceeding the receiver's shall cause these calls and all extrema overloads to throw std::invalid_argument.
For a nonempty source with exact unbounded rational strong-closure arithmetic, maximization/minimization shall succeed exactly when the requested extremum is finite and return its exact rational value. Every finite extremum of a closed polyhedral octagonal set shall be attained.
When strong-closure arithmetic rounds, saturates or overflows, the overload without a witness may use an outward closed-table bound for an octagonal affine objective: a returned upper value shall be at least the actual supremum and a lower value at most the actual infimum. Halving odd integer bounds shall count as rounded arithmetic. For a no-witness extremum call, overflow may cause false when a finite closed-table bound cannot be obtained. Non-octagonal affine objectives shall use exact optimization of the represented constraints rather than treating a rounded outer estimate as an exact extremum.
On successful witness overloads, the returned rational value shall be the exact extremum of the represented source, and g shall be an ordinary point in that set attaining it. All coordinates of the witness shall satisfy the source constraints. The attainment Boolean shall concern the actual extremum, not certify that an approximate numerical bound is attained. An ordinary successful call on these closed sets shall set it to true. On false, all supplied scalar outputs, the Boolean and any supplied witness shall retain their entry values. Constant expressions and zero-dimensional cases shall retain their exact meanings.
Numerator and denominator output objects shall be distinct and satisfy the configured Coefficient range prerequisites. A successful rational output shall have a positive denominator. The supplied expression and source value shall be preserved.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
16. Constant affine values and zero frequency on octagonal sets PPL-SPEC-001161 frequency(expr,fn,fd,vn,vd) shall return true exactly when the nonempty represented set assigns one unique real value to expr. On success, fn/fd shall be 0/1 and vn/vd shall equal that exact constant, with a positive denominator. A nonconstant or empty source shall return false and leave all four scalar outputs unchanged. Constant expressions and zero-dimensional universe shall obey the same rule.
Signed equality substitution and fractional fixed coordinates shall retain their mathematical values. Inexact closure bounds shall not establish a constant expression unless it truly is constant on the represented set. The call shall throw std::invalid_argument if the expression dimension exceeds the source dimension. The four scalar output objects shall be pairwise distinct and satisfy their configured Coefficient range prerequisites. The expression and represented set shall be preserved.
The lifetime, numerical-profile, initialization and synchronization prerequisites in 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Logically const normalization may update caches while preserving the represented set and ambient dimension. Supported numerical or allocation failures may propagate through their declared channels; temporary resources shall be released.
-
4. Component-selected product bounds and witnesses PPL-SPEC-001446 Extremum queries shall reduce and return false if a component is empty or neither component provides a directional bound; outputs shall then remain unchanged. Otherwise maximization shall choose the smaller available component supremum and minimization the larger component infimum. Equal bounds shall prefer a component not attaining that bound. Success shall return its rational bound with positive denominator, attainment flag and, for witness overloads, its corresponding point or closure point. Neither success, attainment nor the witness shall establish nonemptiness or optimum attainment in the product intersection; the selected witness need not satisfy the other component. Comparison of representable component bounds shall be exact even when their cross-products exceed the configured coefficient range. Expression dimensions and independently writable outputs shall satisfy both component contracts.
The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.
-
3. Weakly relational extended-number policies PPL-SPEC-001641 Both WRD_Extended_Number_Policy and Debug_WRD_Extended_Number_Policy shall enable overflow checks, NaN and infinity representations, and requested FPU inexact checks. The production policy shall disable checks for opposite-infinity addition, same-infinity subtraction, infinity-times-zero, division by zero, infinity division, infinite remainder, negative square root and extra FPU NaN-result detection. The debugging policy shall enable all those checks.
Neither policy shall define convertible or any of the five ROUND_DEFAULT_* members. Operations needing them shall require an explicitly suitable policy instead of silently selecting a default. handle_result(r) shall forward exactly results whose class is VC_NAN to throw_result_exception(r) and propagate the resulting exception. Every normal or infinity result shall be accepted without an exception, including normal-class results carrying overflow or unrepresentable flags. The policies shall require no library initialization or rounding-mode change. Arithmetic using these policies shall retain its own numerical prerequisites; disabled checks shall not authorize undefined mathematical operations.