Parma Polyhedra Library requirements
PPL high-level requirements

Optional facilities are considered in their supported contexts.

PPL-HLR-000001
1. Numerical and geometric foundations UID: PPL-HLR-000001 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Domains and solvers need a common interpretation of coefficients, coordinates, expressions, constraints and generators.

VERIFICATION_CRITERIA:

Review the common mathematical definitions and their consistency across domains; exercise representative descriptor construction, arithmetic and dimension changes under each supported numerical configuration.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: Basic_Geometric_Descriptors, Syntactic_Geometric_Descriptors; src/Coefficient_defs.hh; src/Linear_Expression_defs.hh.

PPL-HLR-000002
2. Primitive numerical abstractions UID: PPL-HLR-000002 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Clients need alternative numerical representations with different expressiveness and computation costs.

VERIFICATION_CRITERIA:

Review that each abstraction has a mathematical interpretation and defined operations; check representative exact results and conservative approximations, including empty and zero-dimensional cases.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: Semantic_Geometric_Descriptors, Intervals_and_Boxes, Weakly_Relational_Shapes, convex_polys, sect_rational_grids.

PPL-HLR-000003
3. Disjunctions and combinations of numerical abstractions UID: PPL-HLR-000003 STATUS: APPROVED COMPONENT: DOMAIN_COMBINATIONS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Nonconvex information and complementary forms of numerical information require more than a single primitive abstraction.

VERIFICATION_CRITERIA:

Review finite-powerset and product semantics; check that representative lifted operations and reductions preserve their declared meaning and precision.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: powerset, pointset_powerset; src/Pointset_Powerset_defs.hh; src/Partially_Reduced_Product_defs.hh.

PPL-HLR-000004
4. Abstract expression evaluation UID: PPL-HLR-000004 STATUS: APPROVED COMPONENT: EXPRESSION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

PPL shall provide numerical expression analysis facilities whose successful results conservatively enclose the concrete evaluations admitted by the input approximation and the selected arithmetic model.

RATIONALE:

Numerical analysis must account for uncertainty and the arithmetic semantics of the expressions being analysed.

VERIFICATION_CRITERIA:

Analyse the enclosure argument for each supported expression category; compare abstract results with concrete evaluations at representative boundaries, including rounding and unsupported-operation outcomes.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

src/Floating_Point_Expression_defs.hh; src/Linear_Form_defs.hh; src/Interval_defs.hh.

PPL-HLR-000005
5. Linear optimization with integrality and parameters UID: PPL-HLR-000005 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Clients need numerical decision and optimization services as well as abstract-domain operations.

VERIFICATION_CRITERIA:

Review the problem classes and result meanings; check feasible, infeasible, unbounded and parameter-dependent examples against independently established results where those outcomes belong to the selected solver.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

src/MIP_Problem_defs.hh; src/PIP_Problem_defs.hh.

PPL-HLR-000006
6. Termination analysis using linear ranking functions UID: PPL-HLR-000006 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

PPL shall provide termination analysis facilities that decide the existence of, or construct, affine ranking functions for the transition-relation classes admitted by the selected method. A ranking found within the method's stated scope shall certify termination. An unsuccessful ranking search shall leave termination inconclusive.

RATIONALE:

A termination claim must be justified by a ranking-function argument under the method's stated assumptions.

VERIFICATION_CRITERIA:

Review each method's accepted transition model and arithmetic assumptions. Validate returned ranking functions against transition constraints. Check examples with and without an affine ranking in the method's decision scope, and check that an unsuccessful search is reported as inconclusive about termination.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

