Parma Polyhedra Library requirements
Safe and secure implementation and development
0. MISRA compliance and release scope

The MISRA compliance obligations in 🔗 11. MISRA C++ compliance and 🔗 13. MISRA C compliance are targets for a future release.

0. Production scope of the C and C++ baselines

For 🔗 10. C++ language baseline through 🔗 13. MISRA C compliance, PPL-maintained production code includes library code, native binding implementations, distributed command-line tools, public and internal headers, and generated production code. The applicable language and coding baseline follows the implementation language, not the identity of the exposed interface. For example, a C interface implemented in C++ is subject to the C++ baseline. Public C headers used from both C and C++ are assessed against the corresponding language requirements in each context.

These requirements use LIBRARY_WIDE and ALL because they address the production implementation across components and supported configurations. IF_CPP and IF_C identify interface contexts; they do not select implementation languages.

External dependencies are assessed under 🔗 4. Generated code and external dependencies. Development and verification tools, including generators, are assessed under 🔗 7. Adequacy of relied-upon tools. Tests and generator implementations remain subject to the general applicability and tool-reliance assessments.

0. C++20 language-baseline deviation

The selected baselines are ISO/IEC 14882:2020 (C++20), MISRA C++:2023 incorporating Technical Corrigendum 1, ISO/IEC 9899:2018 (C18), and MISRA C:2025. C++20 use with the selected MISRA C++ baseline requires an explicit documented language-baseline deviation. Technical Corrigendum 1 remains selected.

Prepare, assess and review that deviation under 🔗 5. Permitted deviations and 🔗 11. MISRA C++ compliance, identifying the affected language-baseline provisions, scope, justification, safety and security consequences, necessary compensating measures and approval.

Normative standards are cited by their exact editions and corrigenda. Research references do not replace the governing standards with secondary publications.

PPL-LLR-000401
1. Language and coding-subset conformance UID: PPL-LLR-000401 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Each part of the PPL implementation shall conform to an explicitly identified standardized language edition and a documented safe and secure coding subset. The subset shall define the rules governing reliance on undefined, unspecified and implementation-defined behavior.

RATIONALE:

Conformance can be assessed only against identified language and coding rules. Explicit treatment of behavior whose meaning is absent from, left open by, or delegated by the language standard prevents unsupported portability, safety and security assumptions.

COMMENT:

🔗 10. C++ language baseline through 🔗 13. MISRA C compliance select the production C and C++ language and coding baselines within the production scope described above. The C++20 baseline requires the explicit documented language-baseline deviation under 🔗 5. Permitted deviations and 🔗 11. MISRA C++ compliance. Language and coding-subset assessment also covers maintained Java, OCaml and Prolog production code, including relevant runtime or dialect assumptions. Direct verification reviews language and subset assignments and assesses maintained and generated implementation code against those assignments.

VERIFICATION_CRITERIA:

For the defined implementation scope, inspect the assignments to language editions and coding subsets for uncovered or conflicting parts. Review the subset rules governing undefined, unspecified and implementation-defined behavior. Assess the implementation and its documented assumptions against the assigned rules in the configurations for which conformance is claimed.

2. Controlled use of language extensions UID: PPL-LLR-000402 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

A language extension shall be used only where compatible with the governing language, coding-subset and standards obligations. Its purpose, semantics, supported configurations and safety and security justification shall be documented and verified.

RATIONALE:

An extension can introduce behavior outside the selected standardized language or assumptions not shared by all toolchains. Its documented purpose and verified semantics must therefore be assessed against the obligations that govern its use.

COMMENT:

Native 128-bit integer use is an extension-assessment case, not a public numeric-profile guarantee. Project approval cannot override a prohibition in a governing language, coding-subset or standards obligation. Direct verification assesses actual extension use, governing obligations, documented semantics and configuration-specific justification, using analysis and semantic tests where required.

VERIFICATION_CRITERIA:

Inspect each identified extension's purpose, semantics, supported configurations and safety and security justification. Check compatibility against the actual governing obligations and review the evidence supporting its claimed semantics in those configurations. Where semantic tests contribute to verification, compare their observations with the documented semantics rather than treating successful compilation alone as proof of compatibility.

PPL-LLR-000403
3. Standards applicability and conformance UID: PPL-LLR-000403 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

PPL development, verification and maintenance shall satisfy the applicable requirements of the ISO 26262:2018 series and ISO/SAE 21434:2021. Applicability shall be defined for the library's development, verification and maintenance activities and supported uses, with justified decisions identifying the applicable parts and provisions, amendments and relevant assurance classifications.

RATIONALE:

A shared functional-safety and cybersecurity baseline supports use of the library in systems governed by these standards. Applicability distinguishes library and lifecycle obligations from provisions specific to an integrating system.

COMMENT:

🔗 10. C++ language baseline through 🔗 13. MISRA C compliance select production C and C++ language and MISRA baselines, including the explicit documented C++20 language-baseline deviation required under 🔗 5. Permitted deviations and 🔗 11. MISRA C++ compliance. Standards-baseline assessment covers lifecycle standards, assurance classifications and applicability of their provisions. Direct verification assesses actual development, verification and maintenance activity records and results against the applicable provisions.

VERIFICATION_CRITERIA:

Inspect the applicability decisions against the ISO 26262:2018 series and ISO/SAE 21434:2021, including the applicable parts, provisions, amendments, activity scope and assurance classifications. Compare development, verification and maintenance evidence with those applicable requirements. Check that the library assessment identifies its integration assumptions without assigning a single application-specific assurance classification to every use.

SOURCE:

