C++ octagonal affine transfers
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
For an entry shape X ⊆ ℝn , a valid coordinate k , a dimension-compatible integer-coefficient affine expression e and a nonzero coefficient d , affine_image(k,e,d) shall replace the receiver with an octagonal shape containing
With exact rational boundary arithmetic, constant replacement and assignments xk : = sxj + c with s ∈ { − 1, 1} , including signed self translation, shall give the exact image. Other affine expressions may require a conservative octagonal enclosure. Rounded profiles shall keep the delegated outward bounds. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
Transporting a correlated state through an assignment requires an old/new-coordinate relation; independent interval evaluation alone loses those correlations.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void affine_image(Variable var, const Linear_Expression& expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Project independent old/new halfspaces. Check constant, copy, translation, negation, nonunit scaling and multiple-variable forms. Under unbounded exact rational arithmetic, require equality for constant/signed-copy/translation classes and sound inclusion elsewhere; other profiles retain their stated enclosure guarantees. Include negative denominators, bounded/unbounded sources, latent emptiness, cache histories and unchanged-coordinate constraints. Exercise finite implied bounds exposed by translation after earlier positive or negative saturation; check receiver validity before and after subsequent semantic queries.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh; tests/octagonalshapesaturationspec1.cc.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
With the coordinate, expression and denominator admitted by 🔗 1. Rational affine image of one coordinate , affine_preimage(k,e,d) shall contain every x ∈ ℝn whose successor, obtained by replacing coordinate k with e(x) ⁄ d , belongs to the entry post-state shape. Expression occurrences of the updated coordinate shall denote its pre-state value.
With exact rational boundary arithmetic, a signed self translation xk : = sxk + c with s ∈ { − 1, 1} shall give the exact preimage. Other transformations shall give sound containing octagons; they need not compute the least octagonal enclosure even when the exact preimage is representable, as specified by WR_Affine_Preimage_Precision in the mathematical interface definitions. In particular, constant and distinct-coordinate assignments need not retain every representable predecessor constraint. Rounded profiles shall retain the selected outward arithmetic guarantees. Invertible transformations shall use the same relational predecessor meaning as noninvertible ones. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
Backward transfer selects predecessors of the postcondition and must distinguish pre-state and post-state occurrences of an assigned variable.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void affine_preimage(Variable var, const Linear_Expression& expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Derive relational predecessors by eliminating new coordinates. Check exact signed self inverses, including fractional translations. Check containment for constants, distinct-coordinate copies, noninvertible general maps and negative denominators without imposing a leastness promise. Include empty postconditions, correlated frames and nonrepresentable rounded bounds.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_image(k,relsym,e,d) shall contain
Equality shall have the behavior of 🔗 1. Rational affine image of one coordinate . A one-sided relation shall use the indicated quotient, including the sign of the denominator; it shall not silently turn a lower relation into an upper relation. The result may conservatively approximate the affine relation. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
A one-sided update nondeterministically chooses a successor satisfying its affine bound, while leaving all other coordinates framed.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void generalized_affine_image( Variable var, Relation_Symbol relsym, const Linear_Expression& expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Independently project equality and both non-strict relation directions. Compare equality with 🔗 1. Rational affine image of one coordinate ; include positive/negative denominators, self dependence, distinct-variable dependence, general expressions, unbounded inputs and infeasible relations. Check unchanged-coordinate constraints and rejected strict/disequality symbols.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
For ⋈ ∈ { = , ≤ , ≥ } , the variable overload of generalized_affine_preimage(k,relsym,e,d) shall contain
Equality shall have the behavior and class-specific precision of 🔗 2. Rational affine preimage of one coordinate . Other admitted relations may give sound nonleast octagonal enclosures according to the documented preimage approximation contract. The denominator sign shall be respected. The relation shall use the same old/new coordinate frame for self-dependent and non-self-dependent expressions. Constraints involving only unchanged coordinates shall remain valid. The source expression and denominator shall keep their values.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
A predecessor exists when some framed successor satisfies the postcondition and the selected relation, not when every possible successor does.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void generalized_affine_preimage( Variable var, Relation_Symbol relsym, const Linear_Expression& expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Eliminate new coordinates independently, with equality and both inequality directions, sign-normalized denominators, self/non-self dependence and general affine expressions. Check equality delegation, empty postconditions, surviving-coordinate restrictions and invalid symbols.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
Let l and r be dimension-compatible affine expressions, U the coordinates with nonzero homogeneous coefficient in l , and ⋈ ∈ { = , ≤ , ≥ } . The expression overload of generalized_affine_image(l,relsym,r) shall contain
The left expression shall be interpreted in the new state and the right expression in the old state; exchanging them and reversing the relation shall not in general describe the same update. A constant left expression shall be a guard with every coordinate framed. Multiple updated coordinates may lose precision through a sound octagonal enclosure. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; lhs and rhs may denote the same live expression.
For a constant left expression, a representable guard shall be added natively. Other guards shall receive one finite pass over native directions formed from each nonzero coefficient and each representable matching pair, in increasing coordinate order. For a guard expression e ≥ 0 and such a direction d , the finite infimum of the residual d − e shall supply d ≥ inf(d − e) . Equality shall also use its finite supremum to supply d ≤ sup(d − e) . Closure shall propagate earlier deductions before each direction is considered. Residual optimization shall preserve its supported correlations; returned rational bounds shall be inserted directly, without an intermediate scalar-interval conversion. This pass need not reach a fixed point or compute a least abstract intersection. General residuals may require linear programming.
When the homogeneous part of l has two nonzero coefficients and is representable as an octagonal expression up to scaling, the finite entry-state supremum of r shall be retained as an upper bound on the new l for EQUAL and LESS_OR_EQUAL. Its finite infimum shall be retained as a lower bound for EQUAL and GREATER_OR_EQUAL. These bounds shall be computed before forgetting updated coordinates and shall also apply to disjoint left/right supports. Rational boundaries shall retain the exact extrema; other boundary profiles shall retain their native outward guarantees. An unbounded direction shall add no finite bound.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
The support of the left expression determines which coordinates are assigned together; all occurrences on the right refer to the entry state.
Finite right-hand ranges are evaluated in the entry shape. Native optimization uses cached bounds for representable objectives and may invoke the linear programming solver for a general right expression. Saving those bounds before projection avoids confusing old and new occurrences of the same coordinate.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void generalized_affine_image(const Linear_Expression& lhs, Relation_Symbol relsym, const Linear_Expression& rhs);
Check the retained left-expression ranges against an independently assembled old/new polyhedron followed by projection, and literal rational fixtures. Include positive/negative scaling, arbitrary right expressions, disjoint and overlapping supports, shared expressions, one-sided/unbounded ranges, framed coordinates, dense/sparse expressions and rational/floating/integral bounds.
Use independent old/new relations for constant, single-variable and multi-variable left sides, disjoint/overlapping supports, shared lhs/rhs, all admitted relations and rejected symbols. Check full frame constraints and soundness for approximate general updates rather than imposing an unsupported universal leastness requirement.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/generalizedaffineboundsspec1.cc; tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
With l , r , U and ⋈ admitted by 🔗 5. Expression-left generalized affine image , the expression overload of generalized_affine_preimage(l,relsym,r) shall contain
A constant left expression shall be a guard with every coordinate framed. Other forms may return sound nonleast octagonal enclosures as specified by the preimage approximation contract. Constraints involving only coordinates outside U shall remain valid. Separately stored source expressions shall remain unchanged; the same live expression may supply both lhs and rhs .
For a left expression with at least two nonzero homogeneous coefficients, the finite target-state infimum of l shall supply the necessary guard r ≥ infXl for EQUAL and LESS_OR_EQUAL; the finite supremum shall supply r ≤ supXl for EQUAL and GREATER_OR_EQUAL. These extrema shall be computed before forgetting updated coordinates. The guards shall be refined in the old-state coordinates using the same native native-direction approximation as constant-left images. An unbounded direction shall contribute no finite guard. Existing relational deductions and framed-coordinate constraints shall also be preserved. Rational boundary arithmetic shall use exact extrema; other profiles shall retain their native outward guarantees. These deductions need not give a least preimage enclosure.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. An expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. Strict inequality and disequality relation symbols shall throw std::invalid_argument before changing the represented set, including on empty input.
The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
Expression-left backward transfer uses the same transition relation as the forward operation, with the postcondition placed on new coordinates.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void generalized_affine_preimage(const Linear_Expression& lhs, Relation_Symbol relsym, const Linear_Expression& rhs);
Eliminate the new coordinates from relational postconditions for constant/single/multiple left supports, finite and unbounded target lhs ranges, disjoint and overlapping right supports, shared expressions and every admitted relation. Include empty/zero-dimensional guards, incompatibility and rejected symbols; retain every feasible predecessor.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
For admitted coordinate k , dimension-compatible expressions l, u and nonzero denominator d , bounded_affine_image(k,l,u,d) shall contain
Both bounding expressions shall use the same entry state. A negative common denominator shall preserve the displayed quotient inequalities; the lower and upper argument roles shall not be exchanged merely because the denominator is negative. The bounds may depend on the replaced coordinate. The result may conservatively approximate this simultaneous relation. Constraints involving only unchanged coordinates shall remain valid. Both expressions and the denominator shall remain unchanged; lb_expr and ub_expr may refer to the same live expression.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
Two bounds constrain one nondeterministic assignment in a common old state; sequentially changing the variable would define a different relation.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void bounded_affine_image( Variable var, const Linear_Expression& lb_expr, const Linear_Expression& ub_expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Project both divided inequalities together. Cover equal and inconsistent bounds, self dependence in zero/one/both bounds, negative denominators, shared bound expressions, unbounded correlated inputs, empty input and invalid dimensions/zero denominators. Check simultaneous-transition soundness and unchanged-coordinate constraints.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.
- PPL-LLR-000061 Octagonal expressiveness (Specifies)
- PPL-LLR-000062 Conservative octagonal constants (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000301 Meaning of successful exact and approximate results (Specifies)
- PPL-LLR-000311 Public C++ access to supported facilities (Specifies)
- PPL-LLR-000442 Explicit numerical operation contracts (Specifies)
With the coordinate, expressions and denominator admitted by 🔗 7. Single-coordinate bounded affine image , bounded_affine_preimage(k,l,u,d) shall contain
The two bounds shall be evaluated in the same pre-state, including when one or both contain xk . The result may be a sound nonleast octagonal enclosure under the documented preimage approximation contract. Any auxiliary coordinate used internally shall not remain in a successful result. Constraints involving only unchanged coordinates shall remain valid. Both source expressions and the denominator shall remain unchanged, including shared bound-expression arguments.
The ambient dimension shall remain unchanged on successful return. Empty input shall remain empty after argument validation. A zero denominator, a selected coordinate outside the receiver or an expression of greater ambient dimension shall throw std::invalid_argument before changing the represented set, including on empty input. The real-set interpretation, admitted boundary profiles, initialized runtime, numerical-intermediate, synchronization and resource conditions of 🔗 1. Octagonal values, numerical profiles and valid use shall apply. Exactness clauses refer to exact rational boundary arithmetic; native or integral bounds shall retain the selected arithmetic operations' outward guarantees. Const expression and denominator arguments may share still-live source storage. Allocation and numerical exceptions may propagate; discarded temporaries shall release owned storage and the receiver shall remain destructible. No additional rollback guarantee is imposed.
Backward bounded transfer must find a single successor satisfying both old-state bounds and the complete postcondition.
Public header: <ppl.hh>; member of Parma_Polyhedra_Library::Octagonal_Shape<T>:
void bounded_affine_preimage( Variable var, const Linear_Expression& lb_expr, const Linear_Expression& ub_expr, Coefficient_traits::const_reference denominator = Coefficient_one());
Derive predecessors by eliminating new coordinates with both affine bounds present. Include zero/one/both-bound self dependence, constant and inconsistent pairs, positive/negative denominators and shared source expressions. Verify bottom preservation, unchanged-coordinate restrictions, final dimension and ownership when temporary coordinates are used.
BagnaraHZ09FMSD | Sections 4 and 7 (octagonal semantics and floating-point implementation background).
tests/shapeunsignedaffinespec1.cc; doc/definitions.dox; src/Octagonal_Shape_defs.hh; src/Octagonal_Shape_templates.hh; tests/octagonalshapeaffinespec1.cc; tests/octagonalshapeaffinepublic1.cc; tests/octagonalshapeaffineallocationsspec1.cc; tests/boxallocationfixture.hh; tests/bdshapeaffineoracle.hh; tests/octagonalshapeconversionoracle.hh; tests/octagonalshapevalueoracle.hh.