src/termination_defs.hh; src/termination_templates.hh; src/termination.cc.

  • PPL-LLR-000121
    1. Transition-coordinate interpretation UID: PPL-LLR-000121 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    Termination analysis shall interpret transition coordinates consistently with the documented before-state and after-state ordering. For paired inputs it shall analyze the conjunction of the before-state restriction and transition relation after aligning their coordinate meanings. Inputs with incompatible state dimensions shall be rejected rather than analyzed under a different ordering.

    RATIONALE:

    A sound ranking argument for an incorrectly aligned transition relation does not establish termination of the intended loop.

    COMMENT:

    Verification covers the accepted transition encodings, before/after coordinate mapping, paired-input interpretation and dimension-validation contracts. Use the stated comparisons and rejection cases to verify those contracts together with analysis of coordinate alignment. Successful mathematical results assume valid inputs, documented caller preconditions, and arithmetic representable under the selected configuration; resource or arithmetic failures are not successful results.

    VERIFICATION_CRITERIA:

    Compare single-relation and paired-input encodings of the same transitions, including coordinate permutations and zero-dimensional states. Check rejection of odd single-relation dimensions and paired dimensions that do not describe matching before and after states. Include paired inputs whose conjunction is empty although each input is nonempty.

    BIBLIOGRAPHY:

    BagnaraMPZ12IC | Section 3 and Section 4.3 (transition relations and imperative-loop encoding; author manuscript).

    SOURCE:

    src/termination_defs.hh: single-relation and paired-input coordinate conventions. src/termination_templates.hh: dimension validation, coordinate shifting, and conjunction of before and after constraints. tests/Polyhedron/termination1.cc and tests/Polyhedron/termination2.cc: ranking and transition-model tests.

  • PPL-LLR-000122
    2. Sound positive results and inconclusive negative results UID: PPL-LLR-000122 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    Under the selected analysis operation's stated input and computational-arithmetic preconditions, a positive termination-analysis result shall certify termination of every loop whose transition relation is contained in the supplied approximation, under the mathematical state semantics of the selected analysis method. Within that scope, a completed ranking-function search that does not establish an affine ranking function shall report an inconclusive result and shall not be interpreted as proof of nontermination, even when the supplied relation is exact.

    RATIONALE:

    Affine ranking functions are sufficient termination arguments, but terminating loops need not admit a ranking function of the supported form. A completed search without such a function is distinct from a computation outside its stated preconditions or a reported computational failure; neither establishes a termination certificate.

    COMMENT:

    Verification covers termination-query outcome contracts, including the mathematical meaning of a positive answer and the inconclusive meaning of unsuccessful ranking-function discovery within the normative scope. The contracts make the input and computational-arithmetic preconditions precise; they do not introduce permission to accept an unsound positive result in that scope. Verify the contracts using the stated soundness analysis and positive, negative and inconclusive examples. Unsuccessful ranking-function discovery is not a nontermination decision.

    VERIFICATION_CRITERIA:

    Establish the selected analysis operation's stated input and computational-arithmetic preconditions for numerical evidence cases. Review the soundness argument connecting represented transitions to the selected ranking obligations. Test positive decreasing-loop models, nondecreasing models, empty relations, and examples requiring a different form of ranking argument. Verify that user-facing outcome descriptions preserve the distinction between inconclusiveness and nontermination. Apparent completion of unchecked arithmetic does not establish the preconditions or justify accepting a positive certificate.

    BIBLIOGRAPHY:

    BagnaraMPZ12IC | Section 3, Section 4.2 and Section 5 (ranking conditions and termination methods; author manuscript).

    SOURCE:

    src/termination_defs.hh: termination-test and witness-query return contracts explicitly describe unsuccessful tests as inconclusive. src/termination_templates.hh and src/termination.cc: ranking reductions. tests/Polyhedron/termination1.cc and tests/Polyhedron/termination2.cc: positive and unsuccessful synthesis cases.

  • PPL-LLR-000123
    3. Ranking-witness validity UID: PPL-LLR-000123 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    Under the selected analysis operation's stated input and computational-arithmetic preconditions, a reported ranking witness's coefficients shall encode an affine function satisfying the lower-bound and decrease obligations of the selected documented ranking method over every represented transition.

    The coefficient ordering and state-coordinate interpretation shall remain consistent between synthesis, witness extraction and subsequent inspection.

    RATIONALE:

    A returned witness must substantiate the positive result and be independently checkable against the transition model within the analysis operation's declared input and computational-arithmetic scope. The coefficient-layout convention is distinct from that numerical precondition and remains consistent wherever the witness is interpreted.

    COMMENT:

    Verification covers ranking-witness construction and extraction contracts, coefficient ordering and before/after coordinate interpretation. The contracts make the numerical preconditions precise without qualifying the separate layout-consistency obligation. Verify returned witnesses by the stated independent lower-bound and decrease checks and method-specific mathematical analysis.

    VERIFICATION_CRITERIA:

    Establish the selected analysis operation's stated input and computational-arithmetic preconditions for numerical evidence cases. Decode witness coefficients independently and reduce their lower-bound and decrease obligations to checks over the original rational transition constraints. Cover both supported ranking methods, the single and paired encodings, negative state values, and strict transition inequalities. Check the witness dimension and constant-term position independently of arithmetic-profile assumptions. A returned witness is not verified merely because unchecked execution completed.

    BIBLIOGRAPHY:

    BagnaraMPZ12IC | Section 4.2, Equations (16)-(17), and Section 5 (affine ranking witnesses; author manuscript).

    SOURCE:

    src/termination_defs.hh: witness coefficient ordering and the supported ranking-method contracts. src/termination.cc: ranking-witness extraction. tests/Polyhedron/termination1.cc: known ranking witnesses and spaces for independently described loop models.

  • PPL-LLR-000124
    4. Normalized ranking-function spaces UID: PPL-LLR-000124 STATUS: APPROVED COMPONENT: TERMINATION_ANALYSIS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    For valid transition data satisfying the analysis operation's stated input and computational-arithmetic preconditions, the coefficient space returned by the normalized all-ranking-functions analysis based on the Mesnard-Serebrenik method shall represent exactly the affine functions that are nonnegative before every represented rational transition and decrease by at least one on that transition. Within that scope, an empty transition relation shall yield the universal coefficient space, and an empty coefficient space shall indicate absence of a normalized affine ranking function and remain inconclusive for termination.

    RATIONALE:

    The result is a mathematical set of ranking coefficients, with vacuous obligations for an empty relation, rather than a general decision procedure for program termination. Its exactness guarantee depends on the declared input and computational-arithmetic preconditions, including intermediate calculations, rather than on apparent completion alone.

    COMMENT:

    Verification covers the normalized all-ranking-functions result, coefficient-space interpretation and empty-transition or empty-result contracts. The normative contracts make the delegated input and computational-arithmetic preconditions precise and preserve exactness within that scope. Verify the stated equivalence by method-specific analysis and the independent coefficient-space cases in the criteria.

    VERIFICATION_CRITERIA:

    Establish the analysis operation's stated input and computational-arithmetic preconditions for numerical evidence cases. Check expected coefficient polyhedra for simple rational relations and verify sampled coefficient membership through independent lower-bound and decrease checks. Include empty relations produced by contradictory strict constraints and by paired-input conjunction, nonempty strict relations, and nonempty relations without normalized affine rankings. Unchecked completion alone does not establish exact coefficient-space computation.

    BIBLIOGRAPHY:

    BagnaraMPZ12IC | Section 4.2, Theorem 4.4 and Equations (16)-(20) (normalized coefficient spaces; author manuscript).

    SOURCE:

    src/termination_defs.hh: normalized all-ranking-functions contracts, unit decrease, rational-transition scope, empty-relation universe, and inconclusiveness. src/termination_templates.hh: preservation of strict constraints when deciding transition emptiness. tests/Polyhedron/termination1.cc and tests/Polyhedron/termination2.cc: ranking-space and emptiness cases.