https://www.iso.org/standard/68383.html: ISO 26262-1:2018 and the functional-safety series. https://www.iso.org/standard/70918.html: ISO/SAE 21434:2021, Road vehicles — Cybersecurity engineering.

PPL-LLR-000404
4. Generated code and external dependencies UID: PPL-LLR-000404 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Generated implementation code shall satisfy its applicable language and coding-subset obligations. Reliance on external libraries and runtime components shall be supported by an assessment identifying their versions, relevant assumptions, known limitations and assurance obligations.

RATIONALE:

Generation changes how implementation code is produced, not the obligations governing that code. External libraries and runtimes can affect the validity of PPL's safety and security claims even when their maintenance is outside the project.

COMMENT:

Generated implementation code remains within its applicable conformance scope. External origin does not establish a blanket exemption. Direct verification assesses generated output against its assigned language and coding subset and reviews dependency versions, assumptions, limitations and assurance assessments against the available evidence.

VERIFICATION_CRITERIA:

Assess generated implementation output against its assigned language edition and coding subset in the configurations covered by the conformance claim. Inspect the reliance assessments for the external libraries and runtime components used in that claim, checking the identified versions, assumptions, known limitations and assurance obligations against the available evidence.

5. Permitted deviations UID: PPL-LLR-000405 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Every deviation from an applicable obligation shall identify the affected rule, scope, justification, assessed safety and security consequences, necessary compensating measures and approval. A deviation shall be accepted only where the governing obligation permits it and its conditions are satisfied.

RATIONALE:

A documented project decision is not sufficient to set aside a governing obligation. Reviewable deviation records distinguish permitted, justified departures from unresolved nonconformance.

COMMENT:

The C++20/MISRA C++:2023 baseline requires an explicit documented language-baseline deviation under 🔗 11. MISRA C++ compliance. A project exception cannot authorize a language extension or other departure prohibited by a governing obligation. Direct verification reviews each deviation's governing permission, scope, assessment, acceptance conditions and approval evidence, and assesses the implementation and effectiveness of necessary compensating measures.

VERIFICATION_CRITERIA:

Inspect deviation records for the affected rule, scope, justification, safety and security consequences, necessary compensating measures and approval. Include the explicit C++20 language-baseline deviation required by 🔗 11. MISRA C++ compliance. Compare each accepted deviation with the governing obligation to establish that the departure is permitted and that its acceptance conditions are satisfied. Treat a prohibited or unsupported departure as unresolved rather than as an approved exception.

6. Conformance evidence UID: PPL-LLR-000406 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Each conformance claim shall be supported by reviewable evidence identifying the assessed PPL source version, configurations, applicable obligations and verification results. Findings shall have documented dispositions, and unmet obligations and evidence gaps shall remain explicit.

RATIONALE:

A conformance claim must be assessable for a specific implementation and configuration. Explicit findings and evidence gaps prevent a successful activity or tool invocation from being mistaken for demonstrated satisfaction of every obligation.

COMMENT:

Direct verification reviews each claim's assessed source version, configurations, applicable obligations, verification results and finding dispositions, and checks that cited evidence supports the claim within its assessed scope. The production language and coding baselines are specified by 🔗 10. C++ language baseline through 🔗 13. MISRA C compliance; the C++20 language-baseline deviation is governed by 🔗 5. Permitted deviations and 🔗 11. MISRA C++ compliance.

VERIFICATION_CRITERIA:

Select conformance claims and follow their evidence to the assessed source version, configurations, applicable obligations and verification results. Review finding dispositions and confirm that unmet obligations, limitations and evidence gaps remain visible. Check that evidence for another version or configuration is not presented as applicable without its supporting assessment.

PPL-LLR-000407
7. Adequacy of relied-upon tools UID: PPL-LLR-000407 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Development and verification tools whose outputs are relied upon for conformance shall be assessed for their intended use, version, configuration and relevant limitations. Validation or qualification required by the applicable standards shall be completed before relying on those outputs.

RATIONALE:

The significance of a tool result depends on its intended use and limitations. Any validation or qualification obligation follows from the selected standards and the reliance placed on the result.

COMMENT:

Direct verification assesses intended reliance on each relevant tool output, its version, configuration and limitations, and evidence that required validation or qualification was completed before reliance.

VERIFICATION_CRITERIA:

Inspect the assessments for development and verification outputs relied upon by the conformance claim. Check the intended use, tool version, configuration and relevant limitations. Determine what validation or qualification the applicable standards require for that reliance, and inspect evidence that the required work was completed before the outputs were relied upon.

PPL-LLR-000408
8. Preservation of conformance through change UID: PPL-LLR-000408 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Changes to PPL, its language or coding subsets, applicable standards, dependencies or relied-upon tools shall be assessed for their effect on conformance. Affected verification and evidence shall be updated before conformance of the changed version is accepted.

RATIONALE:

Evidence accepted for one baseline can become invalid after an implementation, dependency, tool or governing-obligation change. Impact assessment identifies which claims and verification results remain applicable.

COMMENT:

Direct verification reviews change-impact assessments, affected obligations and verification, updated evidence, and the sequence leading to acceptance of conformance for the changed version. It also reviews the basis for retaining unaffected evidence.

VERIFICATION_CRITERIA:

Review change records covering the implementation, language or coding subsets, applicable standards, dependencies and relied-upon tools. Inspect their conformance-impact assessments and follow affected obligations to the updated verification and evidence. Check that acceptance of conformance for the changed version follows those updates, and review the basis for any conclusion that evidence remains unaffected.

PPL-LLR-000409
9. Safety-defect and vulnerability management UID: PPL-LLR-000409 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Potential safety defects and cybersecurity vulnerabilities affecting PPL or its relied-upon dependencies shall be assessed and tracked to a documented disposition. The assessment shall identify affected supported versions, and corrective changes shall be verified before release.

