Parma Polyhedra Library requirements
PPL high-level requirements

PPL high-level requirements

STATEMENT:

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

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.