Parma Polyhedra Library requirements
PPL requirements and software specifications

PPL requirements and software specifications

UID:
VERSION:
CLASSIFICATION:
PREFIX:
Type
Level
MID
UID
PREFIX
STATUS
TAGS
REFS
Title
Statement
Rationale
Comment
TEXT

The requirements use three levels: high-level requirements (HLRs), low-level requirements (LLRs), and software specifications (SW_SPEC). LLRs refine HLRs; software specifications define interface contracts and specify LLRs.

schema/ppl.sgra defines the shared StrictDoc grammar. strictdoc_config.py registers it for this directory. Language and coding baselines are defined in the implementation and development requirements.

SECTION
1
Export
TEXT

With StrictDoc 0.30.3 or later available, the Autotools build exports the requirements during make. The browsable entry point is doc/requirements/export/html/index.html in the build tree. Configure searches PATH; select another executable with:

/path/to/ppl/configure --with-strictdoc=/path/to/venv/bin/strictdoc

An absent, outdated or unusable StrictDoc disables this optional output with a warning. --disable-documentation suppresses automatic export; an explicit make -C doc/requirements html exports it when a suitable StrictDoc was found. make clean removes the generated output. All requirements sources are included in source distributions independently of tool availability.

HTML API manual generation indexes specification IDs and titles directly from the StrictDoc sources using doc/requirements_to_doxygen.pl. This supplies Doxygen's native requirement references for software specifications only, without maintaining a second specification list. HLRs and LLRs remain available in a separate navigation index, linked through StrictDoc's stable UID resolver; they are not code or test trace endpoints. Full requirement statements remain in the StrictDoc documentation. Core API PDFs and both configuration-independent and configuration-dependent interface PDFs include an index of requirement and specification identifiers and titles, with associations from relevant API entries. Full statements and traceability remain in the StrictDoc documentation. The PDF build splits large tables and wraps long references to stay within TeX resource limits.

Documentation tool versions checked on 2026-10-21:

For a standalone export from this directory, with StrictDoc in a separate Python environment:

strictdoc export . --output-dir /tmp/ppl-requirements-preview --formats html

Use an out-of-tree build or a separate standalone output directory to keep generated files outside the source checkout. The export checks structure and links; apply the validation rules for the semantic and editorial checks.

SECTION
2
References
TEXT

The authoritative bibliography for PPL foundations and algorithms is doc/ppl.bib, maintained in this source tree. Website bibliography downloads and rendered entries are generated from that file; make corrections in the source bibliography. The separate doc/ppl_citations.bib records known publications citing the PPL and the research underpinning it.

Consult papers linked from the published bibliography. The PPL website also publishes copies of many of these papers under https://bugseng.com/ppl/documentation/. Use the exact entries and passage locators under the bibliography conventions; prefer the relevant journal publication and include applicable errata.

make check in this directory checks the three-level graph, specification-only annotation endpoints, implementation/test association presence and publication regressions. check_traceability.py --xml-dir PATH additionally compares the exact forward and reverse owners in native Doxygen XML exports. Repeat --xml-dir for distinct documented configurations; association presence is checked across their union. These checks establish trace structure; they do not establish semantic test completeness or acceptance of directly verified LLR evidence.

For OCaml, Prolog and build/test scripts, doxygen_protocol_filter.py exposes explicit file documentation while preserving original line numbers. It does not invent C++ declarations. Use Doxygen extension mappings to C++ for these parser inputs and keep FILTER_SOURCE_FILES=NO. doxygen_test_filter.py delegates these files to the protocol filter and handles anonymous C++ test namespaces. Native source input is otherwise passed through. A complete trace export also enables EXTRACT_ALL, EXTRACT_PRIVATE, EXTRACT_PACKAGE, EXTRACT_STATIC and EXTRACT_ANON_NSPACES so that test contributors are retained in both native directions.

From a configured top-level build, make check-build-contracts creates a fresh source archive without prebuilt manual bundles and verifies configuration, archive build/installation and the registered interface installed clients in isolation. Documentation export is checked separately. Set DISTCHECK_CONFIGURE_FLAGS for local external prerequisites and selected optional interfaces. This check is separate from make check to avoid recursive archive verification.