Parma Polyhedra Library requirements
C++ coordinate selections: Variables_Set
1. Public coordinate-index set and value lifecycle PPL-SPEC-000021

The public C++ interface shall expose Variables_Set as a public derivative of std::set<dimension_type>. Its stored value shall be a finite set of distinct indices enumerated in increasing numerical order. A coordinate-valid set shall contain only indices i < Variable : : max_space_dimension(). The empty set shall be coordinate-valid. A set shall select coordinates without imposing an ambient dimension on an object that consumes the selection.

The inherited C++20 std::set<dimension_type> interface shall remain available subject to the overloads actually declared by Variables_Set. Base-class constructors and assignment overloads shall not be implicitly added to the public derived interface. Construction from arbitrary iterator ranges shall be performed by default construction followed by inherited range insertion. Raw-index base operations may store any dimension_type value; they shall not validate coordinate admissibility. Before using the set as a coordinate selection or calling a member that requires coordinate validity, clients shall establish the validity of every stored index, for example using OK().

Implicit copy construction and copy assignment shall have the C++20 value and exception behavior of the std::set base. Successful copies shall contain exactly the source indices with independently owned nodes. Implicit moves shall transfer the value according to the standard base-container rules; moved-from objects shall remain valid with the state permitted by those rules. Destruction shall release owned nodes. A Variables_Set shall not be deleted through a pointer to its nonvirtual base destructor.

Operations on existing objects shall require live container objects. Callers shall obey the supported library/thread regime, serialize modifications of a shared instance and prevent unsynchronized modification while another call observes or copies it. No automatic invalid-lifetime or concurrent-use detection shall be required.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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.

    • PPL-HLR-000008
      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.

PPL-SPEC-000022
2. Empty, singleton and inclusive-range construction PPL-SPEC-000022

Successful default construction shall create an empty Variables_Set. Successful construction from a valid Variable v shall create exactly {v.id()}. Successful construction from valid variables v and w shall create exactly {i ∣ v.id() ≤ i ≤ w.id()} when v.id() <= w.id() and the empty set otherwise. Both endpoints shall be included. No ambient dimension or additional indices shall be introduced.

Failure to allocate storage shall propagate the applicable C++ exception and release resources acquired for the incomplete object. Inputs shall remain unchanged. No successfully constructed destination shall be returned on failure.

PPL-SPEC-000023
3. Index insertion and inherited ordered-set operations PPL-SPEC-000023

For a live Variables_Set, successful insert(v) with a valid Variable shall add exactly v.id(). Inserting an already present index shall not create a duplicate. The declared overload shall coexist with the inherited C++20 std::set<dimension_type> insertion overloads. Raw insertion shall store the supplied index value without constructing or validating a Variable.

Inherited insertion, emplacement, extraction, merging, erasure, clearing, lookup, bounds, comparison and iteration shall have the C++20 semantics of the base container. Forward traversal shall enumerate each stored index once in increasing order; reverse traversal shall enumerate them in decreasing order. Insertion shall preserve existing element references and iterators. Erasure shall invalidate references and iterators to erased elements according to the base-container rules. Callers shall satisfy the standard preconditions for iterator ranges, hints, node ownership and allocator compatibility. A node's key may be changed only while detached, under the inherited node-handle rules. Coordinate use of inserted or changed keys shall additionally require the validity conditions of 🔗 1. Public coordinate-index set and value lifecycle.

Failed single-element insert allocation shall propagate std::bad_alloc without changing the set. Range insertion and other inherited operations shall have their standard operation-specific exception guarantees; no transactional rollback of an entire partially completed range insertion shall be implied.

PPL-SPEC-000024
4. Coordinate-set dimension and maximum dimension PPL-SPEC-000024

Variables_Set::max_space_dimension() shall return the same value as Variable::max_space_dimension(). For a coordinate-valid set S, space_dimension() shall return zero when S = ⌀ and 1 + maxS otherwise. Both queries shall leave the set unchanged.

The returned dimension shall describe the smallest space enclosing the selected coordinates. It shall not count the selected coordinates or prescribe the ambient dimension of a consuming object. space_dimension() shall require a coordinate-valid set under 🔗 1. Public coordinate-index set and value lifecycle; raw storage of an invalid index shall not establish a supported dimension query.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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.

    • PPL-HLR-000008
      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.

PPL-SPEC-000025
5. Inherited set swap and element ownership PPL-SPEC-000025

For live Variables_Set objects satisfying the inherited allocator compatibility preconditions, inherited member swap shall exchange their complete stored sets with the C++20 base-container semantics. A successful self-swap shall preserve the value. References and iterators to stored elements shall remain associated with those elements in the receiving container, subject to the standard exception for past-the-end iterators. Swap shall not require coordinate validity of raw stored indices.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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. 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.

    • PPL-HLR-000008
      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.

    • PPL-HLR-000008
      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.

  • 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.

    • PPL-HLR-000008
      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.

PPL-SPEC-000026
6. Coordinate-set diagnostic output and formatter prerequisites PPL-SPEC-000026

Diagnostic output shall observe a coordinate-valid set without modifying its indices. With compatible ordinary character formatting and successful output, operator<< shall write "{", each selected Variable in increasing index order preceded by one space, a comma after every Variable except the last, and the final text " }". Thus an empty set shall write "{ }". Variable text shall be produced by the active Variable formatter at each write. The operator shall return the supplied stream reference. It shall not add a newline or request a flush. print() shall perform this output to std::cerr.