RATIONALE:

A potential defect or vulnerability can affect multiple maintained versions and can originate in a relied-upon dependency. Documented assessment and verified corrections support justified release decisions.

COMMENT:

Direct verification reviews potential-defect and vulnerability assessments, affected supported versions, dispositions, corrective verification results and their completion before release.

VERIFICATION_CRITERIA:

Inspect recorded potential safety defects and vulnerabilities for an assessment, affected supported versions and a documented disposition. For corrective changes, review the verification evidence and its completion before release. Where tests support that verification, check that the cases address the corrected behavior and relevant affected behavior rather than merely execute the changed code.

10. C++ language baseline UID: PPL-LLR-000410 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

PPL-maintained production C++ code shall conform to ISO/IEC 14882:2020 (C++20). This obligation includes generated C++ implementation code and headers in their C++ use contexts. PPL C++ translation units shall be compiled in C++20 language mode. Any use of language extensions shall satisfy 🔗 2. Controlled use of language extensions.

RATIONALE:

A fixed standardized language edition gives implementation, generation, compilation and verification a common semantic baseline. Assessing headers in their use contexts prevents an interface label from concealing C++ implementation obligations.

COMMENT:

The production scope follows implementation language. Build prerequisite checks are addressed separately by 🔗 1. Core build prerequisite validation; they do not impose a minimum compilation language on every client program. Direct verification assesses source and generated code, compilation evidence and actual compilation modes.

VERIFICATION_CRITERIA:

Inspect the production-source and generated-output inventory for complete identification of C++ code and header use contexts. Review the compilation commands for the assessed configurations, including native bindings and distributed command-line tools, to establish use of C++20 language mode. Compile the applicable production translation units and representative header use contexts with the required facilities. Assess actual maintained and generated code against ISO/IEC 14882:2020 and review identified language extensions against 🔗 2. Controlled use of language extensions. Successful compilation alone does not establish language conformance.

  • PPL-SPEC-001639
    1. Native integral checked-number value move UID: PPL-SPEC-001639 STATUS: APPROVED COMPONENT: NUMERICS APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    For an admitted native integral storage type T, move construction of Checked_Number<T, Policy> shall copy the source's stored integer value and preserve the source. It shall be a trivial, nonthrowing constructor and shall invoke neither a conversion operation nor Policy::handle_result. The wrapper shall have a trivial destructor and one native integral data member; it shall be an implicit-lifetime class under C++20. Its size and alignment shall equal those of T. These properties shall not imply that the wrapper is trivially copyable. The copy constructor and copy assignment shall retain their separately specified behavior.

    This constructor shall be available only when Is_Native<T>::value is nonzero and std::is_integral_v<T> is true. GMP and floating-point storage shall retain the existing copy-from-rvalue behavior. The source shall be a live initialized object with an admitted stored representation; no library initialization, rounding setup, allocation or policy callback shall be required.

    RATIONALE:

    A trivial eligible constructor and trivial destructor admit implicit lifetime creation for the native-integer wrapper while preserving policy-aware copies for other storage types.

    INTERFACE:

    Names belong to Parma_Polyhedra_Library unless qualified otherwise. Template excerpts omit SFINAE return-type restrictions described in the text.

    // Member of Checked_Number<T, Policy>:
    Checked_Number(Checked_Number&&)
      requires (Is_Native<T>::value != 0 && std::is_integral_v<T>) = default;
    
    VERIFICATION_CRITERIA:

    Check trivial/nothrow move, trivial destruction, nontrivial copy, layout and size/alignment traits for every admitted native integral type; exercise zero, one and both range extrema with source preservation and a counting policy. Check independent GMP copies from rvalues and exclusion of floating storage. Inspect the C++20 lifetime argument separately from execution tests.

    SOURCE:

    src/Checked_Number_defs.hh; src/Checked_Number_inlines.hh; tests/checkedmovespec1.cc; tests/scalaradapterspreinit1.cc.

  • PPL-SPEC-001640
    2. Consuming coefficient relocation UID: PPL-SPEC-001640 STATUS: APPROVED COMPONENT: NUMERICS APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    For the configured coefficient type, relocate_coefficient(to,from) shall transfer the entry source value to a distinct destination slot. relocate_coefficients(to,from,count) shall transfer the ordered sequence of count source values between disjoint ranges. relocate_coefficients_right(from,count,shift) shall transfer that sequence to the range beginning shift slots later in the same allocation; overlapping, touching and disjoint ranges, zero count and zero shift shall be admitted. Overlap shall preserve the entry sequence, as if its values were first retained before writing the destination.

    Source slots shall contain live initialized coefficients. Destination-only slots shall be suitably aligned uninitialized or previously consumed storage. All pointers shall designate valid storage even when count is zero; the source and destination extents and byte-size products shall be representable and fit their allocations. After relocation the destination range shall hold live coefficients with the entry source values and ownership. Source-only slots shall be consumed: their old values shall neither be accessed nor destroyed; they may be reconstructed or their storage released without coefficient destruction. Overlap slots belonging to the destination shall remain live. No coefficient-owned resource shall be duplicated or lost.

    The helpers shall be nonthrowing, allocate no storage and invoke no numerical conversion, policy handler or rounding control. They shall require no library initialization. Native integral coefficient relocation shall preserve each integer representation using the implicit-lifetime wrapper property of 🔗 1. Native integral checked-number value move.

    RATIONALE:

    Dense and sparse storage need consuming ownership transfer into raw slots, including overlapping right shifts, without numerical conversion or extra allocations.

    INTERFACE:

    Names belong to Parma_Polyhedra_Library unless qualified otherwise. Template excerpts omit SFINAE return-type restrictions described in the text.

    void relocate_coefficient(Coefficient*, Coefficient*) noexcept;
    void relocate_coefficients(Coefficient*, Coefficient*, std::size_t) noexcept;
    void relocate_coefficients_right(Coefficient*, std::size_t,
                                     std::size_t) noexcept;
    
    VERIFICATION_CRITERIA:

    Exercise single transfers, empty/disjoint ranges, every overlap pattern, touching ranges, zero shift, consumed-slot reconstruction and resource-owning values. Destroy only live outputs and use sanitizers for resource misuse. Inspect lifetime creation and integer-subobject representation preservation; test matching checked/native bounded configurations as well as GMP configurations.

    SOURCE:

    src/Coefficient_relocation.hh; src/Coefficient_defs.hh; tests/coefficientrelocationspec1.cc.

