Parma Polyhedra Library requirements
C++ pointset powerset affine

C++ pointset powerset affine

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
SW_SPEC
1
PPL-SPEC-001413
PPL-SPEC-001413
Lifted powerset image

affine_image shall lift the corresponding base image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; the new coordinate shall equal e ⁄ d. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void affine_image(Variable, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
2
PPL-SPEC-001414
PPL-SPEC-001414
Lifted powerset preimage

affine_preimage shall lift the corresponding base preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; the new coordinate shall equal e ⁄ d. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void affine_preimage(Variable, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
3
PPL-SPEC-001415
PPL-SPEC-001415
Lifted powerset generalized image

generalized_affine_image shall lift the corresponding base generalized image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; v in the result shall satisfy v ⋈ e ⁄ d relative to the unchanged coordinates. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void generalized_affine_image(Variable, Relation_Symbol, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
4
PPL-SPEC-001416
PPL-SPEC-001416
Lifted powerset generalized preimage

generalized_affine_preimage shall lift the corresponding base generalized preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; v in the result shall satisfy v ⋈ e ⁄ d relative to the unchanged coordinates. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void generalized_affine_preimage(Variable, Relation_Symbol, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
5
PPL-SPEC-001417
PPL-SPEC-001417
Lifted powerset bounded image

bounded_affine_image shall lift the corresponding base bounded image to every disjunct. Its mathematical target shall be the set of allowed successors of states in the old receiver; the new coordinate shall satisfy ℓ ⁄ d ≤ v ≤ u ⁄ d using the written rational bounds. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void bounded_affine_image(Variable, const Linear_Expression&, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
6
PPL-SPEC-001418
PPL-SPEC-001418
Lifted powerset bounded preimage

bounded_affine_preimage shall lift the corresponding base bounded preimage to every disjunct. Its mathematical target shall be the set of source states having an allowed successor in the old receiver; the new coordinate shall satisfy ℓ ⁄ d ≤ v ≤ u ⁄ d using the written rational bounds. Other coordinates shall be retained as defined by the base relation. The union shall inherit the base transfer's soundness and exactness.

Every disjunct shall use the same nonzero denominator value supplied at entry, even when it is borrowed from a receiver constraint, generator, divisor or inhomogeneous term that mutation later changes or invalidates. Capturing that entry value shall not depend on disjunct count. The base operation's dimension, relation-symbol and topology admission shall apply; invalid arguments shall throw std::invalid_argument.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

The transfer distributes over union only when every disjunct uses the same entry relation.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Compare independent per-disjunct calculations; cover borrowed constraint/generator scalars, one/many disjuncts, positive/negative denominators, empty states and invalid arguments.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineborrow1.cc; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void bounded_affine_preimage(Variable, const Linear_Expression&, const Linear_Expression&,
                 Coefficient_traits::const_reference=Coefficient_one());
SW_SPEC
7
PPL-SPEC-001419
PPL-SPEC-001419
Lifted expression-to-expression affine relations

Expression overloads shall lift the base relation ℓ’ ⋈ r to every disjunct, modifying the coordinates present in the left expression according to the base generalized-affine contract. Image shall collect allowed successors; preimage shall collect source states with an allowed successor in the old receiver. Shared left/right variables shall retain their before/after interpretation. Dimension, relation and topology admission shall follow the base member, with std::invalid_argument for invalid inputs.

The valid-use conditions in 🔗 1. Compound-domain values and valid use shall apply. Unless dimension-changing behavior is specified, ambient dimension shall be preserved. Deferred reduction and representation changes shall preserve the stated mathematical result. Borrowed views shall not be retained across an operation that can invalidate their underlying representation.

Generalized relations distinguish new left-hand coordinates from old right-hand coordinates even when variable names overlap.

APPROVED
DOMAIN_COMBINATIONS
IF_CPP
Test, Analysis, Inspection

Check overlapping/disjoint variable supports, constant left expressions, strict and equality relations and base rejection.

src/Pointset_Powerset.cc; src/Pointset_Powerset_defs.hh; src/Pointset_Powerset_inlines.hh; src/Pointset_Powerset_templates.hh; src/Pointset_Powerset_types.hh; tests/Powerset/affineimage1.cc; tests/Powerset/affinepreimage1.cc; tests/Powerset/argumentadmission1.cc.

CPP
Public

Public header: <ppl.hh>; namespace Parma_Polyhedra_Library. Members of Pointset_Powerset unless qualified otherwise.

void generalized_affine_image(const Linear_Expression&, Relation_Symbol, const Linear_Expression&);
void generalized_affine_preimage(const Linear_Expression&, Relation_Symbol, const Linear_Expression&);