Parma Polyhedra Library requirements
Geometric descriptors

Geometric descriptors

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

Geometric descriptors shall identify coordinates within a finite-dimensional ambient vector space and shall preserve coordinate identity when their declared dimension is increased without an explicit coordinate transformation.

An ambient dimension describes available coordinates and is distinct from the affine dimension of a represented set.

APPROVED
GEOMETRIC_DESCRIPTORS
ALL
Test, Analysis

Check zero-dimensional descriptors, descriptors containing unused coordinates and extension by trailing unused coordinates. Confirm that extension does not change the values of expressions on the original coordinates.

doc/definitions.dox: Basic Geometric Descriptors; Space Dimensions and Dimension Compatibility. src/Variable_defs.hh: coordinate identity. src/Variables_Set_defs.hh: coordinate sets. src/Linear_Expression_defs.hh: space dimension.

LLR
2
PPL-LLR-000012
PPL-LLR-000012
Affine meaning of linear expressions

A linear expression shall denote the sum of its coordinate values multiplied by their coefficients, together with its constant term. For valid operands satisfying the operation's stated input and computational-arithmetic preconditions, a successfully completed algebraic operation shall produce the affine result specified for that operation. Under those conditions, a transformation specified as value-preserving shall retain the expression's affine value.

Expressions are mathematical descriptors used across domains and solvers, independently of their storage representation. Addition, subtraction and scaling change a value according to their mathematical operations; preserving a descriptor's zero set alone does not establish preservation of its affine value. Computational preconditions limit the operation's guarantee rather than the mathematical meaning of the stored expression. Apparent completion of unchecked arithmetic does not establish that those preconditions hold.

Verification covers linear-expression value types and their supported algebraic operations. Their normative contracts make the delegated input and computational-arithmetic preconditions precise while retaining the required affine semantics. Related obligations: 🔗 1. Meaning of successful exact and approximate results, 🔗 3. Preservation by representation-only changes.

APPROVED
GEOMETRIC_DESCRIPTORS
ALL
Test, Analysis

Establish the stated input and computational-arithmetic preconditions for the assessed operation and evidence cases. Evaluate operands and results independently at selected rational points and compare addition, subtraction and scaling with their specified affine results. For a transformation claimed to preserve value, check equality of affine evaluations within those conditions. Assess coefficient normalization against its stated transformation rather than inferring value preservation from an unchanged zero set. Include zero coefficients, constant expressions and expressions with trailing unused coordinates. Do not use unchecked completion alone as evidence of valid coefficient arithmetic.

src/Linear_Expression_defs.hh: expression semantics and algebra. src/Linear_Expression_Interface_defs.hh: expression representation interface. doc/definitions.dox: Basic Geometric Descriptors.

LLR
3
PPL-LLR-000013
PPL-LLR-000013
Meaning of linear constraints

A linear constraint shall denote the set of valuations satisfying its stated equality, strict inequality or non-strict inequality; a finite constraint system shall denote the conjunction of its members.

This separates the exact meaning of a descriptor from the approximation a particular abstract domain may apply when accepting it.

Verification covers constraint and constraint-system value types and their relation meanings. Related obligations: 🔗 5. Constraint and congruence refinement.

APPROVED
GEOMETRIC_DESCRIPTORS
ALL
Test, Analysis

Check independently chosen valuations on, inside and outside boundaries. Include constant tautologies, constant contradictions, duplicate constraints, an empty system and systems whose members use different numbers of coordinates.

doc/definitions.dox: Constraint Geometric Descriptors; Constraint Description. src/Constraint_defs.hh: constraint relations. src/Constraint_System_defs.hh: finite systems.

LLR
4
PPL-LLR-000014
PPL-LLR-000014
Meaning of linear congruences

A linear congruence shall hold exactly when its expression differs from its base value by an integer multiple of its modulus; a zero modulus shall express equality, and a finite congruence system shall denote conjunction.

Proper congruences describe periodic restrictions, whereas zero-modulus congruences express exact linear equalities.

Verification covers congruence and congruence-system value types, including zero-modulus equality. Related obligations: 🔗 5. Constraint and congruence refinement.

APPROVED
GEOMETRIC_DESCRIPTORS
ALL
Test, Analysis

Use exact rational calculations to check zero and nonzero moduli, positive and negative integer multiples, nonmember values, tautologies and inconsistent systems. Verify that equivalent normalized congruences admit the same valuations.

doc/definitions.dox: Congruences and Congruence Relations. src/Congruence_defs.hh: congruence meaning and modulus. src/Congruence_System_defs.hh: finite congruence systems.

LLR
5
PPL-LLR-000015
PPL-LLR-000015
Distinct meanings of geometric generators

Generator descriptors shall preserve the mathematical distinction between included points, closure points, rays, lines and grid parameters: closure points need not be included points, rays admit nonnegative displacement, lines admit arbitrary real displacement, and grid parameters admit integer displacement.

Confusing generator kinds changes boundary membership, boundedness or periodicity even when their coordinate vectors coincide.

Verification covers polyhedral and grid generator value types and generator-kind interpretation. Related obligations: 🔗 2. Equivalent polyhedral representations, 🔗 2. Equivalent grid representations.

APPROVED
GEOMETRIC_DESCRIPTORS
ALL
Test, Analysis

Construct independent one- and two-dimensional examples that distinguish each applicable generator kind. Check rational point scaling and verify that changing a generator's kind changes the represented possibilities in the prescribed manner.

doc/definitions.dox: Generator Geometric Descriptors; Generator Description; Points, Parameters and Lines. src/Generator_defs.hh: polyhedral generator kinds. src/Grid_Generator_defs.hh: grid generator kinds.