PPL-HLR-000007
7. Access through supported language interfaces UID: PPL-HLR-000007 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Language-specific representations and error mechanisms must not silently change the numerical meaning of an exposed facility.

VERIFICATION_CRITERIA:

Review the supported facility set for each interface and compare equivalent computations across enabled interfaces, including value conversion, object lifetime and error reporting.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: PPL_CXX_interface; interfaces/Makefile.am; interfaces/C/C_interface.dox; interfaces/Java/README.java.md; interfaces/OCaml/OCaml_interface.dox; interfaces/Prolog/Prolog_interface.dox.

PPL-HLR-000008
8. Controlled runtime operation and resource use UID: PPL-HLR-000008 STATUS: APPROVED COMPONENT: RUNTIME APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Numerical correctness depends on a valid runtime environment and on controlled handling of interrupted or unsuccessful computations.

VERIFICATION_CRITERIA:

Review initialization, thread-safety and interruption assumptions for each supported configuration; exercise normal completion, reported failures and supported interruption paths with checks on object validity and resource ownership.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: use_of_library; src/Init_defs.hh; src/Init.cc; src/thread_safe.hh; src/Watchdog_defs.hh.

PPL-HLR-000009
9. Semantics-preserving support for variable-size problems UID: PPL-HLR-000009 STATUS: APPROVED COMPONENT: CORE_DATA_STRUCTURES APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

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.

