Parma Polyhedra Library requirements
Polyhedral saturation planning

Polyhedral saturation planning

PPL-SPEC-001724
1. Saturation subsumption planning and paired deletion
UID: PPL-SPEC-001724
STATUS: APPROVED
COMPONENT: POLYHEDRA
APPLICABILITY: IF_CPP
VERIFICATION_METHODS: Test, Analysis, Inspection
LANGUAGE: CPP
VISIBILITY: Internal
RELATIONS (Parent):
STATEMENT:

For the nonline/non-equality rows reaching the independence-planning phase of Polyhedron::simplify, each saturation bit row shall encode that source row's non-saturating counterparts. Planning shall retain the subset-minimal bit sets, retaining the lowest original planning index among exact duplicates. Incomparable sets, including equal-cardinality sets, shall remain distinct. A proper subset is a strict redundancy witness for its superset.

Deletion shall keep source rows, bit rows and cached saturation counts paired through every swap-last removal. Retained geometric rows shall be their original paired values; no order beyond the required basis layout is promised. Zero or one surviving nonbasis row shall be admitted. The caller shall supply valid common dimensions, topology and exact arithmetic under the ordinary simplify prerequisites. Arbitrary bit masks in the relation-level fixture verify planning and pairing; they do not by themselves constitute a valid dual geometric representation.

RATIONALE:

Removing subsumed saturation groups requires row/mask alignment and deterministic handling of duplicates.

INTERFACE:

The independence-planning phase of Polyhedron::simplify and its relation-level test access.

VERIFICATION_CRITERIA:

Check duplicate groups, incomparable equal-cardinality sets, strict subset chains, rotated original indices, descending removal and a phase reached with no surviving nonbasis rows.

SOURCE:

src/Polyhedron_simplify_templates.hh; tests/Polyhedron/saturationgroups1.cc.