Parma Polyhedra Library requirements
C++ affine-form abstract-store operations
  • PPL-LLR-000082
    2. Sound successful floating-point linearization PPL-LLR-000082

    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.

    • PPL-HLR-000004
      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.

  • PPL-LLR-000311
    1. Public C++ access to supported facilities PPL-LLR-000311

    The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 4. Explicit numerical operation contracts PPL-LLR-000442

    Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.

    • PPL-HLR-000011
      11. Sound and explicit numerical guarantees PPL-HLR-000011

      PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

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.

  • PPL-LLR-000082
    2. Sound successful floating-point linearization PPL-LLR-000082

    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.

    • PPL-HLR-000004
      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.

  • PPL-LLR-000311
    1. Public C++ access to supported facilities PPL-LLR-000311

    The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 4. Explicit numerical operation contracts PPL-LLR-000442

    Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.

    • PPL-HLR-000011
      11. Sound and explicit numerical guarantees PPL-HLR-000011

      PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000989
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.

  • PPL-LLR-000082
    2. Sound successful floating-point linearization PPL-LLR-000082

    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.

    • PPL-HLR-000004
      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.

  • PPL-LLR-000311
    1. Public C++ access to supported facilities PPL-LLR-000311

    The public C++ interface shall expose the configured library's supported numerical facilities and their public value types through the documented public headers, preserving the declared numerical meanings and public type contracts of those facilities.

    • PPL-HLR-000007
      7. Access through supported language interfaces PPL-HLR-000007

      PPL shall expose its numerical facilities through its C++ interface and expose selected facilities through the supported C, Java, OCaml and Prolog interfaces. Each interface shall preserve the declared semantics of the facilities it exposes.

  • 4. Explicit numerical operation contracts PPL-LLR-000442

    Each supported numerical operation shall have an explicit contract identifying its concrete meaning, the conditions of its numerical guarantees, and the meaning of its exact, approximate, inconclusive and failure outcomes, as applicable. The contract shall identify its applicable domain, numerical profile and interface contexts; restrictions on availability or precision shall be consistent with the required facility and selected configuration.

    • PPL-HLR-000011
      11. Sound and explicit numerical guarantees PPL-HLR-000011

      PPL shall distinguish exact numerical results, conservative approximations and inconclusive outcomes, and shall make the assumptions and precision guarantees of each numerical operation explicit.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000990
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.