11. MISRA C++ compliance UID: PPL-LLR-000411 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Release applicability: deferred beyond PPL 2.0.

PPL-maintained production C++ code shall comply with MISRA C++:2023 incorporating Technical Corrigendum 1. Use of the C++20 language baseline shall be covered by an explicit documented language-baseline deviation satisfying 🔗 5. Permitted deviations. Compliance shall include the associated compliance provisions and assessment at the analysis scopes prescribed by the guidelines. Any other deviations shall also satisfy 🔗 5. Permitted deviations, and conformance evidence shall satisfy 🔗 6. Conformance evidence.

RATIONALE:

An identified coding-guideline edition and corrigendum provide a common basis for assessing safe and secure C++ implementation. Guideline-required analysis scopes and compliance provisions are necessary to support a meaningful conformance claim for a library and its integration contexts.

COMMENT:

The production scope follows implementation language. C++20 use requires the explicit documented language-baseline deviation under 🔗 5. Permitted deviations; Technical Corrigendum 1 remains part of the selected MISRA C++ baseline. No project deviation can override a prohibited governing obligation. Direct verification assesses actual source and generated output at the required analysis scopes, supported by reviewed applicability, deviation and evidence records.

VERIFICATION_CRITERIA:

Verify TC1's exact publication identifier and the supporting normative provisions against the authoritative MISRA C++:2023 and TC1 texts. Inspect their applicable compliance provisions. Review the explicit C++20 language-baseline deviation for its affected provisions, scope, justification, assessed safety and security consequences, necessary compensating measures and approval under 🔗 5. Permitted deviations. Review guideline applicability and an assessment plan covering the production scope, assessed configurations and each prescribed translation-unit, system or program analysis scope. Assess actual maintained and generated C++ code, including manual assessment of applicable rules and directives not discharged by automated analysis. Review findings, permitted deviations and conformance evidence against 🔗 5. Permitted deviations and 🔗 6. Conformance evidence. Identify the integration assumptions and evidence still required from a client or whole-program assessment; do not infer arbitrary client-program compliance from assessment of the library alone. Tool support or an absence of reported findings does not establish that all applicable obligations are satisfied.

12. C language baseline UID: PPL-LLR-000412 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

PPL-maintained production C code shall conform to ISO/IEC 9899:2018 (C18). This obligation includes generated C implementation code and headers in their C use contexts. PPL C translation units shall be compiled in C18 language mode. Any use of language extensions shall satisfy 🔗 2. Controlled use of language extensions.

RATIONALE:

A fixed standardized C edition gives production C implementations and their verification a common semantic baseline. Checking headers in C use contexts protects the C contract independently of the implementation language of a binding.

COMMENT:

The production scope follows implementation language; IF_C identifies an interface context. 🔗 1. Core build prerequisite validation addresses prerequisite checks when selected components require C compilation. Direct verification assesses source and generated code, compilation evidence and actual compilation modes.

VERIFICATION_CRITERIA:

Inspect the production-source and generated-output inventory for complete identification of C code and header use contexts. Review the compilation commands for the assessed configurations, including selected distributed command-line tools, to establish use of C18 language mode. Compile the applicable production translation units and representative header use contexts with the required facilities. Assess actual maintained and generated C code against ISO/IEC 9899:2018 and review identified language extensions against 🔗 2. Controlled use of language extensions. Assess public headers exposed to C in their supported C use contexts even where the implementation is C++. Successful compilation alone does not establish language conformance.

13. MISRA C compliance UID: PPL-LLR-000413 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Parent): STATEMENT:

Release applicability: deferred beyond PPL 2.0.

PPL-maintained production C code shall comply with MISRA C:2025. Compliance shall include the associated compliance provisions and assessment at the analysis scopes prescribed by the guidelines. Any deviations shall satisfy 🔗 5. Permitted deviations, and conformance evidence shall satisfy 🔗 6. Conformance evidence.

RATIONALE:

An identified coding-guideline edition provides an assessable basis for safe and secure C implementation. Applying its compliance provisions and required analysis scopes prevents a partial source check from being presented as a complete conformance claim.

COMMENT:

The production scope follows implementation language. No project deviation can override a prohibited governing obligation. Direct verification assesses actual source and generated output at the required analysis scopes, supported by reviewed applicability, deviation and evidence records.

VERIFICATION_CRITERIA:

Inspect the identified MISRA C:2025 text and its applicable compliance provisions, including their application to the selected C18 baseline. Review guideline applicability and an assessment plan covering the production scope, assessed configurations and each prescribed translation-unit, system or program analysis scope. Assess actual maintained and generated C code and headers in their C use contexts, including manual assessment of applicable rules and directives not discharged by automated analysis. Review findings, permitted deviations and conformance evidence against 🔗 5. Permitted deviations and 🔗 6. Conformance evidence. Identify integration assumptions and any client or whole-program evidence required beyond the library assessment. Tool support or an absence of reported findings does not establish that all applicable obligations are satisfied.

