-
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 eleven standard native integer types, mpz_class, canonical finite mpq_class and their admitted checked wrappers, the named comparison functions shall compare the exact mathematical entry values, including operands of different scalar types. Signedness and storage width shall not replace mathematical ordering: a negative signed integer shall be less than every nonnegative unsigned integer, and unbounded integers and rational fractions shall retain their exact values.
cmp(x, y) shall return an int with negative, zero or positive sign exactly when x < y, x = y or x > y. Its nonzero magnitude shall not be prescribed. equal, not_equal, less_than, less_or_equal, greater_than and greater_or_equal shall return true exactly for their named mathematical relations. The corresponding six PPL comparison operators shall have the same meanings when at least one operand is a checked scalar. This operator guarantee shall not alter the built-in operators between two raw native integer types.
sgn(x) shall return exactly -1, 0 or 1 according to the mathematical value's sign. The configured coefficient and raw rational query contracts shall retain 🔗 1. Integral coefficient representation access and sign comparison and 🔗 9. Finite rational sign, comparison and numeric classification. Operands may be the same object. All these queries shall preserve source values, perform no policy result-handler dispatch and require no rounding default. They shall admit every finite representable value allowed by each operand's policy, including ordinary native integer minima and maxima. Checked policies shall provide the backend's relevant classification and representation traits.
Objects shall be live; rational values shall be canonical with positive denominator. Resources shall suffice for exact comparison and temporaries. Callers shall synchronize queries with overlapping object modification and serialize shared numerical temporaries in non-thread-safe builds. These exact scalar queries shall require no library initialization, coefficient constants or FPU rounding setup, and shall preserve hardware direction.
-
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 one configured supported native floating operand and one exact scalar from 🔗 1. Exact scalar sign and ordering, including their admitted checked wrappers, cmp and the six named comparison predicates shall compare their exact mathematical entry values. The floating value shall mean its exactly stored binary value; a nearby decimal or integral value shall not be substituted. The PPL comparison operators shall have those same relation meanings when at least one operand is checked.
A large integer shall not be rounded to the floating operand's precision before deciding equality or order. Likewise, a finite rational shall retain its numerator/denominator value. Opposite signed floating zeros shall both compare as mathematical zero. Argument order shall not change equality or the mathematical relation: reversing arguments shall reverse strict order. These comparisons shall not invoke policy result handlers or use rounding defaults. Both argument objects shall remain unchanged. Floating/floating ordering shall retain 🔗 4. Ordered comparison of finite native floating-point values.
All operands shall be finite and valid for their selected policies, with canonical positive-denominator rational storage. Exact resources, synchronization and shared-temporary serialization shall follow 🔗 1. Exact scalar sign and ordering. General mixed comparisons shall require upward hardware rounding for their directed conversion filters, and preserve that direction. Native floating conversions and strict result queries shall have the backend/setup prerequisites of 🔗 1. Directed native integral conversion to native floating-point storage and 🔗 4. Directed narrowing between finite native floating-point formats; no coefficient-constant stage shall be required. Available resources shall permit any exact conversion or temporary needed by the comparison.