RATIONALE:

Reusable supporting structures must preserve the numerical information on which domain and solver computations depend.

VERIFICATION_CRITERIA:

Review coordinate/value invariants and supported size limits; check growth, shrinking, reordering and empty structures against independent finite models.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

src/Partial_Function_defs.hh; src/Bit_Row_defs.hh; src/Bit_Matrix_defs.hh; src/CO_Tree_defs.hh; src/max_space_dimension.hh.

PPL-HLR-000010
10. Configurable distribution and command-line access UID: PPL-HLR-000010 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

PPL shall provide a configurable source distribution that identifies the enabled numerical and language facilities, and shall provide its distributed command-line tools with documented input, output and failure behavior.

RATIONALE:

Users need to select supported configurations, link applications consistently and use the distributed numerical tools.

VERIFICATION_CRITERIA:

Review supported configuration choices and published build/link information; check representative enabled and disabled features and the documented success and failure outcomes of each command-line tool.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

configure.ac; README.md; INSTALL; src/ppl-config.cc.in; demos/ppl_lcdd; demos/ppl_lpsol; demos/ppl_pips.

  • 1. Core build prerequisite validation UID: PPL-LLR-000216 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    The configuration process shall select and verify C++20 language mode for PPL C++ compilation and, when selected components require C compilation, C18 language mode for those components. It shall establish that the selected compilers and standard libraries support the facilities required by those components, and that a compatible GMP installation provides the required C++ interface and documented minimum supported library version. It shall report an error when a required prerequisite cannot be established by the applicable configuration checks, without silently substituting a different language edition.

    RATIONALE:

    The selected production-language baselines and exact arithmetic depend on explicitly checked compiler modes, required language and standard-library facilities, and a compatible GMP installation. Compiler acceptance of some language constructs alone cannot establish the mode used for the selected build components.

    COMMENT:

    The documented GMP minimum is version 6.3.0. Cross-compilation does not by itself establish that the target library version matches the headers. Production-language obligations are defined by 🔗 10. C++ language baseline and 🔗 12. C language baseline; they do not automatically define an additional minimum client compilation-language promise. Verification covers compiler-mode selection, required-facility and GMP prerequisite checks, and their failure behavior. Inspection of configuration results, compilation commands and dependency evidence verifies those checks; optional-component prerequisites are covered by 🔗 4. Optional-component prerequisite identification.

    VERIFICATION_CRITERIA:

    For supported selections, inspect configuration results and actual compilation commands across the selected components, including generated native bindings, to establish C++20 mode for C++ compilation and C18 mode wherever C compilation is required. Check the required compiler and standard-library facilities, GMP C++ interface, compatibility and documented minimum version. Configuration tests reject unavailable required modes or facilities, missing GMP C++ support and insufficient GMP versions, without silently falling back to another language edition. Cross-compilation evidence distinguishes compile and link checks from checks requiring target execution; an unexecuted target check is not recorded as passed. Review the configuration's error reporting when a required prerequisite cannot be established.

    SOURCE:

    The sections “Using the Right Version of GMP” and “Using the Right C and C++ Compilers” in README.configure.md. The language-mode and GMP checks are in configure.ac, m4/ac_check_cxx20.m4 and m4/ac_check_gmp.m4.

  • 2. Installation of configured public artifacts UID: PPL-LLR-000217 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    The installation process shall install the public headers, libraries and selected language-interface artifacts needed by a client of the configured build into the selected installation directories. The installed distribution shall make available authoritative information identifying the library version, coefficient configuration, enabled interfaces, configured non-C++ binding instantiations, supported C++ template families and applicable numerical-profile restrictions, and the compilation, linking and runtime dependencies required by its supported clients. A supported client shall be usable without files left in the originating source or build directory.

    RATIONALE:

    Clients must be able to use the installed build without depending on files left in its source or build directory.

    COMMENT:

    Verification covers installation outputs, installed configuration identification and client compilation, linking and runtime dependency information. Staged-installation client checks verify behavior; direct artifact and metadata inspection verifies completeness and consistency. Runtime search paths and compatible third-party dependencies remain client deployment prerequisites. 🔗 1. Public C++ access to supported facilities owns public C++ facility exposure, not installation packaging. Source-archive completeness is governed by 🔗 3. Source distribution build completeness.

    VERIFICATION_CRITERIA:

    Check a staged installation for the selected public artifacts and published configuration information, including version, coefficients, enabled interfaces and configured non-C++ binding instantiations. Review the supported C++ template families and numerical-profile restrictions without requiring enumeration of arbitrary client-created template instances. Compile, link or load representative clients using only the installed artifacts and their documented external dependencies. Check that client compilation and linking information and runtime dependency descriptions match the installed configuration, including static and shared artifacts where supported.

    SOURCE:

    INSTALL, Installation Names; src/Makefile.am, installed public header and library; interfaces/C/Makefile.am; interfaces/Java/README.java.md; interfaces/OCaml/README.ocaml.md; src/ppl-config.cc.in; interfaces/C/ppl_c_header.h, version and coefficient queries.

  • PPL-LLR-000218
    3. Source distribution build completeness UID: PPL-LLR-000218 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    A PPL source distribution shall contain the build descriptions, distributed interface-generation inputs, headers and implementation sources needed to build its selected components with the documented external prerequisites. Its build shall not depend on undistributed files from the development checkout.

    RATIONALE:

    A released archive must be independently buildable rather than relying on the originating developer's workspace.

    COMMENT:

    Verification covers the source-archive composition and build inputs. Direct distribution-input inspection and builds from independently unpacked archives verify completeness, with evidence identifying selected components and external prerequisites. Third-party compilers, runtimes and arithmetic libraries need not be bundled. Installed-client behavior is governed separately by 🔗 2. Installation of configured public artifacts.

    VERIFICATION_CRITERIA:

    Build and installation checks succeed from a freshly unpacked distribution in a separate directory with only the documented external prerequisites; review covers the distributed inputs of generated interfaces.

    SOURCE:

    README.configure.md, The Standard Thing and Using the Git Sources; Makefile.am, distribution inputs; interfaces/Makefile.am; interfaces/C/Makefile.am; src/Makefile.am.

  • 4. Optional-component prerequisite identification UID: PPL-LLR-000440 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    For each selected optional component, configuration shall establish the required generation tools executable on the build machine, and runtime development facilities, headers and libraries compatible with the component's execution environment. During cross-compilation, build-machine tool checks shall remain distinct from target-facility checks, and an unperformed target-execution check shall not be treated as successful. When prerequisites are unavailable, the configuration process shall follow its declared rejection or automatic-disabling policy and identify which components are enabled or disabled and why. It shall not silently advertise a component set different from the one it actually configures.

    RATIONALE:

    Core compiler and GMP validation alone cannot establish that optional language interfaces or distributed tools can be generated, built and used. A generation tool running on the build machine and a runtime library for the target component serve different roles; availability of one does not establish compatibility of the other.

    COMMENT:

    Verification covers optional-component selection, prerequisite checks, unavailable-component diagnostics and resulting feature identification. Configuration scenario checks verify behavior; direct review of dependency checks and selection records verifies coverage. 🔗 1. Core build prerequisite validation owns core language and GMP prerequisites, 🔗 3. Consistent binding type dependencies owns generated-type dependencies, and 🔗 2. Installation of configured public artifacts owns installed-client information. No additional runtime or generation dependency is required for a component that is not selected.

    VERIFICATION_CRITERIA:

    Exercise representative explicit selections and automatic detection with available and missing prerequisites, including non-C++ binding generation tools, Java native-header generation, selected OCaml and Prolog runtime dependencies, and optional tool input libraries. Inspect diagnostics and the resulting enabled component set. During cross-compilation, distinguish generation-tool execution on the build machine from target header, link and runtime checks; check that target execution not performed is recorded as unresolved rather than passed. Include a case with usable build tools but incompatible target development facilities. Compare published installation metadata with the actual configured result.

    SOURCE:

    README.configure.md: Configuring the Language Interfaces and Programs that Come with the Library; configure.ac: optional interface, M4, runtime and tool selection; interfaces/Java/README.java.md; interfaces/OCaml/README.ocaml.md; interfaces/Prolog/Prolog_interface.dox; demos/ppl_lpsol/Makefile.am: optional input-library linkage.

  • PPL-LLR-000219
    1. Polyhedral representation conversion tool UID: PPL-LLR-000219 STATUS: APPROVED COMPONENT: COMMAND_LINE_TOOLS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    When built with the PPL backend, the polyhedral conversion tool shall, on successful completion within its documented arithmetic and resource assumptions, convert an accepted constraint representation of a polyhedron to a generator representation, or an accepted generator representation to a constraint representation, denoting the same polyhedron.

    RATIONALE:

    Representation conversion makes the library's polyhedral algorithms usable through a standalone program.

    COMMENT:

    Verification covers the conversion tool's supported PPL-backend input interpretation and mathematically equivalent output representations. Independent reconstruction checks and parser/output inspection verify these contracts. The requirement applies only when the tool is selected and built with that backend; it does not prescribe platform-dependent timing or multithreaded output-path behavior. Failure and incomplete-computation reporting is governed by 🔗 4. Command-line input and outcome reporting.

    VERIFICATION_CRITERIA:

    Accepted nonempty, empty and unbounded examples are converted in both directions; an independent reconstruction from each output denotes the input polyhedron; checks are restricted to formats and modes supported by the configured tool.

    SOURCE:

    README.configure.md, Programs that Come with the Library; demos/ppl_lcdd/ppl_lcdd.cc, usage description and representation input/output; demos/ppl_lcdd/Makefile.am.

  • PPL-LLR-000220
    2. Linear optimization command-line solver UID: PPL-LLR-000220 STATUS: APPROVED COMPONENT: COMMAND_LINE_TOOLS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    When the linear optimization tool is built with its required input-library dependency, it shall accept its supported MPS problem descriptions and, on successful completion within its documented arithmetic and resource assumptions, use the selected PPL solving mode to report infeasibility, unboundedness or an optimum for the interpreted linear or mixed-integer problem.

    RATIONALE:

    The standalone solver exposes linear optimization and provides a client of the C language interface.

    COMMENT:

    Verification covers supported MPS interpretation, solving-mode selection and completed mathematical result reporting. Independent problem checks and input/solver-path inspection verify those contracts. GLPK is used for input handling, whose numeric interpretation must be respected. Optional GLPK result-comparison mode is not required for every build or execution mode. Failure reporting is governed by 🔗 4. Command-line input and outcome reporting.

    VERIFICATION_CRITERIA:

    Supported MPS examples cover infeasible, unbounded and bounded-optimum problems, including integer restrictions in applicable solving modes; reported optima and witnesses satisfy the interpreted constraints and objective; comparisons use the documented input interpretation. Exercise ordinary rows with decisive column bounds, including fixed boxes, contradictions introduced by bounds, redundant rows, column-only finite optima and integer-infeasible half-integral equalities. Include positive and negative fractional objective constants with integral variable coefficients, minimization and maximization, batch and incremental solving, and the supported serial and worker protocols. Check literal known objectives with and without optional GLPK comparison; use zero comparison tolerance for exactly representable controls. Serial and worker drivers exercise the same cases and preserve numerical output and exit statuses. LP comparison preserves the imported coefficients and independently certifies primal and dual feasibility and the exact objective from a GLPK basis; include cancellation-sensitive objectives and rejection of invalid certificates, including errors smaller than floating-point precision. Exercise numerically suggested certificates and the exact fallback; independently verify primal and transposed solves across row permutations and common integer row factors.

    SOURCE:

    README.configure.md, Programs that Come with the Library; demos/ppl_lpsol/ppl_lpsol.c, MPS import, solving-mode selection and result reporting; demos/ppl_lpsol/Makefile.am; demos/ppl_lpsol/check_objective_test.sh; demos/ppl_lpsol/check_bounds_test.sh; demos/ppl_lpsol/exact_lp.c; demos/ppl_lpsol/exactlp1.c; demos/ppl_lpsol/lpsol_test_functions.sh.

  • PPL-LLR-000221
    3. Parametric integer optimization tool UID: PPL-LLR-000221 STATUS: APPROVED COMPONENT: COMMAND_LINE_TOOLS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    When built with the PPL backend, the parametric integer optimization tool shall interpret its accepted problem input and, on successful completion within its documented arithmetic and resource assumptions, display a parametric solution describing the lexicographic minimum over feasible integer solutions as a function of the problem parameters.

    RATIONALE:

    Parametric solution output makes the library's integer optimization capability available to standalone users.

    COMMENT:

    Verification covers the parametric tool's supported input formats and PPL-backend solution output. Concrete parameter evaluation and input/output-path inspection verify the declared symbolic meanings. The supported input and result guarantees apply when the tool is selected and built with the PPL backend; it does not prescribe behavior of an unsupported alternative backend. Failure reporting is governed by 🔗 4. Command-line input and outcome reporting.

    VERIFICATION_CRITERIA:

    Accepted examples in each supported input format produce solution cases whose guards identify the applicable parameter values and whose solutions agree with independent evaluations of small concrete parameter instances, including infeasible cases.

    SOURCE:

    demos/ppl_pips/ppl_pips.cc, usage description, input parsers and solution-tree output; demos/ppl_pips/Makefile.am; configure.ac, parametric solver build selection.

  • 4. Command-line input and outcome reporting UID: PPL-LLR-000441 STATUS: APPROVED COMPONENT: COMMAND_LINE_TOOLS APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Parent): RELATIONS (Child): STATEMENT:

    Each distributed numerical command-line tool shall define its accepted input formats and option interpretation, output conventions, and diagnostics for invalid input, input/output failure, arithmetic or resource failure, and supported interruption. Its observable output and termination conventions shall distinguish completed numerical results from failed or incomplete computations. A failed or incomplete computation shall not be presented as a completed numerical result.

    RATIONALE:

    A mathematical success contract is insufficient for command-line clients that must distinguish valid numerical conclusions from failure to compute them.

    COMMENT:

    Verification covers each tool's accepted input, options, diagnostics and observable completion/failure conventions. Command-line scenario checks and parser/reporting-path inspection verify these contracts. 🔗 1. Polyhedral representation conversion tool, 🔗 2. Linear optimization command-line solver and 🔗 3. Parametric integer optimization tool own the completed mathematical results. The tools need not share exit codes or diagnostic text; an existing zero-status timeout convention may remain valid only when its observable output identifies an incomplete computation.

    VERIFICATION_CRITERIA:

    For each selected tool and supported backend or mode, review accepted formats and options and exercise completed numerical outcomes, malformed input, invalid options, unavailable files, output failures, supported numerical/resource failures and interruptions. Check diagnostics and termination conventions together rather than assuming a uniform exit-code policy. Distinguish a mathematically infeasible problem from invalid input, and an explicitly reported timeout from a completed conversion or optimization.

    SOURCE:

    demos/ppl_lcdd/ppl_lcdd.cc: input, option and output handling, diagnostics and timeout marker; demos/ppl_lpsol/ppl_lpsol.c: MPS input and reported outcomes; demos/ppl_pips/ppl_pips.cc: input parsers, option processing and error reporting; README.configure.md: Programs that Come with the Library.

