-
Incoming link from: 1. Identity of modeled numeric types1
12. Modeled bounded-integer arithmetic and wrapping PPL-LLR-000428 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.
-
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.
-
-
Incoming links from: 3. Bounded-difference intersection and upper bounds 5. Lifted operations on finite pointset powersets 6. Compound extrapolation and finite convergence 1. Coordinate removal and existential projection 4. Sound conversion between numerical abstractions 5. Constraint and congruence refinement 6. Sound affine forward and backward transfers 7. Domain-specific time-elapse abstraction 8. Abstract set-difference semantics 11. Preservation of integer points in integer restriction 12. Modeled bounded-integer arithmetic and wrapping 14. Directional bounds, extrema and attainment 1. Dimension-preserving coordinate forgetting 2. Concatenation, coordinate expansion and folding 3. Narrowing and descending precision recovery 2. Sound successful floating-point linearization 3. Explicit failure of unsupported expression approximation 4. Conservative arithmetic on interval linear forms 2. Affine meaning of linear expressions 3. Sound interval arithmetic 4. Explicit numerical operation contracts 1. Exact integral coefficient calculations 3. Conservative directed numerical bounds 4. Meaning of numerical conversion outcomes 5. Integer quotient and remainder semantics 6. Exact rational arithmetic 3. Octagonal intersection and upper bounds27
1. Meaning of successful exact and approximate results PPL-LLR-000301 For valid inputs under an operation's stated arithmetic and resource assumptions, a successfully reported exact result shall have the specified mathematical meaning, and a successfully reported conservative over-approximation shall contain every concrete result admitted by those inputs.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
4. Explicit numerical operation contracts PPL-LLR-000442 Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
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.
-
Incoming links from: 9. Topological closure and closure approximation 5. Box intersection and least upper bounds2
1. Interval boundary membership PPL-LLR-000021 An interval shall denote the values of its declared number carrier that satisfy its represented bounds and supported openness conditions. An unbounded boundary shall be distinguished from an included infinite value, and supported empty and singleton intervals shall retain their distinct meanings.
-
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.
-
-
Incoming link from: 1. Identity of modeled numeric types1
12. Modeled bounded-integer arithmetic and wrapping PPL-LLR-000428 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.
-
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.
-
-
Incoming links from: 3. Bounded-difference intersection and upper bounds 5. Lifted operations on finite pointset powersets 6. Compound extrapolation and finite convergence 1. Coordinate removal and existential projection 4. Sound conversion between numerical abstractions 5. Constraint and congruence refinement 6. Sound affine forward and backward transfers 7. Domain-specific time-elapse abstraction 8. Abstract set-difference semantics 11. Preservation of integer points in integer restriction 12. Modeled bounded-integer arithmetic and wrapping 14. Directional bounds, extrema and attainment 1. Dimension-preserving coordinate forgetting 2. Concatenation, coordinate expansion and folding 3. Narrowing and descending precision recovery 2. Sound successful floating-point linearization 3. Explicit failure of unsupported expression approximation 4. Conservative arithmetic on interval linear forms 2. Affine meaning of linear expressions 3. Sound interval arithmetic 4. Explicit numerical operation contracts 1. Exact integral coefficient calculations 3. Conservative directed numerical bounds 4. Meaning of numerical conversion outcomes 5. Integer quotient and remainder semantics 6. Exact rational arithmetic 3. Octagonal intersection and upper bounds27
1. Meaning of successful exact and approximate results PPL-LLR-000301 For valid inputs under an operation's stated arithmetic and resource assumptions, a successfully reported exact result shall have the specified mathematical meaning, and a successfully reported conservative over-approximation shall contain every concrete result admitted by those inputs.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
4. Explicit numerical operation contracts PPL-LLR-000442 Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
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
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.
-
2. Cartesian meaning of boxes PPL-LLR-000022 A positive-dimensional box shall denote the Cartesian product of its coordinate intervals; in zero dimensions the empty box and the universe box shall remain distinct.
-
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.
-
-
Incoming link from: 1. Identity of modeled numeric types1
12. Modeled bounded-integer arithmetic and wrapping PPL-LLR-000428 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.
-
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.
-
-
Incoming links from: 3. Bounded-difference intersection and upper bounds 5. Lifted operations on finite pointset powersets 6. Compound extrapolation and finite convergence 1. Coordinate removal and existential projection 4. Sound conversion between numerical abstractions 5. Constraint and congruence refinement 6. Sound affine forward and backward transfers 7. Domain-specific time-elapse abstraction 8. Abstract set-difference semantics 11. Preservation of integer points in integer restriction 12. Modeled bounded-integer arithmetic and wrapping 14. Directional bounds, extrema and attainment 1. Dimension-preserving coordinate forgetting 2. Concatenation, coordinate expansion and folding 3. Narrowing and descending precision recovery 2. Sound successful floating-point linearization 3. Explicit failure of unsupported expression approximation 4. Conservative arithmetic on interval linear forms 2. Affine meaning of linear expressions 3. Sound interval arithmetic 4. Explicit numerical operation contracts 1. Exact integral coefficient calculations 3. Conservative directed numerical bounds 4. Meaning of numerical conversion outcomes 5. Integer quotient and remainder semantics 6. Exact rational arithmetic 3. Octagonal intersection and upper bounds27
1. Meaning of successful exact and approximate results PPL-LLR-000301 For valid inputs under an operation's stated arithmetic and resource assumptions, a successfully reported exact result shall have the specified mathematical meaning, and a successfully reported conservative over-approximation shall contain every concrete result admitted by those inputs.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
-
Incoming link from: 2. Installation of configured public artifacts1
1. Public C++ access to supported facilities PPL-LLR-000311 The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.
-
7. Access through supported language interfaces PPL-HLR-000007 PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.
-
-
4. Explicit numerical operation contracts PPL-LLR-000442 Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.
-
11. Sound and explicit numerical guarantees PPL-HLR-000011 PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.
-
-
3. Failure and resource safety PPL-LLR-000133 When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.
-
8. Controlled runtime operation and resource use PPL-HLR-000008 PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.
-
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.