-
1. Java coefficient value preservation PPL-LLR-000204 The Java interface shall preserve integral coefficient values when transferring them between Java objects and the native library, provided the values are representable by the configured native coefficient type. It shall not reduce an otherwise representable coefficient to the range of Java's fixed-width primitive integers.
-
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.
-
Coefficient shall hold the integer supplied through its integer, decimal string or BigInteger constructor, and copying and getBigInteger shall preserve that value. toString shall return its decimal representation. bits shall return the configured native coefficient width, or zero for unbounded native coefficients.
For a valid coefficient representable by the native coefficient type, conversion through a supported native operation and back to Java shall preserve its integral value, including its sign and zero. Conversion shall use the full decimal value, without narrowing it through int or long. In an unbounded configuration this includes integers outside both primitive ranges. Native arithmetic retains its configured range and policy; Java's BigInteger does not extend that range. Checked out-of-range conversion shall use 🔗 3. Java native failure and pending-exception protocol.
-
1. Initialization and finalization lifecycle PPL-LLR-000131 The runtime shall initialize shared library facilities before their first supported use and finalize them after their last supported use. Multiple participating translation units shall not cause premature finalization of shared facilities. Thread-specific numerical state shall be initialized and finalized according to the selected thread-support configuration. Each supported native or binding lifecycle protocol shall define the validity of existing objects and borrowed views across finalization and reinitialization, the permitted order of owned-object and managed cleanup, and the live-thread and interruption-state preconditions for those transitions.
-
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.
-
-
Incoming link from: 4. Java native object ownership1
2. Java library lifecycle PPL-LLR-000205 The Java interface shall provide explicit initialization and finalization of the native library after its native interface library has been loaded. Finalization shall release the interface's library-level resources, and subsequent initialization shall permit a new valid period of library use.
-
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.
-
After loading the configured JNI library, initialize_library shall establish native library state and the Java class cache before supported operations. finalize_library shall release that cache, the calling thread's variable stringifier and deterministic-timeout state, and the native initialization owner. A later initialization shall establish a new valid period of use.
Clients shall release owned objects, cease using borrowed views, and end worker thread participation before finalization. Requests shall alternate valid initialization and finalization; duplicate library requests are outside this protocol. Participating workers shall obey 🔗 6. Thread entry and shared-facility use.
-
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. Java boundary exception translation PPL-LLR-000206 The Java interface shall report every native failure designated by its supported failure model through the Java exception mechanism, distinguishing the declared categories including invalid arguments, arithmetic overflow and resource exhaustion. Native C++ exceptions raised by supported operations shall be contained at the Java native-call boundary. An already pending Java exception shall be preserved.
-
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.
-
Supported JNI numerical entry points shall contain native exceptions. Native invalid_argument, domain_error, length_error, logic_error and overflow_error shall become the corresponding Java binding exceptions. Supported native interruption shall become Timeout_Exception. Allocation failure shall become a Java exception describing out-of-memory failure; other standard and unexpected native exceptions shall become RuntimeException with a diagnostic.
A Java exception already pending after a host callback or object creation shall be returned to Java without replacement by a translated native exception. Argument-conversion callbacks shall complete before native access to a receiver that they may release; released receivers shall be rejected. Host-runtime termination and undefined behavior are outside the failure model.
-
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.
-
-
Incoming link from: 2. Java library lifecycle1
4. Java native object ownership PPL-LLR-000436 The Java interface shall distinguish owned native objects from borrowed native views. When explicit release or managed cleanup of an owned wrapper occurs, it shall release the owned native allocation without repeated cleanup releasing that allocation again. Creating a borrowed view shall not transfer ownership of the underlying allocation. The interface shall define the owner-lifetime and mutation-validity preconditions for each borrowed view.
-
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.
-
An owned numerical wrapper shall release its native allocation through explicit free or managed finalization, without a later cleanup deleting that allocation again. Copy construction shall produce an independent native object. Borrowed-wrapper cleanup shall not delete the underlying owned object.
Factories shall bind view owners before allocating native cursor storage, or retain native results in an exception-safe owner until all fallible publication steps complete. Failed JNI allocation or native computation shall leave no stranded native result. Replacing a ranking-function output shall release its previous value while preserving ownership of the output wrapper.
MIP and partial-function wrappers shall reject native access after release. Powerset cursors and disjuncts shall retain their owner, validate its current generation, and reject stale use; disjuncts shall be read-only and copying one shall produce an independent writable object. Cursor operations shall reject boundary and foreign-owner misuse. Mutating or potentially normalizing a powerset shall invalidate its dependent views except for the documented cursor returned by single removal. Stable metadata queries shall preserve them.
PIP tree views shall retain their problem owner and reject access after owner release or a mutation invalidating the captured tree generation. View cleanup shall leave independently owned problems usable. Managed cleanup timing is controlled by the JVM. Clients shall obey 🔗 2. Java library initialization and finalization and the operation-specific borrowing and synchronization prerequisites.
-
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.
-
UTF_Chars_Lease shall adopt one non-null result of a successful GetStringUTFChars call. The JNI environment, Java string and character pointer shall identify that same acquisition, and shall remain valid on the acquiring thread until the lease is destroyed. The adopted acquisition shall have no other owner responsible for release.
Destruction shall call ReleaseStringUTFChars exactly once with the adopted environment, string and pointer, both at ordinary scope exit and during C++ exception unwinding. The lease shall neither copy the characters nor allocate storage. Copy construction and copy assignment shall be unavailable. Releasing the characters shall preserve any pending Java exception.
Coefficient import, Java-customized variable output and Java text wrapping shall adopt each successfully acquired character pointer before any subsequent throwing native operation. Coefficient import shall return the value parsed from the acquired decimal characters. The variable formatter shall retain the characters through output. Text wrapping shall release them before allocating the returned Java string. Failed acquisition shall not create a lease and shall retain the entry point's existing JNI failure behavior.
-
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.
-
-
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 valid supported Java values, native exchange shall preserve variable indices, representable coefficients and the mathematical meaning of expression trees, constraints, congruences, generators, grid generators and artificial parameters. Expression sums, differences, integer products and negation shall retain their operands' meanings. Constraint direction, congruence modulus, generator kind and divisor, and artificial-parameter numerator and denominator shall be preserved. Coefficient exchange obeys 🔗 1. Java integral coefficient exchange. Native affine, constraint, congruence, generator and grid-generator meanings are specified by 🔗 1. Affine value, numerical prerequisites and shared zero, 🔗 1. Constraint relation meaning and numerical prerequisites, 🔗 1. Affine congruence meaning and valid numerical use, 🔗 1. Generator kinds and numerical prerequisites and 🔗 1. Grid-generator values and integer versus continuous displacement, respectively. Returned mathematical objects may be normalized and need not preserve the input expression-tree shape.
Conversion of a finite acyclic expression into native form shall preserve operator grouping and apply the configured coefficient rules at each node. This conversion and copying through built-in Java expression nodes shall use stack space independent of tree depth. Construction and cloning shall retain the documented ownership of copied operands.
System and variable-set conversion shall retain the represented collection; artificial-parameter sequences shall retain their order. Relation objects shall encode the native predicates (subsumption; disjointness, strict intersection, inclusion and saturation). Boxed primitives, Pair fields and By_Reference values shall preserve the values or object references assigned to them.
Named Java enumeration values for relation symbols, integer widths, representations and overflow policies, optimization modes, solver results and MIP/PIP control parameters shall denote the corresponding native choices. Choosing a complexity or overflow policy shall not strengthen the native operation's exactness guarantee. Nonnegative integral arguments converted to an unsigned native type shall be rejected if negative or outside that type's range; failures follow 🔗 3. Java native failure and pending-exception protocol. Native dimension and object validity preconditions remain applicable.
-
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.
-
-
3. Java boundary exception translation PPL-LLR-000206 The Java interface shall report every native failure designated by its supported failure model through the Java exception mechanism, distinguishing the declared categories including invalid arguments, arithmetic overflow and resource exhaustion. Native C++ exceptions raised by supported operations shall be contained at the Java native-call boundary. An already pending Java exception shall be preserved.
-
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 an unsigned integral native type, java_dimension_limit shall return the smaller of the supplied native limit and the greatest Java long value. java_unsigned_value shall return the exact supplied count when representable by Java long and otherwise throw std::overflow_error. check_java_dimension_growth shall check the current dimension and both successive increments against that effective limit without unsigned wraparound. It shall throw std::length_error if the resulting dimension is inadmissible, before either increment is applied to the numerical object.
JNI count queries for PIP parameter dimensions, constraints and artificial parameters shall return the corresponding native cardinalities. They require valid problem/node handles; wrapper failures follow 🔗 3. Java native failure and pending-exception protocol. A constraint count already represented by a signed iterator difference shall be representable by Java long; other unsigned count conversion uses the checked conversion above.
-
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.
-
-
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.
-
When PPL_CAN_CONTROL_FPU is true, successful construction of Java_FPU_Guard shall save the calling thread's floating-point environment and establish the rounding required by PPL. Failure to save the environment shall throw std::runtime_error before changing the rounding direction. Destruction shall restore the saved environment on normal return and exception unwinding, subject to the host's successful floating-point environment operations. The guard shall be constructed after Java argument conversions that may execute host code and before the native floating-point numerical operation. The lifetime shall remain on the same thread. Copy construction and copy assignment shall be unavailable. When FPU control is unavailable the guard shall perform no FPU changes and shall not make unsupported floating-point operations valid.