PPL-HLR-000011
11. Sound and explicit numerical guarantees UID: PPL-HLR-000011 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): STATEMENT:

PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.

RATIONALE:

Analysis and verification clients must be able to rely on a result without mistaking an approximation or an inconclusive answer for an exact mathematical conclusion.

VERIFICATION_CRITERIA:

Review the classification and stated assumptions of numerical operations; check representative exact, approximate and inconclusive cases against their declared result meanings.

BIBLIOGRAPHY:

BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).

SOURCE:

doc/definitions.dox: Semantic_Geometric_Descriptors; src/checked_defs.hh; src/Box_defs.hh; src/BD_Shape_defs.hh; src/Octagonal_Shape_defs.hh.

PPL-HLR-000012
12. Safe and secure implementation and development UID: PPL-HLR-000012 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Analysis, Inspection, Review RELATIONS (Child): STATEMENT:

PPL shall be implemented using documented safe and secure subsets of standardized programming languages. Its development, verification and maintenance shall comply with the applicable requirements of explicitly identified functional safety and cybersecurity standards.

RATIONALE:

Faults and vulnerabilities in the implementation or its development process can compromise the numerical services on which analysis and verification clients rely. Restricting language use and applying systematic development, verification and maintenance practices supports prevention and detection of such defects and provides a basis for justified safety and security assurance throughout the library's lifecycle.

COMMENT:

The production C++20 and C18 language baselines are specified by 🔗 10. C++ language baseline and 🔗 12. C language baseline. The MISRA compliance requirements 🔗 11. MISRA C++ compliance and 🔗 13. MISRA C compliance apply to a future release beyond PPL 2.0. The future C++ assessment includes Technical Corrigendum 1 and the explicit C++20 language-baseline deviation under 🔗 5. Permitted deviations and 🔗 11. MISRA C++ compliance.

VERIFICATION_CRITERIA:

Review the identified implementation scope, language standards and editions, coding subsets, and functional safety and cybersecurity standards, including their editions, applicable provisions and relevant assurance classifications. Inspect and analyse implementation conformance to the selected subsets, and review evidence that the actual development, verification and maintenance activities satisfy the applicable standards requirements. Check that any exclusions or deviations are justified and permitted by the governing obligations, that evidence identifies the assessed PPL baseline and configurations, and that affected evidence is reassessed after relevant changes. Record unresolved violations, limitations and evidence gaps; successful tool execution or the existence of a compliance document alone does not establish conformance.

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

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