Parma Polyhedra Library requirements
Bounded-difference abstractions

Bounded-difference abstractions

UID:
VERSION:
CLASSIFICATION:
PREFIX:
Type
Level
MID
UID
REFS
Title
Statement
Rationale
Comment
BIBLIOGRAPHY
STATUS
COMPONENT
APPLICABILITY
VERIFICATION_METHODS
VERIFICATION_CRITERIA
SOURCE
LANGUAGE
VISIBILITY
INTERFACE
LLR
1
PPL-LLR-000051
PPL-LLR-000051
Bounded-difference expressiveness

A bounded-difference abstraction shall describe a topologically closed set using bounds on individual coordinates and differences of two coordinates, with distinct empty and universe elements in each supported dimension.

The restricted relational form defines the domain's expressive power and distinguishes it from both boxes and arbitrary polyhedra.

Verification covers bounded-difference value types and admitted constraint forms. Related obligations: 🔗 5. Constraint and congruence refinement, 🔗 6. Sound affine forward and backward transfers.

BagnaraHZ09FMSD | whole work (background)

APPROVED
BOUNDED_DIFFERENCES
ALL
Test, Analysis

Construct small sets from independent unary and coordinate-difference inequalities. Check membership, equalities, unbounded directions and zero-dimensional empty/universe cases.

doc/definitions.dox: Bounded Difference Shapes. src/BD_Shape_defs.hh: domain description.

LLR
2
PPL-LLR-000052
PPL-LLR-000052
Conservative bounded-difference constants

Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, when an admitted bounded-difference constraint requires a bound not exactly representable in the selected numeric profile, its abstraction shall round the bound outward so that no point satisfying the constraint is excluded; operations promising optimal abstraction shall choose the best bound representable in that profile.

An integer or floating-point bound type can lose precision even when the input constraint has the domain's admitted syntactic form.

Verification covers bounded-difference constraint abstraction and numeric-bound conversion. Related obligations: 🔗 3. Conservative directed numerical bounds, 🔗 5. Constraint and congruence refinement.

BagnaraHZ09FMSD | whole work (background)

APPROVED
BOUNDED_DIFFERENCES
ALL
Test, Analysis

Normalize constraints independently using exact rational arithmetic. Compare rational, integer and floating-point bound profiles on exact and inexact normalized constants, including negative constants and range boundaries.

src/BD_Shape_defs.hh: numeric profile, rounding and optimal constraint support. src/WRD_coefficient_types_defs.hh: extended-number policies. doc/definitions.dox: Constraint Geometric Descriptors.

LLR
3
PPL-LLR-000053
PPL-LLR-000053
Bounded-difference intersection and upper bounds

PPL shall provide intersection and upper-bound operations for compatible bounded-difference shapes. Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, a successful intersection shall denote the exact set intersection and a successful upper-bound operation shall contain the union of its input sets. For exact rational-bound profiles, the upper bound shall be the smallest bounded-difference set containing that union; rounded profiles may produce a less precise containing set.

Intersection remains expressible within this domain. Finite arithmetic can reduce the precision of an upper bound, so conservative containment must be distinguished from a least-upper-bound guarantee.

Verification covers bounded-difference intersection and upper-bound operations, including compatible dimensions, exact intersection and profile-specific upper-bound precision. Verification combines mathematical analysis with the tests and reviews identified above; representation closure does not replace a check of the represented sets. Related obligations: 🔗 1. Meaning of successful exact and approximate results, 🔗 5. Constraint and congruence refinement, 🔗 4. Explicit numerical operation contracts.

BagnaraHZ09FMSD | whole work (background)

APPROVED
BOUNDED_DIFFERENCES
ALL
Test, Analysis

Derive intersections independently by conjoining operand constraints and check equality across the assessed numeric profiles. Derive least upper bounds independently for low-dimensional exact-rational examples; across supported profiles, check containment of both operands and minimality only where guaranteed. Include incompatible-input handling according to the declared contract, different redundant descriptions, lower-dimensional sets, unbounded bounds and empty inputs.

src/BD_Shape_defs.hh: exact intersection, upper-bound contract and exact-versus-rounded precision. doc/definitions.dox: Bounded Difference Shapes.

LLR
4
PPL-LLR-000054
Bounded-difference widening guarantees

PPL shall provide bounded-difference widening facilities. Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, a supported widening shall contain its input sets and shall stabilize its prescribed iteration on ascending sequences satisfying the stated inclusion, threshold and finite-delay conditions.

Closure and normalization must be integrated with widening without restoring discarded information in a way that defeats its advertised convergence guarantee.

Verification covers bounded-difference widening operations and convergence preconditions. Related obligations: 🔗 6. Compound extrapolation and finite convergence, 🔗 3. Narrowing and descending precision recovery.

BagnaraHZ09FMSD | whole work (background)

APPROVED
BOUNDED_DIFFERENCES
ALL
Test, Analysis

Check inclusion during ascending iterations and analyze convergence for each supported widening scheme. Include redundant bounds, changing closure state, finite thresholds and exhaustion of delay tokens; do not require rounded closure itself to be idempotent.

src/BD_Shape_defs.hh: closure precision caveat and widening contracts. src/BD_Shape_templates.hh: widening operations. doc/definitions.dox: Widening and Extrapolation Operators on Weakly-Relational Shapes.