-
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. Prolog mathematical term interpretation PPL-LLR-000210 For each enabled supported Prolog system, the Prolog interface shall interpret its documented mathematical terms with the same numerical meaning. Conversion of supported linear expressions, constraints and generators shall preserve representable coefficient values, variable identities and relation meanings.
-
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 each configured supported Prolog engine, supported integral terms, affine expressions, constraints, congruences and generators shall be interpreted with their documented native mathematical meaning. '$VAR'(I) shall denote the zero-based coordinate I. Unary negation, addition, subtraction and integral scalar multiplication shall preserve affine meaning. Relations shall preserve equality and strict/non-strict order. Point and closure-point coordinates shall be divided by the supplied nonzero divisor; lines and rays denote directions. Returned terms may be normalized but shall denote the native result.
Values shall be representable by both the engine and configured native coefficient type. A bounded engine does not acquire arbitrary-size integers from GMP in the native library. Malformed or nonlinear expressions and invalid native objects shall follow 🔗 2. Prolog success failure and exception outcomes.
-
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. Prolog predicate outcomes PPL-LLR-000211 The Prolog interface shall express a successful numerical query through the predicate's documented success and output bindings, and a false numerical predicate through ordinary predicate failure. Every malformed argument or native failure designated by the supported failure model shall be reported through Prolog error handling rather than being treated as a false numerical result. Native C++ exceptions raised by supported operations shall be contained at the Prolog boundary.
-
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.
-
A true numerical predicate shall succeed; a false numerical predicate shall fail normally. Result-producing predicates shall unify the documented output terms on success. Incompatible output bindings shall cause ordinary failure, without changing that into a numerical falsehood or promising rollback of foreign mutations. Newly allocated owned results whose output cannot be unified shall be released.
Malformed arguments and supported native failures shall be reported through the selected engine's Prolog exception mechanism. Native exception unwinding shall be contained at the foreign boundary. Error terms shall distinguish the common invalid-argument/type/range, arithmetic-overflow, allocation, native logic/runtime and supported interruption categories according to the engine adapter. Ordinary false queries shall not be used to conceal those errors.
-
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. Prolog library lifecycle1
3. Prolog object lifetime operations PPL-LLR-000212 The Prolog interface shall provide construction, copying and deletion of owned native numerical objects exposed through handles, including supported domain, MIP problem and PIP problem objects. Copy construction shall create an independent object, and deletion shall release the owned object and invalidate access through its handles and dependent views. Numerical-domain and MIP problem handles shall be checked for native type and live owner identity before native access. Powerset iterator and disjunct handles shall also be checked against the current owner generation. Borrowed powerset disjuncts shall be read-only. Iterator traversal shall reject boundary violations and operations combining different owners. Stale iterator objects shall remain explicitly releasable until finalization. PIP problem and tree handles shall be checked against a live owner identity and current generation before native access. PIP mutations shall invalidate previous tree views, and malformed, stale, unknown or wrong-type domain, MIP, powerset iterator/view and PIP handles shall raise a Prolog invalid-argument exception rather than dereferencing native storage.
-
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.
-
Constructors shall return an opaque typed handle owning the new domain or MIP object. Copy constructors shall create an independent owned object. Deletion shall release the object and invalidate all aliases of its identity. Native access shall first check live owner identity and required native type; malformed, stale, unknown and wrong-type handles shall raise invalid-argument errors through 🔗 2. Prolog success failure and exception outcomes.
Owner identities shall not wrap or be reused, including across finalization and reinitialization. Registry exhaustion shall reject construction rather than revive an old identity. MIP clear, swap and normal updates shall preserve live problem handles. Finalization shall release registered owned objects. A failed constructor/copy output unification shall discard the unpublished allocation. Term collection and backtracking alone shall not delete a foreign owned object.
-
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. Prolog library lifecycle1
3. Prolog object lifetime operations PPL-LLR-000212 The Prolog interface shall provide construction, copying and deletion of owned native numerical objects exposed through handles, including supported domain, MIP problem and PIP problem objects. Copy construction shall create an independent object, and deletion shall release the owned object and invalidate access through its handles and dependent views. Numerical-domain and MIP problem handles shall be checked for native type and live owner identity before native access. Powerset iterator and disjunct handles shall also be checked against the current owner generation. Borrowed powerset disjuncts shall be read-only. Iterator traversal shall reject boundary violations and operations combining different owners. Stale iterator objects shall remain explicitly releasable until finalization. PIP problem and tree handles shall be checked against a live owner identity and current generation before native access. PIP mutations shall invalidate previous tree views, and malformed, stale, unknown or wrong-type domain, MIP, powerset iterator/view and PIP handles shall raise a Prolog invalid-argument exception rather than dereferencing native storage.
-
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.
-
Powerset iterator and disjunct access shall validate live owner identity, required native type and captured owner generation. Potentially normalizing queries and mutations shall invalidate dependent views; documented stable metadata queries shall preserve them. Swap shall invalidate views of both owners. Borrowed disjuncts shall be read-only; copying one shall produce an independent writable object.
Traversal shall reject end dereference, advancement past the end, movement before the beginning and operations combining different owners. Range removal shall reject reversed ranges. Single removal shall refresh its returned cursor while invalidating other captured cursors and views. Stale iterators shall remain explicitly deletable without dereferencing their former native node until library finalization. Failed view-output unification shall not leak a registry object. Invalid uses shall raise invalid-argument errors.
-
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. Prolog library lifecycle1
3. Prolog object lifetime operations PPL-LLR-000212 The Prolog interface shall provide construction, copying and deletion of owned native numerical objects exposed through handles, including supported domain, MIP problem and PIP problem objects. Copy construction shall create an independent object, and deletion shall release the owned object and invalidate access through its handles and dependent views. Numerical-domain and MIP problem handles shall be checked for native type and live owner identity before native access. Powerset iterator and disjunct handles shall also be checked against the current owner generation. Borrowed powerset disjuncts shall be read-only. Iterator traversal shall reject boundary violations and operations combining different owners. Stale iterator objects shall remain explicitly releasable until finalization. PIP problem and tree handles shall be checked against a live owner identity and current generation before native access. PIP mutations shall invalidate previous tree views, and malformed, stale, unknown or wrong-type domain, MIP, powerset iterator/view and PIP handles shall raise a Prolog invalid-argument exception rather than dereferencing native storage.
-
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.
-
PIP problem and tree handles shall validate live typed owner identity before native access. A tree view shall additionally match the current problem generation and required node kind. Mutations, clear, swap of either operand, problem deletion and finalization shall invalidate prior tree views. Repeated stable solution queries shall preserve valid current-generation identities.
Unknown, malformed, stale and wrong-kind handles shall raise invalid-argument errors. Owner and view identity counters shall reject exhaustion rather than wrap; finalization/reinitialization and native-address reuse shall not revive old terms. Registry storage for old tree generations shall be reclaimed when invalidated. Failed constructor/copy/view output unification shall discard unpublished owned resources without deleting an independently owned object.
-
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: 3. Prolog object lifetime operations1
4. Prolog library lifecycle PPL-LLR-000437 Each supported Prolog adapter shall establish library initialization before supported predicate use, explicitly or automatically according to its documented loading protocol. Repeated initialization and finalization requests shall be harmless. Following finalization, only the documented lifecycle operations shall be permitted until initialization establishes a new valid period of 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.
-
ppl_initialize shall establish the common native state if it is not already initialized; a repeated request shall succeed harmlessly. ppl_finalize shall release binding-owned interruption resources and registered objects and leave the interface uninitialized; a repeated request shall also be harmless. A subsequent initialization shall permit a new valid period of use without making old handles valid. Fixed interface atom names cached during initialization shall remain valid across the engine's atom and string garbage collection.
Each engine adapter shall invoke initialization through its documented loading hook or require explicit initialization before numerical predicate use. After finalization, clients shall use only lifecycle operations until the next initialization. The protocol does not require diagnosis of every violation of these call-state preconditions.
-
1. Prolog mathematical term interpretation PPL-LLR-000210 For each enabled supported Prolog system, the Prolog interface shall interpret its documented mathematical terms with the same numerical meaning. Conversion of supported linear expressions, constraints and generators shall preserve representable coefficient values, variable identities and relation meanings.
-
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.
-
-
2. Prolog predicate outcomes PPL-LLR-000211 The Prolog interface shall express a successful numerical query through the predicate's documented success and output bindings, and a false numerical predicate through ordinary predicate failure. Every malformed argument or native failure designated by the supported failure model shall be reported through Prolog error handling rather than being treated as a false numerical result. Native C++ exceptions raised by supported operations shall be contained at the Prolog boundary.
-
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.
-
Option terms shall select the identically named native meanings: true or false, universe or empty, bits_8, bits_16, bits_32, bits_64 or bits_128, unsigned or signed_2_complement, and overflow_wraps, overflow_undefined or overflow_impossible. min and max select optimization direction; polynomial, simplex and any select complexity. The documented pricing, cutting and pivot atoms shall select the corresponding native solver controls. Unsupported option terms shall be rejected through 🔗 2. Prolog success failure and exception outcomes; policies retain native preconditions and guarantees.