Low-Level Requirements: Binding Infrastructure
|
Type
|
Level
|
MID
|
UID
|
REFS
|
Title
|
Statement
|
Rationale
|
Comment
|
BIBLIOGRAPHY
|
STATUS
|
COMPONENT
|
APPLICABILITY
|
VERIFICATION_METHODS
|
VERIFICATION_CRITERIA
|
SOURCE
|
LANGUAGE
|
VISIBILITY
|
INTERFACE
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
LLR
|
1 |
|
|
Incoming link from:
2. Mathematical consistency of corresponding binding operations
1 |
The binding-generation infrastructure shall restrict numerical-domain instantiations in non-C++ language interfaces to those selected by configuration. Selecting no domain instantiations shall retain the selected interface's domain-independent facilities without exposing unselected domain instantiations. |
Non-template language interfaces require a finite selected set of numerical abstractions, independently of the facilities available to C++ clients. |
Verification covers selected instantiation inputs and the generated facility set. Generated-interface comparisons and configuration inspection verify inclusion and exclusion. Direct review records the exercised selections. Non-C++ interfaces need not expose every operation available to C++ clients; shared result semantics are governed by 🔗 2. Mathematical consistency of corresponding binding operations. |
|
|
|
|
|
Generated interfaces for a restricted selection contain the selected domain families and omit unselected ones; a selection without numerical-domain instantiations retains basic interface facilities; the C++ template interface is not restricted by this selection. |
README.configure.md, Configuring the Language Interfaces; configure.ac, available and selected interface instantiations; interfaces/ppl_interface_generator_common.m4; interfaces/Makefile.am. |
||||
|
LLR
|
2 |
|
|
Parents:
Children:
|
Incoming links from:
1. Configured binding domain selection
1. OCaml numerical term conversion
2 |
For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees. |
A language interface must not silently change the numerical abstraction or the meaning of a requested operation. |
Verification covers conversion and forwarding contracts across every facility actually exposed by each selected binding. Cross-interface mathematical checks and native-wrapper inspection verify exact results, permitted witnesses, approximation guarantees and inconclusive outcomes. Textual formatting, host object identity and representation order need not match. 🔗 1. Configured binding domain selection and 🔗 3. Consistent binding type dependencies own selection and generation dependencies; unavailable facilities are outside this scope. |
|
|
|
|
|
Compare equivalent representable inputs and operation parameters across the selected interfaces for every exposed facility family, including domains, descriptors, optimization solvers and ranking analysis where provided. Check equal mathematical values or represented sets where exactness is promised, valid witnesses where witness selection is not unique, and the declared soundness or inconclusiveness relation otherwise. Review operation-parameter forwarding and supported-facility exclusions. |
README.configure.md, Configuring the Language Interfaces; interfaces/ppl_interface_generator_common.m4; interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/Java/jni/ppl_interface_generator_java_classes_cc_code.m4; interfaces/OCaml/ppl_interface_generator_ocaml_cc_code.m4; interfaces/Prolog/ppl_interface_generator_prolog_cc_code.m4. |
|||
|
LLR
|
3 |
|
|
|
The binding configuration and generation process shall enforce the type dependencies required by exposed operations. It shall reject an inconsistent requested domain selection or omit operations whose required result types are not selected, according to the affected interface's documented configuration rules. |
A generated operation cannot be usable if its parameter or result type is absent from the interface. |
Verification covers binding-selection dependency checks and operation-generation rules. Selection tests and generated-output inspection verify rejection or omission according to each interface's policy. Dependency policies can differ between bindings and must not be generalized into a uniform feature set. Tool and runtime prerequisites are governed separately by 🔗 4. Optional-component prerequisite identification. |
|
|
|
|
|
Java powerset selections lacking their required disjunct class are rejected; C operations returning all affine ranking functions are generated only when their required polyhedron output type is selected; consistent selections generate usable declarations and implementations. |
README.configure.md, Java powerset and C ranking-function instantiation dependencies; configure.ac, Java disjunct dependency checks; interfaces/C/ppl_interface_generator_c_procedure_generators.m4. |
||||
|
LLR
|
4 |
|
|
|
Each interruption facility exposed by a supported language interface shall define and observe its availability, parameter restrictions, thread and signal ownership preconditions, replacement and reset effects, and cleanup after notification. Unsupported requests shall be rejected through the interface's declared error mechanism without arming the unsupported facility. The effects of successful or rejected replacements and resets on existing interruption settings shall be explicit. An interruption shall be distinguishable from a completed numerical outcome. |
Native timer availability and cooperative checkpoint behavior do not determine a binding's supported interruption facilities or the effects of its state-management operations. |
Verification covers each binding's actual interruption controls, errors and state effects. State-sequence checks and boundary-path inspection verify these contracts. A selected binding need not provide every native watchdog facility; unsupported operation remains a specified outcome. No hard response-time bound or uniform timeout-state policy is imposed. 🔗 4. Cooperative computation abandonment owns native checkpoint and caller-owned request behavior, 🔗 5. Watchdog scheduling and cancellation scope owns native timers, and 🔗 6. Thread entry and shared-facility use owns shared-facility use restrictions. |
|
|
|
|
|
Review and exercise the supported interruption state transitions for each selected interface, including unsupported requests, invalid durations or thresholds, replacement failures, resets and notification cleanup. Confirm Java rejection of signal-based timeouts without arming them and its documented preservation of other timeout state; check configured thread-support restrictions in the affected bindings. Verify reported interruption categories and distinguish binding-owned reset behavior from caller-owned native request persistence. |
interfaces/C/ppl_c_header.h and interfaces/C/ppl_c_implementation_common_defs.hh: timeout support restrictions, replacement effects and notification cleanup; interfaces/Java/parma_polyhedra_library/Parma_Polyhedra_Library.java and interfaces/Java/jni/ppl_java_common.cc: unsupported signal-timeout requests and translated timeout cleanup; interfaces/OCaml/ppl_ocaml_common_defs.hh: timeout translation and reset; interfaces/Prolog/Prolog_interface_sysindep.dox: exposed interruption operations. |