-
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.
-
-
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: 5. Constraint and congruence refinement1
3. Meaning of linear constraints PPL-LLR-000013 A linear constraint shall denote the set of valuations satisfying its stated equality, strict inequality or non-strict inequality; a finite constraint system shall denote the conjunction of its members.
-
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: 5. Constraint and congruence refinement1
4. Meaning of linear congruences PPL-LLR-000014 A linear congruence shall hold exactly when its expression differs from its base value by an integer multiple of its modulus; a zero modulus shall express equality, and a finite congruence system shall denote conjunction.
-
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.
-
-
5. Distinct meanings of geometric generators PPL-LLR-000015 Generator descriptors shall preserve the mathematical distinction between included points, closure points, rays, lines and grid parameters: closure points need not be included points, rays admit nonnegative displacement, lines admit arbitrary real displacement, and grid parameters admit integer displacement.
-
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. OCaml numerical term conversion PPL-LLR-000207 The OCaml interface shall translate its supported linear-expression, constraint and generator values into the corresponding native mathematical objects while preserving variable identities, relation meanings and representable integral coefficients. Returned representations shall denote the native results.
-
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: 1. Configured binding domain selection 1. OCaml numerical term conversion2
2. Mathematical consistency of corresponding binding operations PPL-LLR-000214 For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.
-
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.
-
For well-formed values of the exposed algebraic types, conversion to native objects shall preserve zero-based variable identities, signed integral Z.t coefficients within the configured native range, affine expression meaning, equality and strict/non-strict inequality meaning, and generator kind. Returned values shall denote the native result; syntactic tree shape and normalization need not be preserved.
Conversion of finite acyclic expressions to native objects shall preserve operator grouping and apply the configured coefficient rules at each node. Native stack usage shall be independent of expression depth. The expression values used during traversal shall remain valid under the OCaml runtime's lifetime and collection rules.
A point or closure point with expression coordinates ai and nonzero divisor d denotes coordinates ai ⁄ d. Lines and rays denote the native direction described by the expression. Grid generators and congruences shall preserve their native rational-divisor and integral-modulus meanings. Native validity and operation-specific topology and arithmetic preconditions apply. A Z.t may be immediate or heap allocated; the binding shall use its value rather than assume either memory layout.
-
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.
-
-
2. OCaml native object reclamation PPL-LLR-000208 The OCaml interface shall associate each owned native numerical object exposed by the interface, including supported domain, MIP problem and PIP problem objects, with an OCaml-managed handle whose finalization releases that native object. Borrowed views shall retain their documented ownership and validity preconditions rather than acquiring an independent owned lifetime.
-
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.
-
Owned domain, MIP and PIP problem handles shall register a custom finalizer which releases the owned native object exactly once when the OCaml runtime finalizes the handle. Independent copies shall own independent allocations. A marked borrowed native pointer shall not be deleted by its wrapper finalizer.
Factories shall allocate managed native owners before constructing native objects or owned conversion temporaries. Native slots shall contain null or their owned pointer before they can be observed by a finalizer or client. Native-only construction may defer the null-slot write to its failure path before exception translation or any further managed allocation. No subsequent OCaml allocation shall be needed to publish a newly owned native pointer. C++ failures during construction or multi-result computation shall leave no unowned native allocation; partially initialized managed owners shall be safe to finalize.
Borrowed powerset iterators and read-only disjuncts shall keep their owner in GC-scanned storage and check its generation before native access. PIP tree views shall keep their problem owner reachable and reject generation-invalid access. View collection shall not delete the owner's native allocation. Clients shall respect the library lifecycle and operation-specific view invalidation rules. No collection time or prompt finalization is promised.
-
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.
-
-
3. OCaml boundary error translation PPL-LLR-000209 The OCaml interface shall report every native failure designated by its supported failure model through the OCaml exception mechanism, including invalid-argument, arithmetic-overflow, allocation-failure and supported timeout conditions. Native C++ exceptions raised by supported operations shall be contained at the OCaml runtime boundary rather than escaping to the caller.
-
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. Binding interruption support and state changes PPL-LLR-000439 Each interruption facility exposed by a supported language interface shall define and observe its availability, parameter restrictions, thread and signal ownership preconditions, replacement and reset effects, and cleanup after notification. Unsupported requests shall be rejected through the interface's declared error mechanism without arming the unsupported facility. The effects of successful or rejected replacements and resets on existing interruption settings shall be explicit. An interruption shall be distinguishable from a completed numerical outcome.
-
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.
-
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.
-
Native exceptions raised by supported OCaml numerical entry points shall be contained. bad_alloc shall raise Out_of_memory and invalid_argument shall raise Invalid_argument. Native overflow, domain, length, logic and runtime errors shall raise the corresponding declared PPL_arithmetic_overflow, PPL_domain_error, PPL_length_error, PPL_logic_error and PPL_internal_error exceptions with diagnostics. Other standard exceptions shall raise PPL_unknown_standard_exception; unexpected native exceptions shall raise PPL_unexpected_error. Supported timeout exceptions shall reset the triggering binding-owned timer and raise PPL_timeout_exception.
Native handlers and scoped native resources shall finish cleanup before the host exception is raised. If native unwinding leaves local root records from exited frames, the bridge shall restore the prior root chain before any runtime allocation. Diagnostic creation shall preserve the exception type and message when allocation succeeds. Allocation failure during translation shall be reported through the OCaml runtime after native cleanup. Raising an exception does not promise rollback beyond an operation's contract. Well-typed host representations, lifecycle, range and synchronization preconditions apply.
-
Incoming links from: 1. Configured binding domain selection 1. OCaml numerical term conversion2
2. Mathematical consistency of corresponding binding operations PPL-LLR-000214 For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.
-
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.
-
-
1. OCaml numerical term conversion PPL-LLR-000207 The OCaml interface shall translate its supported linear-expression, constraint and generator values into the corresponding native mathematical objects while preserving variable identities, relation meanings and representable integral coefficients. Returned representations shall denote the native results.
-
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.
-
For well-typed public OCaml values, conversion of operation options shall select the native choice with the same documented meaning: empty/universe, bounded integer width (8, 16, 32, 64 or 128 bits), unsigned or two's-complement signed representation, wrapping/undefined/impossible overflow, minimization or maximization, and polynomial/simplex/unrestricted complexity. MIP pricing and PIP cutting/pivot names and values shall select their corresponding native control parameters. These options retain the native operation's mathematical preconditions and exactness or approximation guarantees. Values forged outside the public OCaml type definitions are outside this conversion contract; supported boundary failures follow 🔗 3. OCaml native exception translation.