Abstract expression analysis
- PPL-SPEC-000981 Modeled bounded-integer type identity (Specified by)
- PPL-SPEC-000982 Modeled floating-point format identity (Specified by)
- PPL-SPEC-000983 Type-descriptor copying and validity diagnostics (Specified by)
- PPL-SPEC-000984 Target-specific concrete-expression adapter protocol (Specified by)
- PPL-SPEC-000985 Checked-kind concrete adapter access (Specified by)
- PPL-SPEC-001014 Finite floating-format value inclusion (Specified by)
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.
Analyzed machine arithmetic and arithmetic used to represent its abstraction are separate concepts. The modeled integer-width vocabulary includes 128 bits independently of native storage support.
Verification covers modeled numeric-type descriptors and their width, representation and overflow attributes. Related obligations: 🔗 12. Modeled bounded-integer arithmetic and wrapping.
Check that each admitted modeled type retains its defining attributes and that distinct admitted attributes remain distinguishable. Include the 128-bit modeled width on hosts both with and without native 128-bit capability, without inferring additional coefficient or scalar support.
src/Concrete_Expression_defs.hh: modeled numeric type attributes. src/Concrete_Expression_types.hh: concrete expression type vocabulary. src/globals_types.hh: bounded integer widths, representations, overflow interpretations and floating-point formats.
- PPL-SPEC-000984 Target-specific concrete-expression adapter protocol (Specified by)
- PPL-SPEC-000985 Checked-kind concrete adapter access (Specified by)
- PPL-SPEC-000986 Oracle interval and expression-value queries (Specified by)
- PPL-SPEC-000987 Oracle reference-to-coordinate associations (Specified by)
- PPL-SPEC-000991 Target-adapted floating expression evaluation (Specified by)
- PPL-SPEC-000992 Floating constant linearization (Specified by)
- PPL-SPEC-000993 Unary and unsupported operator dispatch (Specified by)
- PPL-SPEC-000994 Rounding-aware addition linearization (Specified by)
- PPL-SPEC-000995 Rounding-aware subtraction linearization (Specified by)
- PPL-SPEC-000996 Interval-scalar multiplication linearization (Specified by)
- PPL-SPEC-000997 Nonzero interval-divisor linearization (Specified by)
- PPL-SPEC-000998 Floating and integer cast linearization (Specified by)
- PPL-SPEC-000999 Reference association and symbolic-store lookup (Specified by)
- PPL-SPEC-001658 Native value membership in modeled floating formats (Specified by)
- PPL-SPEC-001659 Constant affine enclosures closed under destination rounding (Specified by)
- PPL-SPEC-000988 Dependency invalidation (Specified by)
- PPL-SPEC-000989 Affine assignment and dependency invalidation (Specified by)
- PPL-SPEC-000990 Common-binding affine-store join (Specified by)
- PPL-SPEC-001012 Descriptor absolute-error interval (Specified by)
- PPL-SPEC-001013 Enumeration-based cached absolute error (Specified by)
- PPL-SPEC-001014 Finite floating-format value inclusion (Specified by)
- PPL-SPEC-001594 IBM hexadecimal format metadata for expression analysis (Specified by)
- PPL-SPEC-000940 Oracle-based interval enclosure and explicit refusal (Specified by)
- PPL-SPEC-000941 Format-specific relative-error linear form (Specified by)
- PPL-SPEC-001000 Owned floating-expression protocol and lifetime (Specified by)
- PPL-SPEC-001001 Owned constant construction and evaluation (Specified by)
- PPL-SPEC-001002 Owned variable lookup and symbolic fallback (Specified by)
- PPL-SPEC-001003 Owned exact opposite (Specified by)
- PPL-SPEC-001004 Owned rounding cast (Specified by)
- PPL-SPEC-001005 Owned floating sum (Specified by)
- PPL-SPEC-001006 Owned floating difference (Specified by)
- PPL-SPEC-001007 Owned floating multiplication (Specified by)
- PPL-SPEC-001008 Owned floating division (Specified by)
- PPL-SPEC-001010 Descriptor-based relative rounding error (Specified by)
- PPL-SPEC-001011 Box-based affine intervalization (Specified by)
- PPL-SPEC-001015 Owned-variable symbolic assignment (Specified by)
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.
A real-arithmetic algebraic transformation alone is insufficient to approximate machine floating-point evaluation.
Verification covers floating-point expression linearization and its abstract-store preconditions. Related obligations: 🔗 6. Sound affine forward and backward transfers, 🔗 1. Meaning of successful exact and approximate results.
Compare enclosures with independently evaluated concrete expressions over finite operand sets and independently derived error bounds. Include cancellation, changes of analyzed format and expressions whose exact real result differs from their floating-point result.
Mine04 | whole work (background) Mine05th | whole work (background)
doc/definitions.dox: Analysis of Floating Point Computations; Linear Forms with Interval Coefficients. src/Floating_Point_Expression_defs.hh: successful linearization meaning. src/linearize.hh: expression linearization.
- PPL-SPEC-000986 Oracle interval and expression-value queries (Specified by)
- PPL-SPEC-000987 Oracle reference-to-coordinate associations (Specified by)
- PPL-SPEC-000991 Target-adapted floating expression evaluation (Specified by)
- PPL-SPEC-000992 Floating constant linearization (Specified by)
- PPL-SPEC-000993 Unary and unsupported operator dispatch (Specified by)
- PPL-SPEC-000994 Rounding-aware addition linearization (Specified by)
- PPL-SPEC-000995 Rounding-aware subtraction linearization (Specified by)
- PPL-SPEC-000996 Interval-scalar multiplication linearization (Specified by)
- PPL-SPEC-000997 Nonzero interval-divisor linearization (Specified by)
- PPL-SPEC-000998 Floating and integer cast linearization (Specified by)
- PPL-SPEC-000999 Reference association and symbolic-store lookup (Specified by)
- PPL-SPEC-001012 Descriptor absolute-error interval (Specified by)
- PPL-SPEC-001013 Enumeration-based cached absolute error (Specified by)
- PPL-SPEC-001594 IBM hexadecimal format metadata for expression analysis (Specified by)
- PPL-SPEC-000940 Oracle-based interval enclosure and explicit refusal (Specified by)
- PPL-SPEC-001000 Owned floating-expression protocol and lifetime (Specified by)
- PPL-SPEC-001001 Owned constant construction and evaluation (Specified by)
- PPL-SPEC-001002 Owned variable lookup and symbolic fallback (Specified by)
- PPL-SPEC-001003 Owned exact opposite (Specified by)
- PPL-SPEC-001004 Owned rounding cast (Specified by)
- PPL-SPEC-001005 Owned floating sum (Specified by)
- PPL-SPEC-001006 Owned floating difference (Specified by)
- PPL-SPEC-001007 Owned floating multiplication (Specified by)
- PPL-SPEC-001008 Owned floating division (Specified by)
- PPL-SPEC-001010 Descriptor-based relative rounding error (Specified by)
- PPL-SPEC-001011 Box-based affine intervalization (Specified by)
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.
Some valid concrete expressions cannot be enclosed by the selected finite linear form, including cases involving overflowing bounds or division intervals that contain zero.
Verification covers expression-approximation success and failure outcomes. Related obligations: 🔗 1. Meaning of successful exact and approximate results.
Exercise valid cases where a finite sound linearization is unavailable, including documented bound-overflow and division cases. Check the failure classification independently and ensure failed outputs are not interpreted as established enclosures.
doc/definitions.dox: Linear Forms with Interval Coefficients, linearization failure conditions. src/Floating_Point_Expression_defs.hh: linearization success and failure. src/Division_Floating_Point_Expression_templates.hh: division approximation. src/linearize.hh: failure propagation.
- PPL-SPEC-000921 Interval-linear-form meaning and numerical prerequisites (Specified by)
- PPL-SPEC-000922 Zero and interval-constant construction (Specified by)
- PPL-SPEC-000923 Variable and variable-difference construction (Specified by)
- PPL-SPEC-000924 Conversion from integral affine expressions (Specified by)
- PPL-SPEC-000925 Independent copying, assignment and owned lifetimes (Specified by)
- PPL-SPEC-000926 Dimensions and borrowed coefficient access (Specified by)
- PPL-SPEC-000927 Unary copying and coefficient-wise negation (Specified by)
- PPL-SPEC-000928 Addition of interval linear forms (Specified by)
- PPL-SPEC-000929 Subtraction of interval linear forms (Specified by)
- PPL-SPEC-000930 Variable addition, subtraction and dimension extension (Specified by)
- PPL-SPEC-000931 Interval scalar translation and reflected subtraction (Specified by)
- PPL-SPEC-000932 Interval scalar multiplication (Specified by)
- PPL-SPEC-000933 Division by an admitted nonzero interval scalar (Specified by)
- PPL-SPEC-000934 Coefficient equality with implicit trailing zeros (Specified by)
- PPL-SPEC-000935 Ownership-preserving swap (Specified by)
- PPL-SPEC-000936 Coefficient integrity and finite-bound classification (Specified by)
- PPL-SPEC-000937 Reloadable interval-coefficient ASCII representation (Specified by)
- PPL-SPEC-000938 Human-readable affine composition (Specified by)
- PPL-SPEC-000939 Owned vector and interval memory accounting (Specified by)
- PPL-SPEC-000940 Oracle-based interval enclosure and explicit refusal (Specified by)
- PPL-SPEC-000941 Format-specific relative-error linear form (Specified by)
- PPL-SPEC-001376 Sound polyhedral filtering by interval linear forms (Specified by)
- PPL-SPEC-001377 Sound polyhedral image of interval linear forms (Specified by)
- PPL-SPEC-001378 Polyhedral refinement of a floating interval store (Specified by)
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.
Expression abstraction composes interval operations; its algebra must preserve enclosure even before modeled floating-point rounding error is added.
Verification covers interval-linear-form arithmetic and its enclosure guarantees. Related obligations: 🔗 3. Sound interval arithmetic, 🔗 1. Meaning of successful exact and approximate results.
Derive coefficient intervals independently using exact rational arithmetic and compare form evaluation over selected variable valuations. Include negative scalars, uncertain signs, inexact coefficient arithmetic and admissible division ranges.
Mine04 | whole work (background) Mine05th | whole work (background)
doc/definitions.dox: Linear Forms with Interval Coefficients. src/Linear_Form_defs.hh: algebraic operations on linear forms. src/Linear_Form_templates.hh: coefficient-wise interval calculations.