-
4. Abstract expression evaluation PPL-HLR-000004 PPL shall provide numerical expression analysis facilities whose successful results conservatively enclose the concrete evaluations admitted by the input approximation and the selected arithmetic model.
A modeled numeric type shall preserve the distinctions relevant to expression meaning: integer width, integer representation and integer overflow interpretation, or the selected floating-point format; modeling a width shall not imply that the host provides a native arithmetic type of that width.
-
1. Modeled bounded-integer type identity PPL-SPEC-000981 Concrete_Expression_Type::bounded_integer() shall create a value identifying the supplied modeled width, representation and overflow interpretation. The admitted widths shall be BITS_8, BITS_16, BITS_32, BITS_64 and BITS_128; representations shall be UNSIGNED and SIGNED_2_COMPLEMENT; overflow interpretations shall be OVERFLOW_WRAPS, OVERFLOW_UNDEFINED and OVERFLOW_IMPOSSIBLE. The result shall classify as bounded integer and not floating point, and its matching-kind getters shall return those attributes exactly.
These shall describe analyzed arithmetic, independently of native host integer types and of the configured coefficient storage. Modeling 128 bits shall not require a native 128-bit type. The factory and accessors shall require no PPL initialization, arithmetic evaluation or FPU setup.
-
Incoming link from: 3. Finite floating-format value inclusion1
2. Modeled floating-point format identity PPL-SPEC-000982 Concrete_Expression_Type::floating_point() shall create a value identifying the supplied modeled format. The admitted formats shall be IEEE754_HALF, IEEE754_SINGLE, IEEE754_DOUBLE, IEEE754_QUAD, INTEL_DOUBLE_EXTENDED, IBM_SINGLE and IBM_DOUBLE. The value shall classify as floating point and not bounded integer; its matching-kind format getter shall return the supplied format exactly.
A modeled format shall remain available as metadata when host arithmetic in that format is unavailable. This factory shall not construct a host floating-point value or imply that every numerical algorithm supports every modeled format. It shall require no PPL initialization or FPU setup.
-
3. Type-descriptor copying and validity diagnostics PPL-SPEC-000983 Implicit copying and assignment of Concrete_Expression_Type shall preserve its discriminator and complete matching-kind attributes as independent values. Assigning the other category shall replace the previous category and attributes. Getter calls shall require the matching category; querying inactive-category fields shall not be a supported way to convert a descriptor.
OK() shall accept descriptors constructed from the named admitted attributes and reject stored invalid attribute combinations. Factories shall not be required to throw for unnamed enumeration values. Values used solely for validity diagnostics shall still lie within the enumeration's C++ value range; a rejected descriptor shall not be used as an admitted expression type. Copying, assignment and diagnostics shall require no PPL initialization or FPU setup.
-
Incoming link from: 1. Target-adapted floating expression evaluation1
4. Target-specific concrete-expression adapter protocol PPL-SPEC-000984 A target used with the concrete-expression analysis templates shall provide specializations for the expression base and the supported binary, unary, cast, integer-constant, floating-constant and approximable-reference node adapters. Each node kind shall have a distinct KIND matching the base expression's kind() result. type() shall return the node's modeled numeric type. The base adapter shall derive unambiguously and nonvirtually from Concrete_Expression_Common<Target>; a kind-specific adapter shall have the corresponding concrete base lineage required for its downcast.
Binary adapters shall expose distinct ADD, SUB, MUL, DIV, REM, BAND, BOR, BXOR, LSHIFT and RSHIFT operator identities and borrowed left/right expression pointers. Unary adapters shall expose UPLUS, UMINUS and BNOT and a borrowed argument pointer. Cast adapters shall expose their borrowed argument pointer. A target used with the general linearize() template shall provide all adapters and operator names needed to instantiate its dispatch, even if a particular input uses fewer kinds.
Nodes, children and target-specific payloads shall remain live, type-correct and unchanged throughout analysis. Argument pointers for an admitted operation shall be nonnull; the analyzed graph shall have no recursion cycle. The PPL common adapters shall not take ownership of target nodes or supply a runtime polymorphic deletion protocol. Target-owned storage and callbacks shall retain their own lifetime and synchronization prerequisites.
-
5. Checked-kind concrete adapter access PPL-SPEC-000985 For a live well-formed target expression, is<Derived>() shall return true exactly when the target's current kind equals Derived<Target>::KIND. It shall not change the expression or acquire its ownership. The mutable and const as<Derived>() operations shall return pointers to the same actual derived node with the respective qualification. Their caller shall first establish a matching kind and correct actual inheritance/dynamic node type. A mismatched cast shall be outside the admitted interface; this shall not be a checked RTTI or allocating conversion.
-
3. Finite floating-format value inclusion PPL-SPEC-001014 For the seven named floating-format identifiers, is_less_precise_than(first, second) shall return false exactly when every finite mathematical value representable in second is also representable in first. It shall compare modeled value sets, including precision and exponent/subnormal range, independently of the analyzer's native formats. Equal formats shall return false. Incomparable value sets shall return true in both directions; the predicate shall not establish a total ranking. Distinctions between signed zeros or special NaN/infinity encodings shall not alter this finite mathematical-value relation.
The query shall require no PPL initialization, FPU setup or native floating-point availability. Arguments shall be the seven named identifiers specified by 🔗 2. Modeled floating-point format identity.
-
4. Abstract expression evaluation PPL-HLR-000004 PPL shall provide numerical expression analysis facilities whose successful results conservatively enclose the concrete evaluations admitted by the input approximation and the selected arithmetic model.
Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, for a supported floating-point expression and a valid abstract store, a successful linearization shall overapproximate every value of the modeled expression consistent with that store, including rounding error of the modeled format.
-
Incoming link from: 1. Target-adapted floating expression evaluation1
4. Target-specific concrete-expression adapter protocol PPL-SPEC-000984 A target used with the concrete-expression analysis templates shall provide specializations for the expression base and the supported binary, unary, cast, integer-constant, floating-constant and approximable-reference node adapters. Each node kind shall have a distinct KIND matching the base expression's kind() result. type() shall return the node's modeled numeric type. The base adapter shall derive unambiguously and nonvirtually from Concrete_Expression_Common<Target>; a kind-specific adapter shall have the corresponding concrete base lineage required for its downcast.
Binary adapters shall expose distinct ADD, SUB, MUL, DIV, REM, BAND, BOR, BXOR, LSHIFT and RSHIFT operator identities and borrowed left/right expression pointers. Unary adapters shall expose UPLUS, UMINUS and BNOT and a borrowed argument pointer. Cast adapters shall expose their borrowed argument pointer. A target used with the general linearize() template shall provide all adapters and operator names needed to instantiate its dispatch, even if a particular input uses fewer kinds.
Nodes, children and target-specific payloads shall remain live, type-correct and unchanged throughout analysis. Argument pointers for an admitted operation shall be nonnull; the analyzed graph shall have no recursion cycle. The PPL common adapters shall not take ownership of target nodes or supply a runtime polymorphic deletion protocol. Target-owned storage and callbacks shall retain their own lifetime and synchronization prerequisites.
-
5. Checked-kind concrete adapter access PPL-SPEC-000985 For a live well-formed target expression, is<Derived>() shall return true exactly when the target's current kind equals Derived<Target>::KIND. It shall not change the expression or acquire its ownership. The mutable and const as<Derived>() operations shall return pointers to the same actual derived node with the respective qualification. Their caller shall first establish a matching kind and correct actual inheritance/dynamic node type. A mismatched cast shall be outside the admitted interface; this shall not be a checked RTTI or allocating conversion.
-
Incoming link from: 1. Target-adapted floating expression evaluation1
6. Oracle interval and expression-value queries PPL-SPEC-000986 FP_Oracle<Target, C> shall define an abstract client-supplied query interface for a coordinate interval, a floating-point constant value and an integer expression value. A true return shall mean that the output is an initialized valid interval enclosing all relevant values under the client's current modeled state. A false return shall mean that the query supplies no usable complete enclosure; callers shall not infer an unchanged output value. An admitted oracle shall report refusal rather than certify an unsound enclosure.
The oracle and target inputs shall remain live and semantically consistent with the analyzed expression and any affine store throughout one analysis. Callbacks may propagate their documented exceptions. C shall provide the selected valid interval operations; rational interval queries shall not require host floating-point arithmetic merely because the interface is named FP_Oracle. Construction/destruction of the concrete oracle shall remain with its client; the protected nonvirtual base destructor shall not support deleting an owned oracle through a base pointer.
-
7. Oracle reference-to-coordinate associations PPL-SPEC-000987 get_associated_dimensions() shall provide the possible coordinate identities denoted by an approximable reference. On true return, its output set shall contain every possible associated coordinate and shall not contain not_a_dimension(). An empty successful set shall remain distinguishable from a single identity and multiple possible identities; it shall not by itself authorize a numerical enclosure. On false return the set shall not establish a usable association. Returned coordinate identities shall remain consistent with coordinate-value queries and the affine store during the analysis call. The oracle shall not transfer ownership of the target reference or create a new coordinate merely by reporting its identity.
-
Incoming links from: 2. Floating constant linearization 3. Unary and unsupported operator dispatch 4. Rounding-aware addition linearization 5. Rounding-aware subtraction linearization 6. Interval-scalar multiplication linearization 7. Nonzero interval-divisor linearization 8. Floating and integer cast linearization 9. Reference association and symbolic-store lookup8
1. Target-adapted floating expression evaluation PPL-SPEC-000991 For a well-formed floating-point expression and sound composite abstract store, linearize() shall return true only with a linear form enclosing every modeled expression value consistent with the entry inputs, including the analyzed operations' rounding error. Target nodes and the oracle shall meet 🔗 4. Target-specific concrete-expression adapter protocol, 🔗 6. Oracle interval and expression-value queries and 🔗 7. Oracle reference-to-coordinate associations. Each stored affine binding shall already enclose the corresponding coordinate in that same modeled state. Correlations shall use consistent coordinate identities.
C shall have a supported native floating-point boundary type and sound interval operations under its initialized arithmetic/FPU prerequisites. Modeled metadata shall not itself establish numerical format support. The selected relative/absolute-error helpers shall support every format for which the operation needs an error bound. Allocation, callback and selected arithmetic operations shall satisfy their documented preconditions.
On false return, the output shall not establish a complete enclosure; no preservation of its prior value shall be promised. Documented callback, resource and unsupported-operation exceptions may propagate. Output owners shall remain safely destructible and reusable after such failure. Analysis shall use input entry values even when result designates a store binding; only the designated output may then change, and other input bindings and target nodes shall remain unchanged. No node or oracle ownership shall be acquired.
-
2. Floating constant linearization PPL-SPEC-000992 For a floating-constant node, linearize() shall query the oracle for that constant. Refusal shall return false. Success shall replace result with a dimension-zero form whose constant is the returned interval and whose homogeneous coefficients are zero. This leaf shall add no operation-rounding error beyond the oracle's enclosure. A valid unbounded oracle interval shall remain an admitted constant result; true at this leaf shall not by itself certify finite coefficients. The common prerequisites and failure/lifetime rules of 🔗 1. Target-adapted floating expression evaluation shall apply.
-
3. Unary and unsupported operator dispatch PPL-SPEC-000993 For unary UPLUS, linearize() shall return the operand's linearization without an additional rounding term. For UMINUS, it shall propagate operand refusal; on success it shall negate every coefficient interval, preserving the operand form's dimension. Unary BNOT shall report unsupported evaluation by throwing std::runtime_error.
Binary REM, BAND, BOR, BXOR, LSHIFT and RSHIFT shall return false without claiming a result. ADD, SUB, MUL and DIV shall dispatch to their matching helper contracts. Unknown kind/operator codes inconsistent with the target protocol shall be outside the admitted interface. The common prerequisites and failure/lifetime rules of 🔗 1. Target-adapted floating expression evaluation shall apply.
-
4. Rounding-aware addition linearization PPL-SPEC-000994 add_linearize() shall require an ADD node and linearize both operands in the same entry store. When either operand refuses, it shall return false. A successful child form with an unbounded coefficient shall also cause refusal before its relative-error form is constructed; later children need not be evaluated after this refusal. Let L1, L2 be their forms, Rf the selected format's relative-error form from 🔗 21. Format-specific relative-error linear form, and Af the interval returned by compute_absolute_error<C>(f). The output shall soundly enclose the coefficient-wise combination L1 + L2 + Rf(L1) + Rf(L2) + Af, retaining symbolic coordinate terms. It shall return false if the resulting coefficients are unbounded, and true otherwise. 🔗 1. Target-adapted floating expression evaluation shall govern runtime, entry-value, exception and ownership semantics.
-
5. Rounding-aware subtraction linearization PPL-SPEC-000995 sub_linearize() shall require a SUB node and linearize both operands in the same entry store. Operand refusal shall return false. A successful child form with an unbounded coefficient shall also cause refusal before its relative-error form is constructed; later children need not be evaluated after this refusal. Using L1, L2, Rf, Af as in 🔗 4. Rounding-aware addition linearization, the output shall soundly enclose L1 − L2 + Rf(L1) + Rf(L2) + Af, using coefficient-wise interval operations and preserving the operands' coordinate identities. It shall return false if any resulting coefficient is unbounded, and true otherwise. 🔗 1. Target-adapted floating expression evaluation shall govern common prerequisites and failure effects.
-
6. Interval-scalar multiplication linearization PPL-SPEC-000996 mul_linearize() shall require a MUL node, obtain both operand forms and intervalize both through the oracle. Failure of any required linearization or coordinate query shall return false. It shall select a bounded intervalized operand for scalar multiplication; if neither operand has a bounded interval enclosure it shall return false. If the retained form has an unbounded coefficient, an exactly zero selected scalar shall yield a dimension-zero form containing the absolute-error interval without constructing relative error; a nonzero selected scalar shall cause refusal. Width estimates may choose either bounded operand and shall not promise optimal precision.
For a bounded retained form, if I1 is selected, the result shall soundly enclose I1L2 + I1Rf(L2) + Af; if I2 is selected it shall soundly enclose I2L1 + I2Rf(L1) + Af. Scalar multiplication shall preserve the other operand's symbolic coordinates. It shall return false for an unbounded result coefficient, and true otherwise. Common notation and prerequisites shall follow 🔗 4. Rounding-aware addition linearization and 🔗 1. Target-adapted floating expression evaluation.
-
7. Nonzero interval-divisor linearization PPL-SPEC-000997 div_linearize() shall require a DIV node and first obtain the denominator's linear form and oracle-based interval enclosure. Required query refusal shall return false. If the closed hull of the denominator interval reaches zero it shall return false, including a zero endpoint excluded by openness. Thus a successful division shall not rely on an unproved nonzero denominator. A one-sided unbounded denominator whose closed hull excludes zero shall remain admitted when the selected interval arithmetic supports it.
It shall then linearize the numerator, propagating refusal. An unbounded numerator coefficient shall cause refusal before its relative-error form is constructed. For numerator form L1 and denominator enclosure I2, it shall soundly enclose L1 ⁄ I2 + Rf(L1) ⁄ I2 + Af, retaining numerator coordinates. An unbounded result coefficient shall return false; a bounded result shall return true. Common prerequisites and notation shall follow 🔗 1. Target-adapted floating expression evaluation and 🔗 4. Rounding-aware addition linearization.
-
8. Floating and integer cast linearization PPL-SPEC-000998 cast_linearize() shall require a floating-result cast node. For a floating argument it shall linearize that argument, propagating refusal. When the destination format contains every finite value representable by the source format, it shall retain the resulting form without added cast error. A constant enclosure certified by 🔗 11. Constant affine enclosures closed under destination rounding shall also require no added cast error.
For an integer argument it shall obtain a sound interval through get_integer_expr_value(), returning false on refusal. If the destination contains every finite value of the analyzer boundary format, it shall close any excluded finite endpoints of that interval and retain the resulting constant form without a further error term. Equality of formats shall satisfy this inclusion condition. Other integer enclosures certified by 🔗 11. Constant affine enclosures closed under destination rounding shall remain unchanged without an error term.
Value-set inclusion shall use is_less_precise_than(): the destination contains the analyzer exactly when !is_less_precise_than(destination, analyzer). The converse difference predicate shall not establish inclusion for incomparable formats.
In the remaining cases it shall add destination-format relative and absolute error enclosures. An unbounded input coefficient shall cause refusal before relative error is constructed. Unbounded resulting coefficients shall return false and bounded coefficients true. Error-free casts may retain admitted unbounded enclosures; success alone shall not certify finite coefficients. Common numerical and entry-value rules shall follow 🔗 1. Target-adapted floating expression evaluation; unsupported selected error helpers may report their documented exceptions.
-
9. Reference association and symbolic-store lookup PPL-SPEC-000999 For an approximable reference, linearize() shall obtain its possible coordinate identities from the oracle. Refusal or an empty association set shall return false. For a single associated coordinate, an existing store binding shall be copied into the result; an unbounded copied form shall return false. If that key is absent, the result shall be the exact unit variable form for that coordinate, with dimension equal to its index plus one. This symbolic fallback shall not require a numerical coordinate query.
For multiple possible coordinates it shall query every required coordinate interval and return false on refusal. Otherwise it shall form their interval hull as a dimension-zero constant form, returning true exactly when its coefficient is bounded. It shall not arbitrarily select one possible identity or combine alternatives as a conjunction. Coordinate validity, entry-value copying and common lifetime/numerical rules shall follow 🔗 7. Oracle reference-to-coordinate associations and 🔗 1. Target-adapted floating expression evaluation.
-
Incoming link from: 11. Constant affine enclosures closed under destination rounding1
10. Native value membership in modeled floating formats PPL-SPEC-001658 For a configured supported native binary floating type Boundary and one of the seven modeled Floating_Point_Format values, cast_value_is_exact() shall return true exactly when the native value is finite and exactly representable in that modeled format. Both signs of zero shall be representable. Nonfinite native values shall return false.
Binary format membership shall include normal and subnormal values within the finite range of binary16, binary32, binary64, binary128 and x87 extended. IBM single and double membership shall use their normalized radix-16 value sets, including zero, their finite exponent ranges and their respective significand precisions. Membership shall be symmetric under sign reversal. The checker shall require no dynamic storage and shall preserve the active rounding direction.
-
Incoming links from: 8. Floating and integer cast linearization 8. Floating and integer cast linearization2
11. Constant affine enclosures closed under destination rounding PPL-SPEC-001659 For a linear form over admitted real intervals with a configured supported native floating boundary type and a known modeled destination format, cast_interval_is_rounding_closed() shall return true exactly when all homogeneous coefficients are zero and the constant interval is nonempty, topologically closed, and has exactly representable finite endpoints as defined by 🔗 10. Native value membership in modeled floating formats. Infinite abstract bounds shall impose no additional representability condition. Retained zero dimensions shall not prevent certification.
A true result shall certify that rounding any admitted finite concrete value from the enclosure to a finite destination value remains in that enclosure. It shall not claim that every interior real value is exactly representable. False shall provide no such certificate. The checker shall preserve the represented form, its space dimension and the active rounding direction, and shall require no dynamic storage.
-
1. Dependency invalidation PPL-SPEC-000988 For a well-formed affine store, discard_occurrences(store, var) shall erase exactly those bindings whose linear form has a coefficient for var unequal to the singleton zero interval. It shall preserve every other key and associated value. An absent coordinate beyond a form's stored dimension shall have zero coefficient as specified by 🔗 6. Dimensions and borrowed coefficient access. An uncertain coefficient containing zero and other values shall count as a dependency. The operation shall accept empty stores and shall not create a binding.
Store keys and referenced coordinates shall be valid dimension indices; each form shall meet the interval-coefficient and lifetime prerequisites of 🔗 1. Interval-linear-form meaning and numerical prerequisites. No PPL initialization or native floating-point arithmetic shall be required when the selected exact interval operations require neither. Erasing a binding shall invalidate references to that binding; references to retained bindings shall remain valid.
-
2. Affine assignment and dependency invalidation PPL-SPEC-000989 affine_form_image(store, var, form) shall first assign a copy of the entry value of form to the key var.id(), inserting or replacing the binding. It shall then perform the dependency invalidation specified by 🔗 1. Dependency invalidation for var across the resulting store. Consequently, a newly assigned form depending on var shall also be discarded. The input may be a form borrowed from the same store, including the target binding; copying shall use its entry value before any removal can destroy that donor. An independent donor shall remain unchanged.
Valid keys, interval operations and lifetimes shall meet 🔗 1. Dependency invalidation. Allocation or coefficient-operation exceptions may propagate; no rollback of the entire store shall be promised, but existing owners shall remain safely destructible. After normal return, every retained binding shall be independent of the assigned coordinate.
-
3. Common-binding affine-store join PPL-SPEC-000990 upper_bound_assign(left, right) shall retain exactly the bindings of left whose keys also occur in right and whose associated linear forms are equal according to 🔗 14. Coefficient equality with implicit trailing zeros. Every other left binding shall be erased. No right-only binding shall be inserted. The retained forms and the right operand shall remain unchanged. Explicit trailing zero coefficients shall not cause mathematically equal forms to be discarded. Joining a store with itself shall preserve all bindings.
Both stores shall meet 🔗 1. Dependency invalidation and describe consistent coordinate identities. Coefficient comparison shall be supported for their selected interval type. Empty operands shall be admitted; an empty right operand shall remove every left binding. Exceptions from selected coefficient comparisons may propagate without a whole-store rollback promise; surviving owners shall remain safely destructible.
-
1. Descriptor absolute-error interval PPL-SPEC-001012 The public static absolute_error field shall initially contain an interval enclosing [ − ω, ω], where the radius is the larger of the analyzed absolute error and the analyzer boundary type's smallest positive subnormal. Built-in IEEE binary descriptors shall use their smallest positive subnormal; normalized IBM short and long hexadecimal descriptors shall use 16 − 65, including underflow to zero with the exponent-underflow interruption disabled. Custom three-field descriptors shall use BASE1 − EXPONENT_BIAS − MANTISSA_BITS. The descriptor shall meet the radix, precision and exponent-range prerequisites of 🔗 1. Owned floating-expression protocol and lifetime. The stored radius shall enclose the mathematical value even when it is not exactly representable in the analyzer.
The field shall be owned by its I, Format specialization and by its thread when PPL thread support selects thread-local storage. It shall remain publicly mutable; callers changing it shall preserve a sound nonempty error interval for their analysis. Subsequent rounded-node evaluation shall use the current field. Selected arithmetic and runtime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
Incoming link from: 1. IBM hexadecimal format metadata for expression analysis1
2. Enumeration-based cached absolute error PPL-SPEC-001013 compute_absolute_error<I>() shall return a stable const reference to the cached absolute-error interval for IEEE754_HALF, IEEE754_SINGLE, IEEE754_DOUBLE, IEEE754_QUAD, INTEL_DOUBLE_EXTENDED or IBM_SINGLE. Its radius shall enclose the corresponding analyzed absolute error and the analyzer's smallest positive subnormal, with binary and IBM meanings from 🔗 1. Descriptor absolute-error interval. Distinct supported formats shall retain their own cached values. Repeated calls shall not change a previously returned interval. Unsupported format selections, including IBM_DOUBLE, shall throw std::invalid_argument.
References shall belong to the selected template specialization and thread when configured thread-local, and shall not be deleted or modified by the caller. Native boundary arithmetic and runtime prerequisites shall be met; metadata support alone shall not establish this helper's support.
-
3. Finite floating-format value inclusion PPL-SPEC-001014 For the seven named floating-format identifiers, is_less_precise_than(first, second) shall return false exactly when every finite mathematical value representable in second is also representable in first. It shall compare modeled value sets, including precision and exponent/subnormal range, independently of the analyzer's native formats. Equal formats shall return false. Incomparable value sets shall return true in both directions; the predicate shall not establish a total ranking. Distinctions between signed zeros or special NaN/infinity encodings shall not alter this finite mathematical-value relation.
The query shall require no PPL initialization, FPU setup or native floating-point availability. Arguments shall be the seven named identifiers specified by 🔗 2. Modeled floating-point format identity.
-
1. IBM hexadecimal format metadata for expression analysis PPL-SPEC-001594 float_ibm_single and float_ibm_double shall provide compile-time numerical metadata for the short and long IBM hexadecimal formats used by floating-expression analysis. Both shall expose radix BASE == 16, characteristic width EXPONENT_BITS == 7 and excess-64 bias EXPONENT_BIAS == 64. MANTISSA_BITS shall count stored fraction bits: 24 for the short format and 56 for the long format, corresponding to six and fourteen hexadecimal digits. The short descriptor shall also expose floating_point_format == IBM_SINGLE.
Reading these constants shall require no library initialization, floating hardware support or FPU rounding-state setup. Their use in rounded analysis shall retain the numerical and initialization prerequisites of the selected consumer, including 🔗 11. Descriptor-based relative rounding error and 🔗 1. Descriptor absolute-error interval. The cached enumeration-based query shall retain its supported-format domain in 🔗 2. Enumeration-based cached absolute error.
-
20. Oracle-based interval enclosure and explicit refusal PPL-SPEC-000940 For a live form with supported initialized interval coefficients, intervalize() shall ask the oracle for intervals of its declared variable coordinates. When the oracle supplies valid enclosures for every requested coordinate, a true result shall set result to an interval enclosing all entry-form affine values at independently admitted coefficient and coordinate choices. A dimension-zero form shall need no coordinate query and shall return its constant interval. The form shall remain unchanged.
If a required oracle query returns false, the method shall return false and shall not claim that result establishes a complete enclosure; no prior result-value preservation shall be promised. Exceptions from the oracle or coefficient operations may propagate. The oracle shall supply initialized intervals and remain valid for the call; overlapping mutation shall follow the operation's numerical/runtime prerequisites. Rational coefficient intervals shall not require native floating-point availability.
-
Incoming link from: 4. Rounding-aware addition linearization1
21. Format-specific relative-error linear form PPL-SPEC-000941 For a form with nonempty bounded supported floating-point intervals, relative_error(format, result) shall preserve the entry dimension and replace result by a form whose coefficient at each coordinate and constant encloses the corresponding magnitude bound multiplied by [ − u, u]. The magnitude bound shall be the maximum absolute value of that entry interval's endpoints. The relative-error unit u shall be 2 − 10, 2 − 23, 2 − 52, 2 − 112 and 2 − 63 for IEEE754_HALF, IEEE754_SINGLE, IEEE754_DOUBLE, IEEE754_QUAD and INTEL_DOUBLE_EXTENDED, respectively. It shall be 2 − 20 for IBM_SINGLE and 2 − 52 for IBM_DOUBLE.
The source shall remain unchanged unless it is also result; in that case the complete result shall still use the source's entry intervals and dimension. This operation shall construct the relative-error component; it shall not alone establish a complete floating-point linearization or supply a separate absolute error term for underflow. All evaluated boundary and interval operations shall satisfy their supported-format, rounding and representability prerequisites.
-
Incoming links from: 1. Descriptor absolute-error interval 1. Descriptor absolute-error interval 2. Owned constant construction and evaluation 3. Owned variable lookup and symbolic fallback 4. Owned exact opposite 5. Owned rounding cast 6. Owned floating sum 7. Owned floating difference 8. Owned floating multiplication 9. Owned floating division 10. Owned expression exchange 11. Descriptor-based relative rounding error 12. Box-based affine intervalization13
1. Owned floating-expression protocol and lifetime PPL-SPEC-001000 Floating_Point_Expression<I, Format> shall provide polymorphic numerical linearization and virtual destruction. FP_Linear_Form shall denote Linear_Form<I>, FP_Interval_Abstract_Store shall denote Box<I> and FP_Linear_Form_Abstract_Store shall denote the map from valid coordinate indices to such forms. I shall have a supported native floating-point boundary type and well-formed interval operations under the selected arithmetic/FPU initialization prerequisites. Format shall provide BASE, MANTISSA_BITS and EXPONENT_BIAS describing the analyzed arithmetic; a format-enumeration member shall not be required. The radix shall be an integer at least two, precision shall be positive, and bias/exponent calculations shall stay within their representable descriptor ranges. Custom decimal radices shall remain admitted. Its modeled rounding and underflow behavior shall meet the selected error bounds in 🔗 11. Descriptor-based relative rounding error and 🔗 1. Descriptor absolute-error interval.
All expression coordinates and coefficients used in intervalization shall have corresponding intervals in the entry box. The box and every symbolic binding shall soundly describe the same modeled state. A successful linearize() shall enclose all corresponding modeled expression values, including operation rounding. Input entry values shall determine the result, including when the output is a symbolic-store binding. Other input bindings shall remain unchanged. A false result shall not certify an enclosure or promise preservation of the previous output. Allocation, coefficient and custom-node callback exceptions may propagate; live owners and outputs shall remain safely destructible and reusable without whole-operation rollback.
Pointer-taking concrete nodes shall acquire exclusive ownership of their nonnull child trees after successful construction. Children shall be independently owned, with no shared ownership or cycles. Deleting through the base pointer shall destroy every owned child exactly once. Concrete nodes shall provide neither public copying nor implicit move ownership. Borrowed access to a child shall not transfer its ownership.
Each of the six unary and binary operator nodes shall expose operand_ptr as std::unique_ptr<Floating_Point_Expression<I, Format>> and accept default-deleter unique_ptr rvalues whose child pointers convert to the base pointer, in addition to its raw-pointer adoption constructor. These arguments shall be nonnull and independently owned. The owning overloads shall not throw and shall consume their arguments' ownership. A pre-existing child owner shall retain its subtree until the parent constructor begins. If evaluating another argument throws, temporary owning arguments already created shall destroy their subtrees during unwinding. Binary nodes shall destroy the first operand before the second operand; unary nodes shall destroy their sole operand. Neither ownership form shall add a child allocation.
overflows() shall return true exactly when the constant or a homogeneous coefficient interval is unbounded. It shall inspect every declared coordinate, treating absent coefficients as zero under 🔗 6. Dimensions and borrowed coefficient access, without changing the form.
-
2. Owned constant construction and evaluation PPL-SPEC-001001 The two-bound constructor shall store the closed interval between its ordered boundary values. The string constructor shall store the selected interval parser's enclosure of a valid constant expression; it shall not retain the caller's character storage. linearize() shall replace the output by a dimension-zero form containing exactly that stored interval, return true and add no operation-rounding term. A valid unbounded constant interval shall remain an admitted leaf result; true at that leaf shall not imply a finite coefficient. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
3. Owned variable lookup and symbolic fallback PPL-SPEC-001002 For a valid coordinate index, variable construction shall retain that identity. If the symbolic store has a binding at that index, linearize() shall copy its entry form to the output and return true exactly when the copied coefficients are bounded. Without such a binding, it shall return the unit coordinate form, with dimension one greater than the index and all other coefficients zero. It shall not mutate the store or borrow its coefficient storage as output ownership. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
4. Owned exact opposite PPL-SPEC-001003 The opposite node shall own its child. It shall propagate child refusal; on success, it shall negate all coefficient intervals of the child's form, preserving its dimension, and return true without an additional rounding term. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
5. Owned rounding cast PPL-SPEC-001004 The cast node shall own its child and model rounding to its Format. It shall propagate child refusal and refuse a child form with an unbounded coefficient before constructing relative error. After these checks, it shall add the relative error of the child's form and the selected absolute-error interval, then return true exactly when all resulting coefficients are bounded. This explicit rounding node shall apply those terms even for zero or a representable child constant; it shall not infer a different source format or a widening conversion from the tree's common format parameter. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
6. Owned floating sum PPL-SPEC-001005 The node shall own both ordered children. It shall linearize the first child before the second, propagating refusal. An unbounded child coefficient shall also cause refusal before relative error is constructed; the second child need not be evaluated after a first-child refusal. With successful bounded child forms L1 and L2, it shall enclose the coefficient-wise form L1 + L2 + R(L1) + R(L2) + A, where R is the relative-error helper and A is the selected absolute-error interval. It shall return true exactly when the resulting coefficients are bounded. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
7. Owned floating difference PPL-SPEC-001006 The node shall own both ordered children. It shall linearize the first child before the second, propagating refusal. An unbounded child coefficient shall also cause refusal before relative error is constructed; the second child need not be evaluated after a first-child refusal. With successful bounded child forms L1 and L2, it shall enclose the coefficient-wise form L1 − L2 + R(L1) + R(L2) + A, where R is the relative-error helper and A is the selected absolute-error interval. It shall return true exactly when the resulting coefficients are bounded. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
8. Owned floating multiplication PPL-SPEC-001007 The product node shall own both ordered children, linearize them in order and intervalize both forms in the supplied box. If the retained form has an unbounded coefficient, an exactly zero selected scalar shall yield a same-dimension zero form plus the absolute-error interval without constructing relative error; a nonzero selected scalar shall cause refusal. Child refusal or the absence of a bounded scalar selection shall return false. With a bounded selected operand interval J and a bounded retained form L, a successful result shall enclose J * (L + R(L)) + A, retaining the other form's symbolic coordinates. The bounded-width selection shall admit either orientation and one unbounded operand when the other provides a bounded scalar. It shall not promise an optimal multiplication strategy. Final unbounded coefficients shall return false. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
9. Owned floating division PPL-SPEC-001008 The quotient node shall own its numerator and denominator children. It shall linearize and intervalize the denominator first. Denominator refusal or a closed endpoint hull containing zero shall return false before linearizing the numerator; an open zero endpoint shall not evade that conservative rejection. Sign-separated positive or negative unbounded intervals shall be admitted when the selected interval division supports them. After successful numerator linearization, an unbounded numerator coefficient shall cause refusal before relative error is constructed. For accepted numerator form L and divisor enclosure J, the output shall enclose L/J + R(L)/J + A. Numerator refusal or unbounded final coefficients shall return false. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
11. Descriptor-based relative rounding error PPL-SPEC-001010 For a bounded well-formed linear form, static relative_error() shall replace the output with a form of the same dimension. For every coefficient interval [a,b], including the constant, its error coefficient shall enclose [ − mu, mu], where m = max(|a|, |b|). For built-in binary descriptors, u = 2 − p with p excluding the leading significand bit. For normalized IBM hexadecimal short/long arithmetic, u = 161 − p with p equal to six/fourteen fraction digits. A custom three-field descriptor shall use u = BASE − MANTISSA_BITS.
The source entry value shall determine every coefficient, including when the output aliases it. Independent sources shall remain unchanged. Coefficients shall use sound outward interval arithmetic rather than an inward approximation of the selected error radius. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
12. Box-based affine intervalization PPL-SPEC-001011 Static intervalize() shall enclose the sum of the constant interval and every homogeneous coefficient interval multiplied by the corresponding box interval, using the source form's entry values. The box shall have at least the form's dimension and valid factor intervals for every declared coordinate, including zero coefficients. Its result shall not preserve cross-coordinate correlations beyond those factors. Independent form and box inputs shall remain unchanged. The result shall be a separate interval owner from input form coefficients and box factors. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
13. Owned-variable symbolic assignment PPL-SPEC-001015 linear_form_assign() shall assign a copy of the supplied form's entry value to the node's coordinate in the symbolic store, replacing an existing binding or inserting one. Every other pre-existing binding with a non-singleton-zero coefficient for that coordinate shall be discarded; independent bindings, including explicit zero dependencies and coordinates beyond a form's dimension, shall be retained. A newly assigned form shall be retained, including when it contains the target coordinate; callers shall ensure its interpretation remains valid for their modeled state.
A form borrowed from the same store shall use its entry value even if invalidation removes the donor. Independent inputs shall remain unchanged. Valid coordinate, coefficient and lifetime prerequisites of 🔗 1. Dependency invalidation shall apply. Allocation and coefficient exceptions may propagate without whole-store rollback; live owners shall remain safely destructible.
-
4. Abstract expression evaluation PPL-HLR-000004 PPL shall provide numerical expression analysis facilities whose successful results conservatively enclose the concrete evaluations admitted by the input approximation and the selected arithmetic model.
When an expression approximation cannot establish a sound result in its promised representation for the supplied valid inputs, it shall report failure rather than report an unsound approximation as successful.
-
Incoming link from: 1. Target-adapted floating expression evaluation1
6. Oracle interval and expression-value queries PPL-SPEC-000986 FP_Oracle<Target, C> shall define an abstract client-supplied query interface for a coordinate interval, a floating-point constant value and an integer expression value. A true return shall mean that the output is an initialized valid interval enclosing all relevant values under the client's current modeled state. A false return shall mean that the query supplies no usable complete enclosure; callers shall not infer an unchanged output value. An admitted oracle shall report refusal rather than certify an unsound enclosure.
The oracle and target inputs shall remain live and semantically consistent with the analyzed expression and any affine store throughout one analysis. Callbacks may propagate their documented exceptions. C shall provide the selected valid interval operations; rational interval queries shall not require host floating-point arithmetic merely because the interface is named FP_Oracle. Construction/destruction of the concrete oracle shall remain with its client; the protected nonvirtual base destructor shall not support deleting an owned oracle through a base pointer.
-
7. Oracle reference-to-coordinate associations PPL-SPEC-000987 get_associated_dimensions() shall provide the possible coordinate identities denoted by an approximable reference. On true return, its output set shall contain every possible associated coordinate and shall not contain not_a_dimension(). An empty successful set shall remain distinguishable from a single identity and multiple possible identities; it shall not by itself authorize a numerical enclosure. On false return the set shall not establish a usable association. Returned coordinate identities shall remain consistent with coordinate-value queries and the affine store during the analysis call. The oracle shall not transfer ownership of the target reference or create a new coordinate merely by reporting its identity.
-
Incoming links from: 2. Floating constant linearization 3. Unary and unsupported operator dispatch 4. Rounding-aware addition linearization 5. Rounding-aware subtraction linearization 6. Interval-scalar multiplication linearization 7. Nonzero interval-divisor linearization 8. Floating and integer cast linearization 9. Reference association and symbolic-store lookup8
1. Target-adapted floating expression evaluation PPL-SPEC-000991 For a well-formed floating-point expression and sound composite abstract store, linearize() shall return true only with a linear form enclosing every modeled expression value consistent with the entry inputs, including the analyzed operations' rounding error. Target nodes and the oracle shall meet 🔗 4. Target-specific concrete-expression adapter protocol, 🔗 6. Oracle interval and expression-value queries and 🔗 7. Oracle reference-to-coordinate associations. Each stored affine binding shall already enclose the corresponding coordinate in that same modeled state. Correlations shall use consistent coordinate identities.
C shall have a supported native floating-point boundary type and sound interval operations under its initialized arithmetic/FPU prerequisites. Modeled metadata shall not itself establish numerical format support. The selected relative/absolute-error helpers shall support every format for which the operation needs an error bound. Allocation, callback and selected arithmetic operations shall satisfy their documented preconditions.
On false return, the output shall not establish a complete enclosure; no preservation of its prior value shall be promised. Documented callback, resource and unsupported-operation exceptions may propagate. Output owners shall remain safely destructible and reusable after such failure. Analysis shall use input entry values even when result designates a store binding; only the designated output may then change, and other input bindings and target nodes shall remain unchanged. No node or oracle ownership shall be acquired.
-
2. Floating constant linearization PPL-SPEC-000992 For a floating-constant node, linearize() shall query the oracle for that constant. Refusal shall return false. Success shall replace result with a dimension-zero form whose constant is the returned interval and whose homogeneous coefficients are zero. This leaf shall add no operation-rounding error beyond the oracle's enclosure. A valid unbounded oracle interval shall remain an admitted constant result; true at this leaf shall not by itself certify finite coefficients. The common prerequisites and failure/lifetime rules of 🔗 1. Target-adapted floating expression evaluation shall apply.
-
3. Unary and unsupported operator dispatch PPL-SPEC-000993 For unary UPLUS, linearize() shall return the operand's linearization without an additional rounding term. For UMINUS, it shall propagate operand refusal; on success it shall negate every coefficient interval, preserving the operand form's dimension. Unary BNOT shall report unsupported evaluation by throwing std::runtime_error.
Binary REM, BAND, BOR, BXOR, LSHIFT and RSHIFT shall return false without claiming a result. ADD, SUB, MUL and DIV shall dispatch to their matching helper contracts. Unknown kind/operator codes inconsistent with the target protocol shall be outside the admitted interface. The common prerequisites and failure/lifetime rules of 🔗 1. Target-adapted floating expression evaluation shall apply.
-
4. Rounding-aware addition linearization PPL-SPEC-000994 add_linearize() shall require an ADD node and linearize both operands in the same entry store. When either operand refuses, it shall return false. A successful child form with an unbounded coefficient shall also cause refusal before its relative-error form is constructed; later children need not be evaluated after this refusal. Let L1, L2 be their forms, Rf the selected format's relative-error form from 🔗 21. Format-specific relative-error linear form, and Af the interval returned by compute_absolute_error<C>(f). The output shall soundly enclose the coefficient-wise combination L1 + L2 + Rf(L1) + Rf(L2) + Af, retaining symbolic coordinate terms. It shall return false if the resulting coefficients are unbounded, and true otherwise. 🔗 1. Target-adapted floating expression evaluation shall govern runtime, entry-value, exception and ownership semantics.
-
5. Rounding-aware subtraction linearization PPL-SPEC-000995 sub_linearize() shall require a SUB node and linearize both operands in the same entry store. Operand refusal shall return false. A successful child form with an unbounded coefficient shall also cause refusal before its relative-error form is constructed; later children need not be evaluated after this refusal. Using L1, L2, Rf, Af as in 🔗 4. Rounding-aware addition linearization, the output shall soundly enclose L1 − L2 + Rf(L1) + Rf(L2) + Af, using coefficient-wise interval operations and preserving the operands' coordinate identities. It shall return false if any resulting coefficient is unbounded, and true otherwise. 🔗 1. Target-adapted floating expression evaluation shall govern common prerequisites and failure effects.
-
6. Interval-scalar multiplication linearization PPL-SPEC-000996 mul_linearize() shall require a MUL node, obtain both operand forms and intervalize both through the oracle. Failure of any required linearization or coordinate query shall return false. It shall select a bounded intervalized operand for scalar multiplication; if neither operand has a bounded interval enclosure it shall return false. If the retained form has an unbounded coefficient, an exactly zero selected scalar shall yield a dimension-zero form containing the absolute-error interval without constructing relative error; a nonzero selected scalar shall cause refusal. Width estimates may choose either bounded operand and shall not promise optimal precision.
For a bounded retained form, if I1 is selected, the result shall soundly enclose I1L2 + I1Rf(L2) + Af; if I2 is selected it shall soundly enclose I2L1 + I2Rf(L1) + Af. Scalar multiplication shall preserve the other operand's symbolic coordinates. It shall return false for an unbounded result coefficient, and true otherwise. Common notation and prerequisites shall follow 🔗 4. Rounding-aware addition linearization and 🔗 1. Target-adapted floating expression evaluation.
-
7. Nonzero interval-divisor linearization PPL-SPEC-000997 div_linearize() shall require a DIV node and first obtain the denominator's linear form and oracle-based interval enclosure. Required query refusal shall return false. If the closed hull of the denominator interval reaches zero it shall return false, including a zero endpoint excluded by openness. Thus a successful division shall not rely on an unproved nonzero denominator. A one-sided unbounded denominator whose closed hull excludes zero shall remain admitted when the selected interval arithmetic supports it.
It shall then linearize the numerator, propagating refusal. An unbounded numerator coefficient shall cause refusal before its relative-error form is constructed. For numerator form L1 and denominator enclosure I2, it shall soundly enclose L1 ⁄ I2 + Rf(L1) ⁄ I2 + Af, retaining numerator coordinates. An unbounded result coefficient shall return false; a bounded result shall return true. Common prerequisites and notation shall follow 🔗 1. Target-adapted floating expression evaluation and 🔗 4. Rounding-aware addition linearization.
-
8. Floating and integer cast linearization PPL-SPEC-000998 cast_linearize() shall require a floating-result cast node. For a floating argument it shall linearize that argument, propagating refusal. When the destination format contains every finite value representable by the source format, it shall retain the resulting form without added cast error. A constant enclosure certified by 🔗 11. Constant affine enclosures closed under destination rounding shall also require no added cast error.
For an integer argument it shall obtain a sound interval through get_integer_expr_value(), returning false on refusal. If the destination contains every finite value of the analyzer boundary format, it shall close any excluded finite endpoints of that interval and retain the resulting constant form without a further error term. Equality of formats shall satisfy this inclusion condition. Other integer enclosures certified by 🔗 11. Constant affine enclosures closed under destination rounding shall remain unchanged without an error term.
Value-set inclusion shall use is_less_precise_than(): the destination contains the analyzer exactly when !is_less_precise_than(destination, analyzer). The converse difference predicate shall not establish inclusion for incomparable formats.
In the remaining cases it shall add destination-format relative and absolute error enclosures. An unbounded input coefficient shall cause refusal before relative error is constructed. Unbounded resulting coefficients shall return false and bounded coefficients true. Error-free casts may retain admitted unbounded enclosures; success alone shall not certify finite coefficients. Common numerical and entry-value rules shall follow 🔗 1. Target-adapted floating expression evaluation; unsupported selected error helpers may report their documented exceptions.
-
9. Reference association and symbolic-store lookup PPL-SPEC-000999 For an approximable reference, linearize() shall obtain its possible coordinate identities from the oracle. Refusal or an empty association set shall return false. For a single associated coordinate, an existing store binding shall be copied into the result; an unbounded copied form shall return false. If that key is absent, the result shall be the exact unit variable form for that coordinate, with dimension equal to its index plus one. This symbolic fallback shall not require a numerical coordinate query.
For multiple possible coordinates it shall query every required coordinate interval and return false on refusal. Otherwise it shall form their interval hull as a dimension-zero constant form, returning true exactly when its coefficient is bounded. It shall not arbitrarily select one possible identity or combine alternatives as a conjunction. Coordinate validity, entry-value copying and common lifetime/numerical rules shall follow 🔗 7. Oracle reference-to-coordinate associations and 🔗 1. Target-adapted floating expression evaluation.
-
1. Descriptor absolute-error interval PPL-SPEC-001012 The public static absolute_error field shall initially contain an interval enclosing [ − ω, ω], where the radius is the larger of the analyzed absolute error and the analyzer boundary type's smallest positive subnormal. Built-in IEEE binary descriptors shall use their smallest positive subnormal; normalized IBM short and long hexadecimal descriptors shall use 16 − 65, including underflow to zero with the exponent-underflow interruption disabled. Custom three-field descriptors shall use BASE1 − EXPONENT_BIAS − MANTISSA_BITS. The descriptor shall meet the radix, precision and exponent-range prerequisites of 🔗 1. Owned floating-expression protocol and lifetime. The stored radius shall enclose the mathematical value even when it is not exactly representable in the analyzer.
The field shall be owned by its I, Format specialization and by its thread when PPL thread support selects thread-local storage. It shall remain publicly mutable; callers changing it shall preserve a sound nonempty error interval for their analysis. Subsequent rounded-node evaluation shall use the current field. Selected arithmetic and runtime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
Incoming link from: 1. IBM hexadecimal format metadata for expression analysis1
2. Enumeration-based cached absolute error PPL-SPEC-001013 compute_absolute_error<I>() shall return a stable const reference to the cached absolute-error interval for IEEE754_HALF, IEEE754_SINGLE, IEEE754_DOUBLE, IEEE754_QUAD, INTEL_DOUBLE_EXTENDED or IBM_SINGLE. Its radius shall enclose the corresponding analyzed absolute error and the analyzer's smallest positive subnormal, with binary and IBM meanings from 🔗 1. Descriptor absolute-error interval. Distinct supported formats shall retain their own cached values. Repeated calls shall not change a previously returned interval. Unsupported format selections, including IBM_DOUBLE, shall throw std::invalid_argument.
References shall belong to the selected template specialization and thread when configured thread-local, and shall not be deleted or modified by the caller. Native boundary arithmetic and runtime prerequisites shall be met; metadata support alone shall not establish this helper's support.
-
1. IBM hexadecimal format metadata for expression analysis PPL-SPEC-001594 float_ibm_single and float_ibm_double shall provide compile-time numerical metadata for the short and long IBM hexadecimal formats used by floating-expression analysis. Both shall expose radix BASE == 16, characteristic width EXPONENT_BITS == 7 and excess-64 bias EXPONENT_BIAS == 64. MANTISSA_BITS shall count stored fraction bits: 24 for the short format and 56 for the long format, corresponding to six and fourteen hexadecimal digits. The short descriptor shall also expose floating_point_format == IBM_SINGLE.
Reading these constants shall require no library initialization, floating hardware support or FPU rounding-state setup. Their use in rounded analysis shall retain the numerical and initialization prerequisites of the selected consumer, including 🔗 11. Descriptor-based relative rounding error and 🔗 1. Descriptor absolute-error interval. The cached enumeration-based query shall retain its supported-format domain in 🔗 2. Enumeration-based cached absolute error.
-
20. Oracle-based interval enclosure and explicit refusal PPL-SPEC-000940 For a live form with supported initialized interval coefficients, intervalize() shall ask the oracle for intervals of its declared variable coordinates. When the oracle supplies valid enclosures for every requested coordinate, a true result shall set result to an interval enclosing all entry-form affine values at independently admitted coefficient and coordinate choices. A dimension-zero form shall need no coordinate query and shall return its constant interval. The form shall remain unchanged.
If a required oracle query returns false, the method shall return false and shall not claim that result establishes a complete enclosure; no prior result-value preservation shall be promised. Exceptions from the oracle or coefficient operations may propagate. The oracle shall supply initialized intervals and remain valid for the call; overlapping mutation shall follow the operation's numerical/runtime prerequisites. Rational coefficient intervals shall not require native floating-point availability.
-
Incoming links from: 1. Descriptor absolute-error interval 1. Descriptor absolute-error interval 2. Owned constant construction and evaluation 3. Owned variable lookup and symbolic fallback 4. Owned exact opposite 5. Owned rounding cast 6. Owned floating sum 7. Owned floating difference 8. Owned floating multiplication 9. Owned floating division 10. Owned expression exchange 11. Descriptor-based relative rounding error 12. Box-based affine intervalization13
1. Owned floating-expression protocol and lifetime PPL-SPEC-001000 Floating_Point_Expression<I, Format> shall provide polymorphic numerical linearization and virtual destruction. FP_Linear_Form shall denote Linear_Form<I>, FP_Interval_Abstract_Store shall denote Box<I> and FP_Linear_Form_Abstract_Store shall denote the map from valid coordinate indices to such forms. I shall have a supported native floating-point boundary type and well-formed interval operations under the selected arithmetic/FPU initialization prerequisites. Format shall provide BASE, MANTISSA_BITS and EXPONENT_BIAS describing the analyzed arithmetic; a format-enumeration member shall not be required. The radix shall be an integer at least two, precision shall be positive, and bias/exponent calculations shall stay within their representable descriptor ranges. Custom decimal radices shall remain admitted. Its modeled rounding and underflow behavior shall meet the selected error bounds in 🔗 11. Descriptor-based relative rounding error and 🔗 1. Descriptor absolute-error interval.
All expression coordinates and coefficients used in intervalization shall have corresponding intervals in the entry box. The box and every symbolic binding shall soundly describe the same modeled state. A successful linearize() shall enclose all corresponding modeled expression values, including operation rounding. Input entry values shall determine the result, including when the output is a symbolic-store binding. Other input bindings shall remain unchanged. A false result shall not certify an enclosure or promise preservation of the previous output. Allocation, coefficient and custom-node callback exceptions may propagate; live owners and outputs shall remain safely destructible and reusable without whole-operation rollback.
Pointer-taking concrete nodes shall acquire exclusive ownership of their nonnull child trees after successful construction. Children shall be independently owned, with no shared ownership or cycles. Deleting through the base pointer shall destroy every owned child exactly once. Concrete nodes shall provide neither public copying nor implicit move ownership. Borrowed access to a child shall not transfer its ownership.
Each of the six unary and binary operator nodes shall expose operand_ptr as std::unique_ptr<Floating_Point_Expression<I, Format>> and accept default-deleter unique_ptr rvalues whose child pointers convert to the base pointer, in addition to its raw-pointer adoption constructor. These arguments shall be nonnull and independently owned. The owning overloads shall not throw and shall consume their arguments' ownership. A pre-existing child owner shall retain its subtree until the parent constructor begins. If evaluating another argument throws, temporary owning arguments already created shall destroy their subtrees during unwinding. Binary nodes shall destroy the first operand before the second operand; unary nodes shall destroy their sole operand. Neither ownership form shall add a child allocation.
overflows() shall return true exactly when the constant or a homogeneous coefficient interval is unbounded. It shall inspect every declared coordinate, treating absent coefficients as zero under 🔗 6. Dimensions and borrowed coefficient access, without changing the form.
-
2. Owned constant construction and evaluation PPL-SPEC-001001 The two-bound constructor shall store the closed interval between its ordered boundary values. The string constructor shall store the selected interval parser's enclosure of a valid constant expression; it shall not retain the caller's character storage. linearize() shall replace the output by a dimension-zero form containing exactly that stored interval, return true and add no operation-rounding term. A valid unbounded constant interval shall remain an admitted leaf result; true at that leaf shall not imply a finite coefficient. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
3. Owned variable lookup and symbolic fallback PPL-SPEC-001002 For a valid coordinate index, variable construction shall retain that identity. If the symbolic store has a binding at that index, linearize() shall copy its entry form to the output and return true exactly when the copied coefficients are bounded. Without such a binding, it shall return the unit coordinate form, with dimension one greater than the index and all other coefficients zero. It shall not mutate the store or borrow its coefficient storage as output ownership. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
4. Owned exact opposite PPL-SPEC-001003 The opposite node shall own its child. It shall propagate child refusal; on success, it shall negate all coefficient intervals of the child's form, preserving its dimension, and return true without an additional rounding term. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
5. Owned rounding cast PPL-SPEC-001004 The cast node shall own its child and model rounding to its Format. It shall propagate child refusal and refuse a child form with an unbounded coefficient before constructing relative error. After these checks, it shall add the relative error of the child's form and the selected absolute-error interval, then return true exactly when all resulting coefficients are bounded. This explicit rounding node shall apply those terms even for zero or a representable child constant; it shall not infer a different source format or a widening conversion from the tree's common format parameter. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
6. Owned floating sum PPL-SPEC-001005 The node shall own both ordered children. It shall linearize the first child before the second, propagating refusal. An unbounded child coefficient shall also cause refusal before relative error is constructed; the second child need not be evaluated after a first-child refusal. With successful bounded child forms L1 and L2, it shall enclose the coefficient-wise form L1 + L2 + R(L1) + R(L2) + A, where R is the relative-error helper and A is the selected absolute-error interval. It shall return true exactly when the resulting coefficients are bounded. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
7. Owned floating difference PPL-SPEC-001006 The node shall own both ordered children. It shall linearize the first child before the second, propagating refusal. An unbounded child coefficient shall also cause refusal before relative error is constructed; the second child need not be evaluated after a first-child refusal. With successful bounded child forms L1 and L2, it shall enclose the coefficient-wise form L1 − L2 + R(L1) + R(L2) + A, where R is the relative-error helper and A is the selected absolute-error interval. It shall return true exactly when the resulting coefficients are bounded. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
8. Owned floating multiplication PPL-SPEC-001007 The product node shall own both ordered children, linearize them in order and intervalize both forms in the supplied box. If the retained form has an unbounded coefficient, an exactly zero selected scalar shall yield a same-dimension zero form plus the absolute-error interval without constructing relative error; a nonzero selected scalar shall cause refusal. Child refusal or the absence of a bounded scalar selection shall return false. With a bounded selected operand interval J and a bounded retained form L, a successful result shall enclose J * (L + R(L)) + A, retaining the other form's symbolic coordinates. The bounded-width selection shall admit either orientation and one unbounded operand when the other provides a bounded scalar. It shall not promise an optimal multiplication strategy. Final unbounded coefficients shall return false. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
9. Owned floating division PPL-SPEC-001008 The quotient node shall own its numerator and denominator children. It shall linearize and intervalize the denominator first. Denominator refusal or a closed endpoint hull containing zero shall return false before linearizing the numerator; an open zero endpoint shall not evade that conservative rejection. Sign-separated positive or negative unbounded intervals shall be admitted when the selected interval division supports them. After successful numerator linearization, an unbounded numerator coefficient shall cause refusal before relative error is constructed. For accepted numerator form L and divisor enclosure J, the output shall enclose L/J + R(L)/J + A. Numerator refusal or unbounded final coefficients shall return false. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
11. Descriptor-based relative rounding error PPL-SPEC-001010 For a bounded well-formed linear form, static relative_error() shall replace the output with a form of the same dimension. For every coefficient interval [a,b], including the constant, its error coefficient shall enclose [ − mu, mu], where m = max(|a|, |b|). For built-in binary descriptors, u = 2 − p with p excluding the leading significand bit. For normalized IBM hexadecimal short/long arithmetic, u = 161 − p with p equal to six/fourteen fraction digits. A custom three-field descriptor shall use u = BASE − MANTISSA_BITS.
The source entry value shall determine every coefficient, including when the output aliases it. Independent sources shall remain unchanged. Coefficients shall use sound outward interval arithmetic rather than an inward approximation of the selected error radius. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
12. Box-based affine intervalization PPL-SPEC-001011 Static intervalize() shall enclose the sum of the constant interval and every homogeneous coefficient interval multiplied by the corresponding box interval, using the source form's entry values. The box shall have at least the form's dimension and valid factor intervals for every declared coordinate, including zero coefficients. Its result shall not preserve cross-coordinate correlations beyond those factors. Independent form and box inputs shall remain unchanged. The result shall be a separate interval owner from input form coefficients and box factors. The numerical, entry-value and lifetime prerequisites of 🔗 1. Owned floating-expression protocol and lifetime shall apply.
-
4. Abstract expression evaluation PPL-HLR-000004 PPL shall provide numerical expression analysis facilities whose successful results conservatively enclose the concrete evaluations admitted by the input approximation and the selected arithmetic model.
Assuming all intermediate calculations satisfy the selected arithmetic profile's documented preconditions, successful addition, subtraction and supported scalar multiplication or division of interval linear forms shall enclose the corresponding real-arithmetic combinations of all coefficient and variable values admitted by the input forms.
-
Incoming links from: 9. Native interval-affine image 9. Native interval-affine image 1. Conservative interval-linear-form inequality refinement 2. Generalized interval-linear-form comparisons 1. Dependency invalidation 1. Native interval-affine image 1. Native interval-affine image 2. Conservative interval-linear-form inequality refinement 3. Generalized interval-linear-form comparisons9
1. Interval-linear-form meaning and numerical prerequisites PPL-SPEC-000921 For a selected interval type C, a live Linear_Form<C> of dimension d, with coefficient intervals Ai and constant interval B, shall represent the interval-affine expression B + ∑d − 1i = 0Aixi. At each real valuation x, it shall denote the set of sums obtained by choosing each coefficient and the constant independently from their intervals. Repeated use of an interval object shall not establish correlations between those choices. The constant shall occupy no variable coordinate. The declared dimension shall retain trailing zero coefficients.
C shall provide the interval construction, copying, predicates and arithmetic required by the selected operation. Stored values shall satisfy its initialization, canonical-value and metadata prerequisites. Each successful arithmetic operation shall retain the interval operations' enclosure guarantees and selected numerical-profile conditions; no common optimality or finite-bound guarantee shall be inferred. Native floating-point arithmetic shall require the selected supported boundary format and its rounding-state prerequisites. Storage access shall add no numerical rounding requirement. Shared-facility initialization shall be required where the selected coefficient operation, expression conversion or output formatter requires it; unrelated storage shall add no initialization owner.
Callers shall synchronize access against overlapping modification and obey shared-temporary restrictions in the selected configuration. Allocation and coefficient exceptions may propagate. Failed construction shall release resources owned by the incomplete form. Unchanged operands shall remain unchanged; modified destinations shall remain destructible, with no universal rollback guarantee.
-
2. Zero and interval-constant construction PPL-SPEC-000922 Default construction shall produce dimension zero and the singleton-zero constant. Construction from an initialized interval n shall produce dimension zero and an independent copy of that interval as the constant. Both forms shall report zero coefficients at every valid queried variable. The constant constructor shall preserve empty, bounded, open, singleton and unbounded values admitted by C.
-
3. Variable and variable-difference construction PPL-SPEC-000923 Construction from Variable v shall produce dimension v.space_dimension(), singleton coefficient one at v.id(), singleton zero at every other coordinate and a singleton-zero constant. The explicitly selected interval-type overload for v-w shall produce dimension max(v.space_dimension(), w.space_dimension()). Distinct variables shall have singleton coefficients one and minus one, respectively; equal variables shall produce all singleton-zero coefficients while retaining that dimension. The selected interval representation shall enclose the signed unit values even when its boundary type is unsigned.
A variable dimension exceeding max_space_dimension() shall cause std::length_error before a coefficient vector of that dimension is constructed.
-
4. Conversion from integral affine expressions PPL-SPEC-000924 Construction from Linear_Expression e shall preserve its declared dimension and enclose each integer coefficient and constant in the corresponding interval of C. Exactly representable integer values shall be singleton intervals; other supported conversions shall retain their coefficient-conversion enclosure guarantees. Source representation shall not alter the mathematical result, and the source shall remain unchanged. A source dimension greater than max_space_dimension() shall cause std::length_error. Reading e shall retain its configured coefficient profile and initialization prerequisites.
-
5. Independent copying, assignment and owned lifetimes PPL-SPEC-000925 Copy construction and copy assignment shall preserve the dimension and all coefficient intervals, including their admitted endpoint metadata. Copies shall own independent coefficient storage. Subsequent mutation or destruction of one form shall not change the other. Assignment shall return the destination reference, including same-object assignment, which shall preserve its value and dimension. Destruction shall release the form's owned vector and constructed coefficient objects. Copying shall not promise to preserve allocation capacity or introduce a move interface beyond the declared C++ operations.
-
Incoming links from: 1. Dependency invalidation 1. Owned floating-expression protocol and lifetime2
6. Dimensions and borrowed coefficient access PPL-SPEC-000926 Coefficient accessors shall require an lvalue receiver, with the corresponding const && overloads deleted. References shall not outlive the owning form.
max_space_dimension() shall report the maximum ambient dimension admitted by the form's coefficient-vector representation. This limit shall not promise that allocating every admitted dimension will succeed. space_dimension() shall return the declared ambient dimension. inhomogeneous_term() shall return a const reference to the owned constant. For a valid variable inside that dimension, coefficient(v) shall return a const reference to its owned coefficient. A valid variable outside the declared dimension shall return a const reference to a singleton zero, without extending the form or allocating a coefficient for that variable.
Owned coefficient references shall be usable until destruction or an operation that may replace/reallocate or transfer the owning vector. The shared zero shall remain usable during its owning type/context lifetime; callers shall not destroy or modify it through a cast.
-
7. Unary copying and coefficient-wise negation PPL-SPEC-000927 Unary plus shall return an independent value copy with the same dimension. Unary minus shall return an independent form whose coefficient intervals, including the constant, enclose their entry-value negations. negate() shall apply the same interval negation to the current form and preserve its dimension. Negation shall exchange lower/upper roles and endpoint openness according to C. It shall not cancel an uncertain interval to zero.
-
8. Addition of interval linear forms PPL-SPEC-000928 For a+b and a+=b, the result dimension shall be the maximum of the entry dimensions. Each common coefficient interval and the constant shall enclose the sum of the corresponding entry intervals. Coefficients belonging only to the larger form shall be preserved. Compound assignment shall return a by reference; noncompound addition shall return an independent form and preserve both operands. Same-object addition shall use the entry coefficient intervals and their independent-choice interval meaning.
-
9. Subtraction of interval linear forms PPL-SPEC-000929 For a-b and a-=b, the result dimension shall be the maximum of the entry dimensions. Each coefficient interval and constant shall enclose the corresponding entry interval difference. A coordinate present only in a shall be preserved; one present only in b shall be negated. Compound assignment shall return a by reference; the independent result shall preserve both operands. Same-object subtraction shall retain independent interval-choice semantics: subtracting an uncertain interval from itself shall not imply a singleton-zero coefficient.
-
10. Variable addition, subtraction and dimension extension PPL-SPEC-000930 Adding or subtracting a valid variable shall add or subtract singleton one at its coordinate, preserve every other entry coefficient and constant, and set dimension to the maximum of the form's entry dimension and the variable dimension. The reflected v-f shall negate every coefficient of f then add singleton one at v.id(). Compound operations shall return the modified form by reference. Returning operations shall preserve their operands. Exact cancellation shall not shrink the declared dimension. A variable dimension above max_space_dimension() shall cause std::length_error and leave the existing form unchanged.
-
11. Interval scalar translation and reflected subtraction PPL-SPEC-000931 Adding or subtracting an interval scalar shall change only the constant interval, by the corresponding interval sum or difference, and retain the form's dimension and homogeneous coefficients. n-f shall negate the homogeneous coefficients and produce the interval difference of entry scalar n and the entry constant. Returning operations shall preserve all inputs. Compound operations shall return the destination reference and use the scalar's entry value when it is borrowed from that form, including its constant.
-
12. Interval scalar multiplication PPL-SPEC-000932 Multiplying a form by interval scalar n shall preserve its declared dimension and produce coefficient intervals, including the constant, that enclose every product of the corresponding entry coefficient and the entry scalar. Both returning orders shall preserve their operands and return an independent form. Compound multiplication shall return the modified form reference. A scalar borrowed from the destination shall denote its entry interval for every coefficient update; changing an earlier coefficient shall not change that scalar's meaning for later updates.
-
13. Division by an admitted nonzero interval scalar PPL-SPEC-000933 For a supported interval divisor that excludes zero, compound division shall preserve the dimension and enclose, at every coefficient and constant, all quotients of the entry coefficient interval by the entry divisor interval. It shall return the destination reference. The divisor's entry interval shall apply to every coefficient even when borrowed from the destination. Callers shall satisfy the selected interval division's domain, representability and rounding prerequisites; this interface shall not imply that division by zero is admitted.
-
Incoming link from: 3. Common-binding affine-store join1
14. Coefficient equality with implicit trailing zeros PPL-SPEC-000934 Equality shall return true exactly when the constants compare equal under C and every homogeneous coefficient compares equal after padding the shorter form with singleton-zero intervals. Different declared dimensions alone shall not imply inequality. Inequality shall be the logical complement of equality. Neither operation shall modify its inputs or dimensions. This comparison shall compare interval coefficients; it shall not assert relational equivalence after correlating uncertain coefficient choices.
-
15. Ownership-preserving swap PPL-SPEC-000935 Member and free swap shall exchange the complete owned coefficient values and declared dimensions of two forms without numerical conversion. Future mutation of either form shall affect its received value independently. Same-object swap shall preserve its value and dimension. Swap shall not require copying or re-evaluating every interval coefficient.
-
16. Coefficient integrity and finite-bound classification PPL-SPEC-000936 OK() shall return true when every owned interval coefficient satisfies its interval invariant predicate, and false when any such predicate returns false. overflows() shall return false exactly when the constant and every stored homogeneous coefficient satisfy C::is_bounded(); otherwise it shall return true. The latter shall classify the current coefficient bounds, not certify past arithmetic exactness or the absence of modeled floating-point rounding error. Both queries shall preserve the form and its dimension.
-
17. Reloadable interval-coefficient ASCII representation PPL-SPEC-000937 ascii_dump() shall write the dimension followed by the constant and homogeneous intervals in coordinate order, each in C's reloadable ascii_dump() format. Successful loading shall replace the complete form with that declared dimension and those intervals, including endpoint metadata and inactive payloads required by C's format. A dump shall round-trip under a compatible coefficient representation. The overload without a stream argument shall write that same frame on standard error. Dumping shall preserve the source and may propagate stream exceptions.
ascii_load() shall return false when no valid dimension can be read, when it exceeds max_space_dimension(), or when a required interval record cannot be loaded. Success shall return true after consuming the required record; trailing input shall remain available. A failed load shall leave the form destructible and reusable by complete assignment/loading, with no unchanged-state guarantee. Earlier display-based coefficient encodings shall not be accepted as equivalent machine records.
-
18. Human-readable affine composition PPL-SPEC-000938 Stream insertion shall return the supplied stream and preserve the form. It shall display nonzero homogeneous coefficients in increasing variable index order using the current variable formatter. A first singleton-minus-one coefficient shall display a leading minus; singleton-one factors shall omit the coefficient/product marker. A later minus-one coefficient shall use the separator " - "; every other later nonzero coefficient shall use " + ", displaying its interval and "*" when it is not singleton one. The nonzero constant shall follow existing variable terms with " + " and use C's display. If all coefficients are zero, the zero interval shall be displayed. A negative nonunit coefficient or constant shall retain its coefficient display rather than being rewritten into a subtraction. Coefficient display shall use the stream locale/format settings and retain the variable formatter's prerequisites. It shall not serve as the reloadable machine format. print() shall display the same form on standard error without adding a newline.
-
19. Owned vector and interval memory accounting PPL-SPEC-000939 external_memory_in_bytes() shall count allocated vector capacity in bytes and the external memory reported by every constructed coefficient interval. It shall not charge the form for shared zero storage borrowed by out-of-dimension queries. total_memory_in_bytes() shall equal the external count plus sizeof(*this). Counts shall retain the selected coefficient memory-reporting contracts and require representable aggregate byte counts; allocator bookkeeping outside those reports shall not be inferred.
-
20. Oracle-based interval enclosure and explicit refusal PPL-SPEC-000940 For a live form with supported initialized interval coefficients, intervalize() shall ask the oracle for intervals of its declared variable coordinates. When the oracle supplies valid enclosures for every requested coordinate, a true result shall set result to an interval enclosing all entry-form affine values at independently admitted coefficient and coordinate choices. A dimension-zero form shall need no coordinate query and shall return its constant interval. The form shall remain unchanged.
If a required oracle query returns false, the method shall return false and shall not claim that result establishes a complete enclosure; no prior result-value preservation shall be promised. Exceptions from the oracle or coefficient operations may propagate. The oracle shall supply initialized intervals and remain valid for the call; overlapping mutation shall follow the operation's numerical/runtime prerequisites. Rational coefficient intervals shall not require native floating-point availability.
-
Incoming link from: 4. Rounding-aware addition linearization1
21. Format-specific relative-error linear form PPL-SPEC-000941 For a form with nonempty bounded supported floating-point intervals, relative_error(format, result) shall preserve the entry dimension and replace result by a form whose coefficient at each coordinate and constant encloses the corresponding magnitude bound multiplied by [ − u, u]. The magnitude bound shall be the maximum absolute value of that entry interval's endpoints. The relative-error unit u shall be 2 − 10, 2 − 23, 2 − 52, 2 − 112 and 2 − 63 for IEEE754_HALF, IEEE754_SINGLE, IEEE754_DOUBLE, IEEE754_QUAD and INTEL_DOUBLE_EXTENDED, respectively. It shall be 2 − 20 for IBM_SINGLE and 2 − 52 for IBM_DOUBLE.
The source shall remain unchanged unless it is also result; in that case the complete result shall still use the source's entry intervals and dimension. This operation shall construct the relative-error component; it shall not alone establish a complete floating-point linearization or supply a separate absolute error term for underflow. All evaluated boundary and interval operations shall satisfy their supported-format, rounding and representability prerequisites.
-
1. Sound polyhedral filtering by interval linear forms PPL-SPEC-001376 For an admitted nonempty receiver, floating-point formats and bounded interval coefficients, linear-form refinement shall retain every receiver state satisfying some coefficient instantiation of the selected comparison, and shall introduce no state outside the receiver. The basic overload shall select less-than or less-or-equal by is_strict; a closed receiver may relax strictness. Generalized refinement shall apply both non-strict filters for equality, reverse operands for greater-than relations, and retain the receiver for disequality. Excess input dimension shall throw std::invalid_argument; an invalid relation enumeration shall throw std::runtime_error. If the form or its normalization overflows the admitted analysis range, refinement may leave the receiver unchanged rather than use an unsound finite coefficient. External forms shall preserve their values.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.
-
2. Sound polyhedral image of interval linear forms PPL-SPEC-001377 For an admitted nonempty receiver and a linear form with bounded interval coefficients in a supported floating-point format, affine-form image shall contain every target state produced by an admitted coefficient instantiation, with other coordinates unchanged in the concrete transition. The result may conservatively lose correlations. It shall preserve dimension and topology. Invalid target or excess form dimension shall throw std::invalid_argument. If the form or normalization overflows the analysis range, returning universe shall be permitted. External forms shall preserve their values. Arithmetic and rounding prerequisites of the selected interval and floating-expression profiles shall apply.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.
-
3. Polyhedral refinement of a floating interval store PPL-SPEC-001378 For a dimension-compatible floating interval box, store refinement shall intersect that store with a sound box enclosure of the receiver. It shall not change the polyhedron, and shall retain every point that belonged to both the entry store and the receiver. Directed conversion and endpoint inclusion shall follow the selected interval-profile contracts; the result need not be the best box enclosure of the intersection. Dimension incompatibility shall follow the box intersection's invalid-argument channel.
The initialization, lifetime, synchronization, coefficient-profile and failure conditions in 🔗 1. Polyhedral values, coefficient profile and valid use shall apply, including intermediate calculations. Unless dimension-changing behavior is specified, ambient dimension and the receiver's closed or NNC topology shall be preserved. Logically const queries may normalize caches while preserving the represented set; borrowed views shall follow 🔗 2. Equivalent borrowed polyhedral descriptions.