PPL-LLR-000457
14. Fidelity of native verification fixtures UID: PPL-LLR-000457 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection RELATIONS (Parent): RELATIONS (Child): STATEMENT:

Native verification fixtures used for failure injection or for constructing reference inputs shall set up the stated scenarios and describe their observations with the limits of the measurement mechanism. Where a failure is injected for a scoped check, the fixture shall disable subsequent injection before independent observations. Equivalent encodings of a reference input shall describe the same mathematical object.

RATIONALE:

Verification evidence depends on reproducible setup and a correct interpretation of what the test actually observes.

COMMENT:

Software specification contracts cover the behavior of the support declarations. Separate test assertions provide verification evidence for the library operations exercised with those fixtures.

VERIFICATION_CRITERIA:

Inspect fault controls and scoped cleanup, including exceptional exit. Check the meaning and limits of raw allocation observations. Compare fixture data, insertion order, dimensions and variable positions with the reference models specified for the tests.

  • PPL-SPEC-001736
    7. Replacement allocation failure injection UID: PPL-SPEC-001736 STATUS: APPROVED COMPONENT: RUNTIME APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The fixture shall initialize its failure countdown to a disabled state. When a replacement allocation is attempted with a nonnegative countdown, the allocation path shall decrement it. An entry value of zero shall throw std::bad_alloc before requesting storage. An entry value below zero shall leave the countdown unchanged and permit the ordinary replacement allocation path. That path shall request the given byte count, or one byte for a zero-size request. It shall throw std::bad_alloc when allocation fails. Array allocation shall use the same path. A countdown observation shall return the current countdown. Clients shall serialize control and observation of the fixture.

    RATIONALE:

    A known failing allocation attempt lets the test exercise cleanup and recovery paths without relying on actual resource exhaustion.

    INTERFACE:

    Test_Allocation::countdown, Test_Allocation::observed_countdown() and the replacement operator new and operator new[] in tests/throw_on_allocation.hh.

    VERIFICATION_CRITERIA:

    Inspect the initial state and follow negative, positive and zero entry values through the scalar path. Check array delegation and the zero-byte allocation and allocation-failure branches. Inspect the countdown read.

    SOURCE:

    tests/throw_on_allocation.hh.

  • PPL-SPEC-001737
    8. Replacement allocation observations UID: PPL-SPEC-001737 STATUS: APPROVED COMPONENT: RUNTIME APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The fixture shall initialize its allocation balance to zero. It shall increment the balance for each successful allocation through its replacement and decrement it for each nonnull pointer passed to its replacement deallocator. Sized and array forms shall use the same accounting path. A balance observation shall return the current balance. The balance measures only events that reach the replacements. Counts may include just one end of an allocation lifetime when interposition is incomplete.

    The summary shall start with a zero count and zero extrema. Given two balance observations, it shall ignore equal values. Otherwise it shall count the observation and update the minimum and maximum of the signed difference, later minus earlier, over all recorded nonzero differences. The fixture assumes serialized use and representable counts and differences.

    RATIONALE:

    The test can distinguish an observed cleanup imbalance from an inference about every allocation in a process.

    INTERFACE:

    Test_Allocation::outstanding, Test_Allocation::observed_outstanding(), Test_Allocation::Balance_Observations and Balance_Observations::record(long, long). The replacement allocation and deallocation entry points supply the measured events.

    VERIFICATION_CRITERIA:

    Follow successful and failed allocations, null and nonnull deallocation, and the delegates for array and sized operations. Inspect observation reads and check that equal, first nonzero, and subsequent positive or negative differences produce the stated count and extrema.

    SOURCE:

    tests/throw_on_allocation.hh.

  • PPL-SPEC-001738
    9. Partial-function input and failure-scope fixtures UID: PPL-SPEC-001738 STATUS: APPROVED COMPONENT: CORE_DATA_STRUCTURES APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The reference pair shall hold source and image coordinates as separate dimension indices. The population helper shall insert the supplied pairs in sequence using that coordinate order and the library operation's valid insertion preconditions. The allocation-failure scope shall set the requested countdown at entry and disable injection at destruction, including during exception unwinding. Callers shall use the failure scopes without copying or nesting them.

    RATIONALE:

    Ordered setup fixes the tested insertion sequence. Disabling injection before the independent oracle runs keeps its own allocations outside the failure being checked.

    INTERFACE:

    Mapping, populate and Allocation_Failure in tests/partialfunction1.cc.

    VERIFICATION_CRITERIA:

    Inspect source-to-image insertion and the input iteration order. Follow normal and exceptional exits from the failure scope and locate where the test observes the map after injection has been disabled.

    SOURCE:

    tests/partialfunction1.cc.

  • PPL-SPEC-001739
    10. Equivalent one-coordinate ranking countdown fixtures UID: PPL-SPEC-001739 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The full fixture shall construct a two-dimensional closed polyhedron describing x ≥ 0,  x’ = x − 1 with after-state coordinate x’ at index zero and before-state coordinate x at index one. For the paired encoding, the guard fixture shall construct a one-dimensional closed polyhedron for x ≥ 0 at index zero. The update fixture shall construct the two-dimensional closed polyhedron for x’ = x − 1 in the same coordinate order as the full fixture. Their aligned conjunction shall equal the full fixture, using the coordinate interpretation in 🔗 1. Transition encoding and ranking interpretation.

    RATIONALE:

    Equivalent, explicit inputs let the tests validate the two entry points against the same reference transition.

    INTERFACE:

    ranking_valid_countdown_relation(), ranking_valid_countdown_before() and ranking_valid_countdown_after() in tests/Polyhedron/termination2.cc.

    VERIFICATION_CRITERIA:

    Inspect the dimensions, coordinate positions and constraints of each fixture. Check that lifting the one-dimensional guard onto the before-state coordinate of the update yields exactly the two-dimensional relation.

    SOURCE:

    tests/Polyhedron/termination2.cc.

  • PPL-SPEC-001742
    12. Parametric compatibility verification fixtures UID: PPL-SPEC-001742 STATUS: APPROVED COMPONENT: PIP_SOLVER APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The row and matrix fixtures shall preserve supplied constants, coordinate coefficients and logical widths when constructing variants with different capacities or explicit stored zeroes. The symmetric-equation fixture shall encode each supplied equation by both signs of its row. The protected test accessors shall expose the existing compatibility overloads without solving a public problem. Snapshot comparisons shall serialize source rows or compare their logical contents as appropriate to the test.

    A scoped hook shall restore the preceding checkpoint callback on exit, including exceptional exit. The indexed interruption fixtures shall count calls and interrupt at the selected checkpoint. A one-shot client overflow shall disable further callback invocation before throwing. A nested call shall use the supplied inner workspace, context and row and shall suppress recursive reentry of that same hook.

    The public-problem setup used with the zero-coordinate cases shall preserve the specified variable order, parameter identities and input-row meanings across variations of representation and insertion order. It shall set the selected solver controls before the assertions evaluate the public result.

    RATIONALE:

    The tests rely on controlled variations of the same mathematical context and a repeatable distinction between library failure and fixture injection.

    INTERFACE:

    Private compatibility accessors, coordinate and row setup, observation helpers and checkpoint hooks in the three test files below.

    VERIFICATION_CRITERIA:

    Compare constructed rows and parameter sets with the stated inputs. Inspect snapshot observers, the scoped callback lifetime and interruption and recursion paths. Review the separate test assertions that determine library results under 🔗 5. Integer feasibility of parametric compatibility contexts.

    SOURCE:

    tests/PIP_Problem/compatibilityworkspace1.cc, tests/PIP_Problem/exactcontexts1.cc and tests/PIP_Problem/compatibilityzero1.cc.

