-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
-
Incoming links from: 4. Binding interruption support and state changes 1. Explicit C library lifecycle 2. Java library lifecycle 1. Initialization and finalization lifecycle 2. Floating-point rounding-state exchange 4. Cooperative computation abandonment 4. Cooperative computation abandonment 2. Java library initialization and finalization8
6. Thread entry and shared-facility use PPL-LLR-000438 For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.
-
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.
-
-
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.
-
-
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.
-
A live Linear_Expression of space dimension d, with homogeneous coefficients ai and inhomogeneous term b, shall denote the function E(x) = b + ∑d − 1i = 0aixi on rational valuations. The constant term shall not occupy a coordinate. Trailing zero coefficients shall remain part of the declared ambient dimension.
Use shall satisfy 🔗 3. Thread initialization, default state and finalization. The caller shall synchronize access to an object while another operation modifies it. The valid representations shall be DENSE and SPARSE; default_representation shall be SPARSE. zero() shall return a borrowed, constant expression of dimension zero and value zero. The returned object shall remain alive until its owning initialized thread is finalized.
The computed arithmetic guarantees of 🔗 7. Affine addition, subtraction and negation, 🔗 8. Integral scalar multiplication and coefficient-wise division, 🔗 9. Explicit scaled accumulation, combination and elimination and 🔗 10. Coefficient normalization and sign normalization shall require every evaluated coefficient arithmetic step and result to be representable in the selected coefficient profile. Checked arithmetic may report overflow; unchecked completion shall not prove that this precondition held. Allocation failures may propagate. Failed construction shall release resources owned by the incomplete expression. Distinct, unchanged operands shall remain valid after a reported failure. Other modified objects shall be destructible; no universal rollback is promised.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
-
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.
-
-
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.
-
Expression_Adapter_Source<T> shall have the truth value of std::is_convertible_v<const T&, const Expression_Adapter_Base&>. The four adapter-copy constructors shall use this predicate as their type constraint, including implicit base-reference conversions and excluding inaccessible or ambiguous base conversions. Their optional trailing void* parameter shall retain its default null value and shall be ignored.
Construction with only an optional representation shall produce dimension zero and value zero. Construction from a coefficient shall produce dimension zero and that constant value. Construction from Variable v shall produce dimension v.space_dimension(), coefficient one at v.id(), and zero elsewhere, including the constant term.
A variable whose dimension exceeds max_space_dimension() shall cause std::length_error. A requested representation shall be used. The ordinary copy constructor shall copy all coefficients and the declared dimension and retain the source representation. The overload accepting a representation shall use that representation. The overloads accepting space_dim shall copy the retained coefficients, discard coefficients of removed trailing coordinates when shrinking, and insert zero coefficients when extending. Their caller shall supply space_dim <= max_space_dimension(). All copies shall own independent values.
The four corresponding copy forms shall also accept a supported, live expression adapter, including the borrowed expression views exposed by constraints and congruences. They shall copy the adapter's visible coefficients, constant and declared dimension. Copying a view shall not introduce a descriptor's hidden representation columns. Omitting the representation shall retain the adapter's representation; an explicit representation shall select that representation. Dimensioned copies shall apply the same truncation and zero-extension rules as ordinary copies.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
-
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.
-
-
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.
-
Copy assignment shall replace the target coefficients, dimension and representation with those of the source at entry, return a reference to the target, and preserve a distinct source. Self-assignment shall preserve the value, dimension and representation. Construction or assignment from an rvalue shall admit the copy forms and retain the source value; no distinct move operation is required. A separately owned copy shall remain usable after mutation or destruction of the original.
m_swap and the PPL swap overload shall exchange complete values, dimensions and representations; swapping an object with itself shall preserve it. Destruction shall release the object's owned representation. Assignment shall leave the target unchanged if creating its replacement copy fails.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
Incoming links from: 2. Meaning-preserving removal of redundant disjuncts 9. Topological closure and closure approximation 10. Context-preserving simplification 4. Reloadable textual representations 2. Affine meaning of linear expressions 2. Equivalent grid representations 4. Explicit numerical operation contracts 2. Equivalent polyhedral representations8
3. Preservation by representation-only changes PPL-LLR-000303 For valid inputs satisfying the operation's stated computational-arithmetic preconditions, including those governing all intermediate calculations, a successfully completed operation specified to change only the representation of a numerical object shall preserve the object's concrete meaning and space dimension. Any change to its precision or represented set shall instead be governed by an explicitly stated semantic operation.
-
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.
-
-
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.
-
-
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.
-
representation() shall report the expression's current storage choice. For r equal to DENSE or SPARSE, successful set_representation(r) shall select r while preserving every coefficient, the constant term and declared space dimension. Repeating the current choice shall preserve the expression. Explicit-representation copy construction shall make the same coefficient-preservation guarantee for a distinct result. If creating a converted representation fails, set_representation shall leave the original unchanged.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
max_space_dimension() shall return the common maximum supported expression dimension. space_dimension() shall return the declared ambient dimension, including unused trailing coordinates. For n <= max_space_dimension(), successful set_space_dimension(n) shall retain the constant term and coefficients with indices below the lesser of the old and new dimensions. Extension shall give all new coordinates zero coefficients. Shrinking shall discard removed coefficients. Resizing to the current dimension shall preserve all coefficients. These operations shall retain the representation.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
Coefficient accessors shall require an lvalue receiver, with the corresponding const && overloads deleted in every coefficient profile. References shall not outlive their owning expression.
coefficient(v) shall return the stored homogeneous coefficient when v.id() is within the declared dimension, and zero otherwise. inhomogeneous_term() shall return the constant term. Returned references, where the configured trait returns references, shall be borrowed until the expression is modified or destroyed.
For a variable within the declared dimension, set_coefficient(v,n) shall replace only that coefficient. set_inhomogeneous_term(n) shall replace only the constant term. Both shall preserve dimension and representation. Scalar inputs may be borrowed from the expression being modified; their entry values shall be used.
is_zero() shall hold exactly when every homogeneous coefficient and the constant term are zero. all_homogeneous_terms_are_zero() shall disregard the constant term. For a Variables_Set whose indices are within the expression dimension, all_zeroes(vars) shall hold exactly when every selected homogeneous coefficient is zero. An empty selection shall satisfy that predicate. is_equal_to(other) shall hold exactly when the declared space dimensions, constant terms and all homogeneous coefficients are equal, independently of representation. It shall not test equality of zero sets; expressions differing by a nonunit scale shall generally compare unequal.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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 operands denoting E and F, expression addition and subtraction shall produce E + F and E − F, using zero coefficients for missing trailing coordinates and the maximum input dimension. Mixed variable forms shall treat a variable as its coordinate function. Mixed coefficient forms shall treat a coefficient as a dimension-zero constant. Unary plus shall return an independent copy; unary minus and neg_assign shall negate every coefficient, including the constant, without changing dimension.
Compound addition and subtraction shall update the target from entry values, return a reference to it, retain its representation, and permit the target as the expression source. Distinct sources shall remain unchanged. Zero cancellation shall retain the computed maximum dimension. An operation adding or subtracting a variable beyond the supported expression dimension shall throw std::length_error before modifying the target. The numerical prerequisites of 🔗 1. Affine value, numerical prerequisites and shared zero shall apply.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
Multiplication by a coefficient c shall multiply every stored coefficient and the constant term by c, producing the affine function cE. Multiplication by zero shall retain the expression's dimension. operator*= shall update and return the target and retain its representation. Both scalar operand orders shall be available for a new result.
For nonzero divisor c, operator/= shall replace each homogeneous coefficient and the constant term separately by its integral quotient rounded towards zero. It shall retain dimension and representation and return the target. This shall denote affine division E ⁄ c when all coefficients are divisible by c; otherwise it shall denote the expression formed from those truncated coefficients. No rational-coefficient result is implied. The scalar passed to a mutating operation shall not reference a coefficient owned by that target. The numerical prerequisites of 🔗 1. Affine value, numerical prerequisites and shared zero shall apply.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
Variable accumulation shall add or subtract cxv to the target, extending its dimension when needed. Expression accumulation shall add or subtract cF and use the maximum input dimension. linear_combine(y,c1,c2) shall assign c1E + c2F and require both multipliers nonzero. linear_combine_lax shall have that same meaning while admitting zero multipliers. Both shall retain the maximum input dimension, even when its coefficient cancels, and retain the target representation.
For equal-dimension distinct expressions with nonzero coefficients a and b at v, linear_combine(y,v) shall assign (b ⁄ g)E − (a ⁄ g)F, where g = gcd(|a|, |b|). The chosen coordinate coefficient shall therefore be zero. The variable shall lie in that dimension.
Expression sources shall be distinct from the target. Scalar multipliers shall not reference a coefficient owned by the target. Distinct sources shall be preserved. Numerical prerequisites in 🔗 1. Affine value, numerical prerequisites and shared zero shall apply.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
normalize() shall divide all homogeneous coefficients and the constant term by their common nonnegative greatest common divisor when it is nonzero. The all-zero expression shall remain zero. sign_normalize() shall negate all coefficients and the constant term exactly when the first nonzero homogeneous coefficient, in increasing variable order, is negative. An expression having no nonzero homogeneous coefficient shall be unchanged by sign normalization, including a negative constant.
Both operations shall retain dimension and representation and be idempotent. Normalization can scale the affine value; sign normalization can negate it. Neither operation shall promise affine-value preservation merely because its result has the same zero set. The numerical prerequisites of 🔗 1. Affine value, numerical prerequisites and shared zero shall apply.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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 owning expression's iterator-position accessors shall require an lvalue receiver, with the corresponding const && overloads deleted. Iterators shall not extend the owning expression's lifetime.
begin() and end() shall delimit homogeneous nonzero coefficients in increasing coordinate order; the constant term and zero coefficients shall not occur. end() shall be the past-the-end position. lower_bound(v) shall return the first such coefficient whose variable identifier is at least v.id(), or end() when none exists; callers shall supply v.id() <= space_dimension(), including the past-the-end coordinate.
Dereferencing a valid non-end iterator shall return its coefficient; variable() shall return its coordinate and index() shall return that coordinate's identifier plus one. Prefix increment/decrement shall navigate the sequence and return the changed iterator. Decrement shall require a preceding element; decrementing a nonempty sequence's end shall yield its last element. Iterator copies and assignment shall own independent positions, while borrowing the same expression. Iterators shall be compared only within the same unchanged expression. Mutating or destroying the expression shall invalidate them. A default iterator shall admit destruction or replacement; copying, dereferencing or navigating it is not required.
visit_nonzero_coefficients(visitor) const & shall invoke the callback exactly once with a concrete borrowed, bidirectional range of the same ordered nonzero homogeneous terms. The callback shall accept dense and sparse ranges and return the same type for both. Representation shall be selected once; constructing, traversing and copying range iterators shall not allocate. Range begin and end access shall take constant time; locating their positions may be performed when constructing the view. The callback result and exceptions shall propagate unchanged. Owner rvalues shall be rejected. A range or iterator returned by the callback shall borrow the expression and shall obey the same invalidation rules. Adapter visitors shall honor the visible dimension and omit hidden descriptor coordinates.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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 variables within the expression dimension, swap_space_dimensions shall exchange exactly their coefficients and retain the constant term. permute_space_dimensions(cycle) shall require distinct, in-dimension variables. It shall move each listed coordinate coefficient to the following listed coordinate, and the last to the first. Empty and singleton cycles shall preserve the expression.
remove_space_dimensions(vars) shall require in-dimension indices, discard their coefficients, and compact retained coordinates in their original order. Removing none shall preserve the expression; removing all shall retain only the constant term. shift_space_dimensions(v,n) shall require v.id() <= space_dimension() and a resulting dimension not exceeding max_space_dimension(). It shall insert n zero coefficients immediately before v, shift subsequent coefficients by n, and increase the dimension accordingly. Insertion at the old dimension shall append zeros. A zero shift shall preserve the expression.
These transformations shall preserve the inhomogeneous term and representation. They shall implement the stated coefficient rearrangement, with no claim that discarding a nonzero coefficient preserves the original affine value.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
1. Coordinate identity and ambient dimension PPL-LLR-000011 Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
-
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.
-
-
4. Reloadable textual representations PPL-LLR-000446 PPL shall provide reloadable textual representations for its supported numerical domain, geometric descriptor and solver facilities. Under the declared format-compatibility, arithmetic, resource and destination-state preconditions, successfully loading a complete representation produced by the corresponding facility shall preserve its mathematical meaning, dimensions and relevant problem settings. The contracts shall identify the supported representation scope and the outcomes for malformed or unsupported input.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
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.
-
5. Linear optimization with integrality and parameters PPL-HLR-000005 PPL shall provide mixed-integer linear optimization and parametric integer programming facilities with defined feasibility, optimization and solution-result semantics for their supported problem classes.
-
9. Semantics-preserving support for variable-size problems PPL-HLR-000009 PPL shall support the representation and manipulation of finite-dimensional numerical data at variable problem sizes, preserving the association between coordinates and values when data are resized, reordered or transformed, subject to documented dimension and resource limits.
-
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.
-
-
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.
-
ascii_dump(s) shall write a reloadable representation consisting of the word size, the number of coefficient slots d + 1, and then the constant term followed by all homogeneous coefficients in increasing variable order. Whitespace shall separate tokens. ascii_dump() shall write the same representation to std::cerr. Export shall preserve the expression.
Given a compatible complete representation with representable coefficient values and a positive slot count not exceeding the supported storage limit, ascii_load(s) shall return true and replace the expression with the encoded coefficients and dimension, retaining its destination representation. The slot count shall include the constant slot, so zero shall be rejected with false before resizing, preserving the destination expression. A missing or incorrect size token, missing count, malformed coefficient or truncated coefficient sequence shall yield false. Trailing input after the indicated coefficient count shall remain available to the caller. The contract shall not promise a stable cross-version wire format.
Other reported load failures may change the destination. It shall remain destructible and may be replaced by a subsequent complete valid load; no rollback is promised. Allocation and configured numerical failures may propagate through their documented exception channels.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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 output operator shall display the nonzero homogeneous terms in increasing variable order, followed by a nonzero constant term. It shall use the active Variable formatter specified by 🔗 7. Active Variable formatter and initialized thread state. For coefficient magnitudes other than one it shall put * between the coefficient and variable; a magnitude of one shall be omitted. Later positive and negative terms shall be separated by " + " and " - " respectively, with a minus sign also preceding a negative first term. A zero expression shall display 0. No newline shall be added. The supplied stream shall be returned. print() shall use the same display on std::cerr.
Output shall preserve coefficients, dimension and representation. Its formatting arithmetic shall satisfy the selected coefficient profile's preconditions, including representability of any negated coefficient. The human-readable display shall not substitute for the reloadable representation in 🔗 13. Reloadable ASCII export and replacement loading.
-
2. Affine meaning of linear expressions PPL-LLR-000012 A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.
-
1. Numerical and geometric foundations PPL-HLR-000001 PPL shall provide numerical values and finite-dimensional geometric descriptors with defined mathematical meanings, so that clients can describe numerical problems consistently across the library.
-
-
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.
-
OK() shall report whether the expression's owned representation satisfies its checked storage invariants. Expressions produced by successful operations under their stated preconditions shall satisfy those invariants. external_memory_in_bytes() shall report the memory accounted for by its owned representation, including that representation object. total_memory_in_bytes() shall equal sizeof(Linear_Expression) plus external_memory_in_bytes(). These queries shall preserve the expression's coefficients, dimension and representation. Memory counts shall not promise allocator overhead, a fixed dense-to-sparse ordering or exact process memory consumption.