Calls shall require the library/thread initialization protocol of 🔗 1. Initialization owners and automatic C++ initialization and 🔗 3. Thread initialization, default state and finalization to have established a valid active Variable formatter under 🔗 7. Active Variable formatter and initialized thread state. Formatter dispatch shall follow 🔗 8. Variable names, formatter dispatch and output failures. Clients shall synchronize formatter changes, shared streams and shared-set access under the supported thread regime. The formatter shall not mutate the printed set during output. Stream formatting and error reporting shall follow ordinary C++ insertion semantics. Formatter exceptions and stream exceptions shall propagate; ordinary nonthrowing stream failures shall remain observable through the stream state. Partial output may remain after failure, while the set shall remain unchanged.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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.

    • PPL-HLR-000008
      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.

  • PPL-LLR-000446
    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.

    • PPL-HLR-000001
      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.

    • PPL-HLR-000002
      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.

    • PPL-HLR-000003
      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.

    • PPL-HLR-000005
      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.

    • PPL-HLR-000009
      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.

    • PPL-HLR-000011
      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.

PPL-SPEC-000027
7. Reloadable coordinate-set text export PPL-SPEC-000027

For a live Variables_Set and a stream with decimal integer formatting, zero pending field width and the classic C locale, successful ascii_dump(s) shall write a newline, "variables( ", the number of stored indices, " )", a newline, and then each raw stored index in increasing order followed by one space. An empty set shall have no index payload. The operation shall append no additional characters or explicit flush after this sequence. It shall leave the set unchanged and shall not invoke the Variable formatter and shall also permit raw indices that fail coordinate validity. The no-argument overload shall write the same representation to std::cerr under those formatting conditions.

For coordinate-valid input and compatible producer/consumer formatting, successful loading of this representation under 🔗 8. Coordinate-set text loading and partial failure state shall preserve the selected indices and enclosing dimension. The format shall not promise compatibility with every library version or with arbitrary incompatible locale, numeric base or formatting settings. Stream failure shall follow C++ stream state and exception-mask semantics; partial output may remain and the source set shall remain unchanged.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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.

    • PPL-HLR-000008
      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.

  • PPL-LLR-000446
    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.

    • PPL-HLR-000001
      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.

    • PPL-HLR-000002
      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.

    • PPL-HLR-000003
      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.

    • PPL-HLR-000005
      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.

    • PPL-HLR-000009
      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.

    • PPL-HLR-000011
      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.

PPL-SPEC-000028
8. Coordinate-set text loading and partial failure state PPL-SPEC-000028

ascii_load(s) shall first clear the destination's existing indices. With whitespace-skipping extraction enabled, decimal integer conversion and the classic C locale, it shall accept an opening token "variables(", a nonnegative dimension_type count, a closing token ")" and exactly that count of nonnegative indices below Variable::max_space_dimension(). On successful loading it shall return true and contain exactly the set of extracted indices. Duplicate payload indices shall be collapsed and payload order need not be sorted. Tokens following the declared payload shall remain available to the caller. Loading shall not invoke the Variable formatter.

Missing, wrong, unextractable or out-of-range required fields shall return false unless the stream's exception mask causes an exception. A false result shall leave the destination empty if the header failed, or containing exactly the successfully inserted prefix of payload indices if a payload extraction failed. Allocation or stream exceptions shall propagate; the old value shall not be restored, and successfully inserted prefix indices may remain. The destination shall remain a live base-container object available for inspection, clear, reassignment and destruction. No unchanged-state guarantee shall be implied.

A true result shall certify a coordinate-valid set with exactly the loaded indices and their enclosing dimension as checked by 🔗 10. Coordinate-validity checking of raw indices.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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-SPEC-000029
9. Coordinate-set memory estimates PPL-SPEC-000029

For a live Variables_Set, external_memory_in_bytes() shall return the implementation's per-node estimate multiplied by the number of stored indices. Its per-node estimate shall account for one dimension index, three pointers and one stored tree-color enumeration. It shall be independent of the numerical values of the indices, and shall be zero for an empty set. Where the reported arithmetic is representable in memory_size_type, total_memory_in_bytes() shall equal sizeof(Variables_Set) plus that external estimate. Both queries shall leave the set unchanged and shall also permit raw indices outside the coordinate-valid range.

These results shall be storage estimates under the stated node-layout model. They shall not certify allocator bookkeeping, alignment padding, actual standard-library node layout or process resident memory.

  • 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.

    • PPL-HLR-000001
      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.

  • PPL-LLR-000311
    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.

    • PPL-HLR-000007
      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.

    • PPL-HLR-000008
      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.

10. Coordinate-validity checking of raw indices PPL-SPEC-000030

For any live Variables_Set satisfying its base-container invariants, OK() shall return true exactly when every stored raw index is strictly less than Variable::max_space_dimension(). It shall return true for an empty set. An index equal to the maximum dimension, one greater than that limit, or not_a_dimension() shall make the result false. Invalid raw coordinate indices shall be a defined check outcome and shall not cause std::length_error. The check shall leave every stored index unchanged.