PPL-LLR-000458
15. Reliability of native verification support UID: PPL-LLR-000458 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection RELATIONS (Parent): RELATIONS (Child): STATEMENT:

Native verification support shall distinguish test results, fatal harness failures, unavailable tests and compilation-only checks. Diagnostic verbosity shall not change a test's result. File and timing helpers shall report setup or measurement failures through their declared failure paths. Timing observations shall identify the measured clock and its scope. Runtime doubles shall model only their declared operations. Numerical reference calculations shall derive the expected result independently of the library operation being assessed.

RATIONALE:

Verification evidence is meaningful only when its test outcomes, reference values and supporting observations have the stated interpretation.

VERIFICATION_CRITERIA:

Inspect the outcome and diagnostic paths, including unavailable facilities, file failures, clock failures and fatal process exits. Check the declared scope of each runtime double against its supported operations. Compare numerical reference calculations with explicit expected values at normal and boundary cases and inspect their independence from the tested operation.

SOURCE:

tests/ppl_test.hh, tests/ppl_test.cc, tests/files.cc, utils/timings.cc, tests/ocaml_integer_conversion1.cc, tests/swi_coefficient_conversion1.cc, tests/Concrete_Expression/C_Expr.cc and tests/Concrete_Expression/ibmroundoff1.cc.

  • PPL-SPEC-001719
    1. Verification diagnostic routing UID: PPL-SPEC-001719 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    Test verbosity selection shall enable output when the named environment variable exists, where getenv is available; its value need not be nonempty. Otherwise, the configured NOISY and VERY_NOISY fallbacks shall govern the corresponding names. An unrecognized name shall be disabled in that fallback. A disabled noisy stream shall discard characters while reporting successful writes. An enabled stream shall use the supplied stream's buffer. nout and vnout shall select the ordinary and very-noisy channels independently. The C harness query functions shall expose the corresponding Boolean decisions. print_function shall print a nonempty introduction followed by a newline and then delegate to the partial function's print operation. These helpers shall not determine whether a numerical test passed.

    RATIONALE:

    Diagnostic verbosity must not change a test result or turn discarded output into a stream failure.

    INTERFACE:

    Native test support in tests/ppl_test.hh, tests/ppl_test.cc and the C test harness.

    VERIFICATION_CRITERIA:

    Inspect each environment/fallback branch, stream-buffer selection and EOF handling; exercise disabled and enabled channels and an empty/nonempty introduction.

    SOURCE:

    tests/ppl_test.hh; tests/ppl_test.cc; interfaces/C/tests/ppl_c_test.h; interfaces/C/tests/ppl_c_test.cc.

  • PPL-SPEC-001720
    2. Fatal test-process diagnostics UID: PPL-SPEC-001720 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    set_handlers shall install a terminate handler which reports an uncaught exception and exits unsuccessfully. Where sigaction is available it shall install the selected SIGFPE handler; installation failure shall diagnose and abort. SIGFPE handling shall report the available cause or exception flags and exit unsuccessfully. These are fatal test-process diagnostics, not a recoverable library exception or signal-safety guarantee.

    RATIONALE:

    Fatal fixture failures must produce a diagnostic and an unsuccessful process result instead of continuing with invalid test state.

    INTERFACE:

    Test::set_handlers and its private terminate/SIGFPE callbacks.

    VERIFICATION_CRITERIA:

    Inspect platform branches and unsuccessful exit paths; exercise termination only in subprocesses and preserve the caller process.

    SOURCE:

    tests/ppl_test.hh; tests/ppl_test.cc.

  • PPL-SPEC-001721
    3. Test file opening and closing UID: PPL-SPEC-001721 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    open shall open the supplied fstream with the requested path and mode. On failure it shall report the path, identify the ordinary read/write modes when recognized, and exit with status 1. close shall call the stream close operation only when its entry Boolean stream state is true; it shall not clear a failed stream or promise to close an already-failed stream. Paths and stream lifetimes shall be valid for the underlying standard-library operations.

    RATIONALE:

    A fixture must distinguish unusable input files from a failed library operation; the close helper preserves its existing failed-stream semantics.

    INTERFACE:

    The global open(fstream&, const char*, openmode) and close(fstream&) test helpers.

    VERIFICATION_CRITERIA:

    Inspect exact mode diagnostics and failed-stream behavior; exercise a valid temporary path and a rejected path in a subprocess.

    SOURCE:

    tests/files.hh; tests/files.cc.

  • PPL-SPEC-001722
    4. Test user-CPU timing observations UID: PPL-SPEC-001722 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    Where getrusage and timeval are configured, start_clock shall save process user-CPU time for a subsequent print_clock call. print_clock shall print the nonnegative elapsed user time rounded to centiseconds, carrying into the seconds field as needed and restoring the output stream's fill character. A getrusage failure shall diagnose and exit with status 1. Without that configured facility start_clock shall do nothing and print_clock shall emit "(no clock available)". Calls shall be ordered and synchronized appropriately for the configured thread-local or shared saved timestamp. This observation shall not be interpreted as wall-clock time or a performance acceptance test.

    RATIONALE:

    Timing output is interpretable only when its clock, units and rounding are explicit.

    INTERFACE:

    start_clock(), print_clock(ostream&) and saved_ru_utime.

    VERIFICATION_CRITERIA:

    Inspect rounding/carry, failure and unavailable-clock branches; compare output format and restoration of a nondefault fill character.

    SOURCE:

    utils/timings.hh; utils/timings.cc.

  • PPL-SPEC-001723
    5. Restricted foreign-runtime verification doubles UID: PPL-SPEC-001723 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The OCaml integer fixture shall model only the tagged immediate-integer ABI used by the native conversion helpers. Its selected word types and tag operations shall agree on that encoding. Any attempted heap/custom-block access shall throw logic_error with the fixture diagnostic; it shall not return a plausible heap value. Its unsigned-argument error double shall throw invalid_argument with the supplied message. The fixture shall not claim to implement the OCaml collector, ownership protocol or exception runtime.

    The SWI coefficient fixture shall model only the term and initialized-GMP exchange needed by its conversion tests. Its modern extraction double shall leave output untouched and fail when requested; on success it shall copy the selected integer and record the output address. Its legacy extraction double shall perform that copy without a result status. The unification and variable reset doubles shall supply only the successful/no-op behavior used by this fixture, not a complete Prolog term store.

    RATIONALE:

    Narrow runtime doubles must fail immediately outside their supported subset, so they cannot accidentally validate the complete foreign runtime.

    INTERFACE:

    The private ABI doubles and state in tests/ocaml_integer_conversion1.cc and tests/swi_coefficient_conversion1.cc.

    VERIFICATION_CRITERIA:

    Exercise heap-access rejection, tagged-integer boundaries and both modern/legacy coefficient extraction paths. Inspect the deliberately restricted scope of every double.

    SOURCE:

    tests/ocaml_integer_conversion1.cc; tests/swi_coefficient_conversion1.cc.

  • PPL-SPEC-001726
    6. Compilation-only and unavailable-profile test drivers UID: PPL-SPEC-001726 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    An unavailable-profile test driver shall return the test harness skip status 77 without claiming to execute the disabled threaded verification. Its enabled branch shall retain that branch's actual verification allocations. The C_Expr compilation fixture shall include the authored expression header and provide a successful entry point. Successful compilation establishes only that the selected declarations are well formed in that build; returning zero shall not be treated as a mathematical test of every expression operation.

    RATIONALE:

    A compile-only or unavailable-profile driver is not evidence that the numerical operation was exercised.

    INTERFACE:

    The fallback entry points in atomicwatchdogspec1, ownedexpressionthreads1 and threadsafepublic1; tests/Concrete_Expression/C_Expr.cc.

    VERIFICATION_CRITERIA:

    Inspect conditional branches and exit statuses; compile the C_Expr fixture and verify skipped versus executed tests separately.

    SOURCE:

    tests/atomicwatchdogspec1.cc; tests/ownedexpressionthreads1.cc; tests/threadsafepublic1.cc; tests/Concrete_Expression/C_Expr.cc.

  • PPL-SPEC-001740
    11. IBM hexadecimal rounding reference fixture UID: PPL-SPEC-001740 STATUS: APPROVED COMPONENT: EXPRESSION_ANALYSIS APPLICABILITY: IF_CPP, NATIVE_FP_AVAILABLE VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The reference quantizer shall model normalized hexadecimal rounding toward zero with six or fourteen stored fraction digits and a radix-16 exponent in the range -64 through 63. It shall use exact rational arithmetic. A magnitude below the smallest normalized value, 16 − 65, shall map to zero. Other inputs shall be within the modeled exponent range. Scaling by a power of 16 and truncating the magnitude to the selected number of hexadecimal digits shall preserve the sign of a nonzero result.

    The fixture shall supply the two input intervals and the associated coordinates of each reference to the target-adapted linearizer. It shall decline constant and integer-expression queries. Given a bounded affine form with finite endpoints, the comparison shall evaluate its two coordinate contributions using exact rational conversions of the stored endpoints and check containment of the reference result. The reference quantizer shall not invoke the linearization operation being verified.

    RATIONALE:

    A reference independent of the linearizer can distinguish observed enclosure from an expected result derived with the same error in the implementation.

    INTERFACE:

    The internal ITV and Form aliases, power16, exact, hfp_round, Oracle and encloses in tests/Concrete_Expression/ibmroundoff1.cc.

    VERIFICATION_CRITERIA:

    Compare reference results with literal expectations for both precisions, truncation of both signs, the smallest normalized magnitude and underflow. Inspect exact rational conversion, coordinate association, and interval evaluation for positive and negative inputs. Confirm that the PPL arithmetic tests use the quantizer's result to check the returned form.

    SOURCE:

    tests/Concrete_Expression/ibmroundoff1.cc.

  • PPL-SPEC-001743
    13. Exact reference calculations for bounded MIP tests UID: PPL-SPEC-001743 STATUS: APPROVED COMPONENT: MIP_SOLVER APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The model helpers shall supply the same affine rows, bounds, integer coordinates and objectives used by their comparison tests. Reference feasibility and objective values shall be computed with exact rational arithmetic independently of the MIP solver. Enumerate the admitted integer coordinates over the models' finite bounds. For a continuous coordinate remaining after the other coordinates are fixed, derive its closed feasible interval and test its endpoints. For the bounded real half-plane models, examine intersections of nonparallel boundary lines and retain only feasible points. In the integer and mixed half-plane cases, enumerate the bounded integer coordinates and use the corresponding feasible interval endpoints when a coordinate remains continuous.

    A reference result shall distinguish absence of a feasible point from a feasible exact extremum. The coefficient adapters shall supply exact integer or rational values for the comparisons. An adapter that returns a conversion status shall indicate whether the conversion is exact. A borrowed GMP value shall be used only while its coefficient remains live.

    RATIONALE:

    Independently derived feasibility and optimum values allow the tests to check the solver's statuses and witnesses without using solver arithmetic as the expected result.

    INTERFACE:

    The private model, row, exact arithmetic and oracle helpers in tests/MIP_Problem/enumeratedmodels1.cc and MIP_Coefficient_Test::integer in tests/MIP_Problem/coefficient_test.hh.

    VERIFICATION_CRITERIA:

    Review equivalence of the scalar inequalities and solver inputs for each family, including the parity cut and coordinate padding. Check that the integer bounds, interval endpoints and real vertices cover every family's possible feasibility and extremum outcomes. Inspect exact coefficient conversion and confirm the reference does not call the MIP solver.

    SOURCE:

    tests/MIP_Problem/enumeratedmodels1.cc and tests/MIP_Problem/coefficient_test.hh.

  • PPL-SPEC-001744
    14. Exact PIP tree interpretation in tests UID: PPL-SPEC-001744 STATUS: APPROVED COMPONENT: PIP_SOLVER APPLICABILITY: IF_CPP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    The interpreter shall take a live solution tree and supplied finite parameter values in the scope of that tree. It shall read the native guards, artificial-parameter definitions and leaf expressions and evaluate them with unbounded integer arithmetic. It shall append artificial parameters in introduction order using mathematical floor with a positive denominator. It shall require referenced coordinates to be in scope and refuse to interpret an original decision coordinate as a parameter.

    A decision shall select its true child only when all local guards hold. A missing node or failed solution guard shall yield false. A feasible solution node shall yield one value per requested decision coordinate in the supplied order. The coefficient-input adapter shall convert to GMP before evaluation and shall require a result representable by the requested answer type. The mode fixture shall call the supplied test with both input representations, both insertion orders and every supported cutting and pivot choice, stopping if the test returns false.

    RATIONALE:

    The test observer must interpret returned trees with exact arithmetic even when the stored coefficient type is bounded. Separate solver assertions compare those interpreted results with expected tuples and feasibility.

    INTERFACE:

    PIP_Test_Oracle::affine_value, evaluate_exact, evaluate and for_all_modes in tests/PIP_Problem/pip_test_oracle.hh.

    VERIFICATION_CRITERIA:

    Inspect the artificial scope and floor calculation, guard tests, branch selection and result order. Check the distinction between evaluation in GMP and conversion of an admitted answer. Inspect the discrete modes passed to the callback and the propagation of a false test result.

    SOURCE:

    tests/PIP_Problem/pip_test_oracle.hh.

  • PPL-SPEC-001745
    15. MIP regression fixture coefficient-profile handling UID: PPL-SPEC-001745 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: IF_CPP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT:

    A regression fixture shall have a stated coefficient width for completion. GMP and bounded profiles meeting that width shall propagate the callback's Boolean result and exceptions. A narrower checked profile shall preserve a returned Boolean result and propagate exceptions other than arithmetic overflow. It may report an allowed arithmetic overflow with the corresponding diagnostic. A narrower native profile shall record a skip before the fixture callback is invoked. These paths shall retain the distinction between a completed solver result, a checked overflow and a skipped native fixture.

    RATIONALE:

    A test completion profile limits the expected arithmetic range without converting a wrong numerical result into a successful regression check.

    INTERFACE:

    MIP_Coefficient_Test::coefficient_case and DO_TEST_COEFFICIENT_PROFILE in tests/MIP_Problem/coefficient_test.hh.

    VERIFICATION_CRITERIA:

    Exercise false and true callbacks, an overflow and an unrelated exception. Verify callback invocation in the supported and checked cases and its absence for native profiles below the declared width. Inspect diagnostic and harness reporting paths.

    SOURCE:

    tests/MIP_Problem/coefficient_test.hh and tests/MIP_Problem/enumeratedmodels1.cc.