-
7. Access through supported language interfaces UID: PPL-HLR-000007 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000213 Configured binding domain selection (Refined by)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Refined by)
- PPL-LLR-000215 Consistent binding type dependencies (Refined by)
- PPL-LLR-000439 Binding interruption support and state changes (Refined by)
- PPL-LLR-000201 Explicit C library lifecycle (Refined by)
- PPL-LLR-000202 C object ownership and borrowed access (Refined by)
- PPL-LLR-000203 C boundary error reporting (Refined by)
- PPL-LLR-000311 Public C++ access to supported facilities (Refined by)
- PPL-LLR-000312 Independent values after copying domain objects (Refined by)
- PPL-LLR-000204 Java coefficient value preservation (Refined by)
- PPL-LLR-000205 Java library lifecycle (Refined by)
- PPL-LLR-000206 Java boundary exception translation (Refined by)
- PPL-LLR-000436 Java native object ownership (Refined by)
- PPL-LLR-000207 OCaml numerical term conversion (Refined by)
- PPL-LLR-000208 OCaml native object reclamation (Refined by)
- PPL-LLR-000209 OCaml boundary error translation (Refined by)
- PPL-LLR-000210 Prolog mathematical term interpretation (Refined by)
- PPL-LLR-000211 Prolog predicate outcomes (Refined by)
- PPL-LLR-000212 Prolog object lifetime operations (Refined by)
- PPL-LLR-000437 Prolog library lifecycle (Refined by)
STATEMENT: 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.
RATIONALE: Language-specific representations and error mechanisms must not silently change the numerical meaning of an exposed facility.
VERIFICATION_CRITERIA: Review the supported facility set for each interface and compare equivalent computations across enabled interfaces, including value conversion, object lifetime and error reporting.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: doc/definitions.dox: PPL_CXX_interface; interfaces/Makefile.am; interfaces/C/C_interface.dox; interfaces/Java/README.java.md; interfaces/OCaml/OCaml_interface.dox; interfaces/Prolog/Prolog_interface.dox.
The binding-generation infrastructure shall restrict numerical-domain instantiations in non-C++ language interfaces to those selected by configuration. Selecting no domain instantiations shall retain the selected interface's domain-independent facilities without exposing unselected domain instantiations.
Non-template language interfaces require a finite selected set of numerical abstractions, independently of the facilities available to C++ clients.
Verification covers selected instantiation inputs and the generated facility set. Generated-interface comparisons and configuration inspection verify inclusion and exclusion. Direct review records the exercised selections. Non-C++ interfaces need not expose every operation available to C++ clients; shared result semantics are governed by 🔗 2. Mathematical consistency of corresponding binding operations.
Generated interfaces for a restricted selection contain the selected domain families and omit unselected ones; a selection without numerical-domain instantiations retains basic interface facilities; the C++ template interface is not restricted by this selection.
README.configure.md, Configuring the Language Interfaces; configure.ac, available and selected interface instantiations; interfaces/ppl_interface_generator_common.m4; interfaces/Makefile.am.
-
12. C selected domains and generated dependencies UID: PPL-SPEC-001565 STATUS: APPROVED COMPONENT: BINDING_INFRASTRUCTURE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: The configured domain selection shall determine generated C declarations and implementations consistently. Core descriptor, optimizer and lifecycle objects shall remain available with no numerical-domain instantiations. An exposed operation shall have its required argument and result types. C all-ranking functions shall be generated only when the required polyhedron output type is selected; one-witness and decision families shall retain their supported selection policy. Generation shall preserve the declared native-domain and C-handle correspondence and installed declarations shall match the linked definitions.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A generated function is unusable when its result type or implementation is missing.
INTERFACE: Public header: <ppl_c.h>.
/* Configuration input: --enable-interfaces=c and --enable-instantiations=D1@D2@... or none. */VERIFICATION_CRITERIA: Generate representative default, reduced and no-domain selections; compile supported declarations, check expected omissions and verify matching exported symbols and C18 clients.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_files.m4; interfaces/C/ppl_c_implementation_common_defs.hh (C handle/native type correspondence); interfaces/C/tests/ccontractsspec1.cc.
-
7. Access through supported language interfaces UID: PPL-HLR-000007 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000213 Configured binding domain selection (Refined by)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Refined by)
- PPL-LLR-000215 Consistent binding type dependencies (Refined by)
- PPL-LLR-000439 Binding interruption support and state changes (Refined by)
- PPL-LLR-000201 Explicit C library lifecycle (Refined by)
- PPL-LLR-000202 C object ownership and borrowed access (Refined by)
- PPL-LLR-000203 C boundary error reporting (Refined by)
- PPL-LLR-000311 Public C++ access to supported facilities (Refined by)
- PPL-LLR-000312 Independent values after copying domain objects (Refined by)
- PPL-LLR-000204 Java coefficient value preservation (Refined by)
- PPL-LLR-000205 Java library lifecycle (Refined by)
- PPL-LLR-000206 Java boundary exception translation (Refined by)
- PPL-LLR-000436 Java native object ownership (Refined by)
- PPL-LLR-000207 OCaml numerical term conversion (Refined by)
- PPL-LLR-000208 OCaml native object reclamation (Refined by)
- PPL-LLR-000209 OCaml boundary error translation (Refined by)
- PPL-LLR-000210 Prolog mathematical term interpretation (Refined by)
- PPL-LLR-000211 Prolog predicate outcomes (Refined by)
- PPL-LLR-000212 Prolog object lifetime operations (Refined by)
- PPL-LLR-000437 Prolog library lifecycle (Refined by)
STATEMENT: 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.
RATIONALE: Language-specific representations and error mechanisms must not silently change the numerical meaning of an exposed facility.
VERIFICATION_CRITERIA: Review the supported facility set for each interface and compare equivalent computations across enabled interfaces, including value conversion, object lifetime and error reporting.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: doc/definitions.dox: PPL_CXX_interface; interfaces/Makefile.am; interfaces/C/C_interface.dox; interfaces/Java/README.java.md; interfaces/OCaml/OCaml_interface.dox; interfaces/Prolog/Prolog_interface.dox.
- PPL-SPEC-001554 C generated domain values and conversions (Specified by)
- PPL-SPEC-001555 C generated domain observations (Specified by)
- PPL-SPEC-001556 C generated system extraction ownership (Specified by)
- PPL-SPEC-001557 C generated domain transformations (Specified by)
- PPL-SPEC-001558 C generated affine transformations (Specified by)
- PPL-SPEC-001559 C generated dimension arrays and maps (Specified by)
- PPL-SPEC-001560 C generated convergence operations (Specified by)
- PPL-SPEC-001561 C finite-disjunction ownership and traversal (Specified by)
- PPL-SPEC-001562 C partition result ownership (Specified by)
- PPL-SPEC-001563 C affine-ranking outcomes and coefficient spaces (Specified by)
- PPL-SPEC-001564 C bounded integer wrapping (Specified by)
- PPL-SPEC-001539 C mixed integer problem values (Specified by)
- PPL-SPEC-001540 C mixed integer descriptors and borrowing (Specified by)
- PPL-SPEC-001541 C mixed integer incremental updates (Specified by)
- PPL-SPEC-001542 C mixed integer solution outcomes and witnesses (Specified by)
- PPL-SPEC-001543 C mixed integer controls, validity and memory (Specified by)
- PPL-SPEC-001522 C reloadable FILE representations (Specified by)
- PPL-SPEC-001544 C parametric problem values and ownership (Specified by)
- PPL-SPEC-001545 C parametric descriptors and parameter lists (Specified by)
- PPL-SPEC-001546 C parametric incremental updates (Specified by)
- PPL-SPEC-001547 C parametric outcomes and borrowed solution trees (Specified by)
- PPL-SPEC-001548 C parametric controls, big parameter and memory (Specified by)
- PPL-SPEC-001549 C solution-tree kind, guards, children and values (Specified by)
- PPL-SPEC-001550 C artificial-parameter expression and coefficient queries (Specified by)
- PPL-SPEC-001551 C artificial-parameter sequence traversal (Specified by)
- PPL-SPEC-001517 C version, dimensions and published constants (Specified by)
- PPL-SPEC-001518 C rounding and irrational precision controls (Specified by)
- PPL-SPEC-001534 C constraint systems (Specified by)
- PPL-SPEC-001535 C generator systems (Specified by)
- PPL-SPEC-001536 C congruence systems (Specified by)
- PPL-SPEC-001537 C grid generator systems (Specified by)
- PPL-SPEC-001538 C descriptor-system iterator lifetimes (Specified by)
- PPL-SPEC-001514 C handles, arguments and successful outcomes (Specified by)
- PPL-SPEC-001523 C coefficient ownership, conversion and bounds (Specified by)
- PPL-SPEC-001524 C affine expression values and updates (Specified by)
- PPL-SPEC-001525 C affine expression queries (Specified by)
- PPL-SPEC-001526 C linear constraint values (Specified by)
- PPL-SPEC-001527 C linear constraint queries (Specified by)
- PPL-SPEC-001528 C polyhedral generator values (Specified by)
- PPL-SPEC-001529 C polyhedral generator queries (Specified by)
- PPL-SPEC-001530 C rational congruence values (Specified by)
- PPL-SPEC-001531 C rational congruence queries (Specified by)
- PPL-SPEC-001532 C grid generator values (Specified by)
- PPL-SPEC-001533 C grid generator queries (Specified by)
- PPL-SPEC-001688 Java integral coefficient exchange (Specified by)
- PPL-SPEC-001728 Java mathematical representations and operation options (Specified by)
- PPL-SPEC-001729 Java dimension limits and exact native counts (Specified by)
- PPL-SPEC-001730 Native Java floating-point environment lifetime (Specified by)
- PPL-SPEC-001692 OCaml mathematical representation exchange (Specified by)
- PPL-SPEC-001731 OCaml operation-option correspondence (Specified by)
- PPL-SPEC-001695 Prolog mathematical term exchange (Specified by)
- PPL-SPEC-001732 Prolog operation-option correspondence (Specified by)
For every supported facility exposed by a configured non-C++ language interface, conversion of inputs and operation parameters and production of returned results shall preserve the corresponding native facility's declared mathematical semantics, including its exactness, approximation and inconclusiveness guarantees.
A language interface must not silently change the numerical abstraction or the meaning of a requested operation.
Verification covers conversion and forwarding contracts across every facility actually exposed by each selected binding. Cross-interface mathematical checks and native-wrapper inspection verify exact results, permitted witnesses, approximation guarantees and inconclusive outcomes. Textual formatting, host object identity and representation order need not match. 🔗 1. Configured binding domain selection and 🔗 3. Consistent binding type dependencies own selection and generation dependencies; unavailable facilities are outside this scope.
Compare equivalent representable inputs and operation parameters across the selected interfaces for every exposed facility family, including domains, descriptors, optimization solvers and ranking analysis where provided. Check equal mathematical values or represented sets where exactness is promised, valid witnesses where witness selection is not unique, and the declared soundness or inconclusiveness relation otherwise. Review operation-parameter forwarding and supported-facility exclusions.
README.configure.md, Configuring the Language Interfaces; interfaces/ppl_interface_generator_common.m4; interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/Java/jni/ppl_interface_generator_java_classes_cc_code.m4; interfaces/OCaml/ppl_interface_generator_ocaml_cc_code.m4; interfaces/Prolog/ppl_interface_generator_prolog_cc_code.m4.
-
1. C generated domain values and conversions UID: PPL-SPEC-001554 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000420 Sound conversion between numerical abstractions (Specifies)
STATEMENT: Domain constructors, copying, assignment, exchange, deletion and recycling shall preserve the corresponding native domain values, topology and complexity-policy guarantees. Each successful new result shall be independently owned. Borrowed inputs shall obey their documented lifetime and mutation restrictions. Failure cleanup shall not leak partially acquired owned results.
Complexity-taking constructors shall accept the public polynomial, simplex and any-complexity selectors. An unrecognized selector shall report PPL_ERROR_INVALID_ARGUMENT without constructing a result or changing the output handle.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_delete_Polyhedron(ppl_const_Polyhedron_t ph); int ppl_new_C_Polyhedron_from_space_dimension(ppl_Polyhedron_t *pph, ppl_dimension_type d, int empty); int ppl_new_NNC_Polyhedron_from_space_dimension(ppl_Polyhedron_t *pph, ppl_dimension_type d, int empty); int ppl_new_C_Polyhedron_from_C_Polyhedron(ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_NNC_Polyhedron_from_C_Polyhedron(ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_C_Polyhedron_from_NNC_Polyhedron(ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_NNC_Polyhedron_from_NNC_Polyhedron(ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_C_Polyhedron_from_Grid(ppl_Polyhedron_t *pph, ppl_const_Grid_t ph); int ppl_new_NNC_Polyhedron_from_Grid(ppl_Polyhedron_t *pph, ppl_const_Grid_t ph); int ppl_new_C_Polyhedron_from_Rational_Box(ppl_Polyhedron_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_NNC_Polyhedron_from_Rational_Box(ppl_Polyhedron_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_C_Polyhedron_from_BD_Shape_mpz_class( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_NNC_Polyhedron_from_BD_Shape_mpz_class( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_C_Polyhedron_from_BD_Shape_mpq_class( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_NNC_Polyhedron_from_BD_Shape_mpq_class( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_C_Polyhedron_from_Octagonal_Shape_mpz_class( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_mpz_class( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_C_Polyhedron_from_Octagonal_Shape_mpq_class( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_mpq_class( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_C_Polyhedron_from_Double_Box(ppl_Polyhedron_t *pph, ppl_const_Double_Box_t ph); int ppl_new_NNC_Polyhedron_from_Double_Box(ppl_Polyhedron_t *pph, ppl_const_Double_Box_t ph); int ppl_new_C_Polyhedron_from_BD_Shape_double(ppl_Polyhedron_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_NNC_Polyhedron_from_BD_Shape_double(ppl_Polyhedron_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_C_Polyhedron_from_Octagonal_Shape_double( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_double( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_C_Polyhedron_from_C_Polyhedron_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_C_Polyhedron_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_C_Polyhedron_from_NNC_Polyhedron_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_NNC_Polyhedron_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_C_Polyhedron_from_Grid_with_complexity(ppl_Polyhedron_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Grid_with_complexity(ppl_Polyhedron_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_C_Polyhedron_from_Rational_Box_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Rational_Box_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_C_Polyhedron_from_BD_Shape_mpz_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_BD_Shape_mpz_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_C_Polyhedron_from_BD_Shape_mpq_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_BD_Shape_mpq_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_C_Polyhedron_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_C_Polyhedron_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_C_Polyhedron_from_Double_Box_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Double_Box_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_C_Polyhedron_from_BD_Shape_double_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_BD_Shape_double_with_complexity( ppl_Polyhedron_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_C_Polyhedron_from_Octagonal_Shape_double_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_NNC_Polyhedron_from_Octagonal_Shape_double_with_complexity( ppl_Polyhedron_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_C_Polyhedron_from_Constraint_System( ppl_Polyhedron_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_NNC_Polyhedron_from_Constraint_System( ppl_Polyhedron_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_C_Polyhedron_from_Congruence_System( ppl_Polyhedron_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_NNC_Polyhedron_from_Congruence_System( ppl_Polyhedron_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_C_Polyhedron_from_Generator_System(ppl_Polyhedron_t *pph, ppl_const_Generator_System_t cs); int ppl_new_NNC_Polyhedron_from_Generator_System( ppl_Polyhedron_t *pph, ppl_const_Generator_System_t cs); int ppl_new_C_Polyhedron_recycle_Constraint_System(ppl_Polyhedron_t *pph, ppl_Constraint_System_t cs); int ppl_new_NNC_Polyhedron_recycle_Constraint_System( ppl_Polyhedron_t *pph, ppl_Constraint_System_t cs); int ppl_new_C_Polyhedron_recycle_Congruence_System(ppl_Polyhedron_t *pph, ppl_Congruence_System_t cs); int ppl_new_NNC_Polyhedron_recycle_Congruence_System( ppl_Polyhedron_t *pph, ppl_Congruence_System_t cs); int ppl_new_C_Polyhedron_recycle_Generator_System(ppl_Polyhedron_t *pph, ppl_Generator_System_t cs); int ppl_new_NNC_Polyhedron_recycle_Generator_System(ppl_Polyhedron_t *pph, ppl_Generator_System_t cs); int ppl_assign_C_Polyhedron_from_C_Polyhedron(ppl_Polyhedron_t dst, ppl_const_Polyhedron_t src); int ppl_assign_NNC_Polyhedron_from_NNC_Polyhedron(ppl_Polyhedron_t dst, ppl_const_Polyhedron_t src); int ppl_delete_Grid(ppl_const_Grid_t ph); int ppl_new_Grid_from_space_dimension(ppl_Grid_t *pph, ppl_dimension_type d, int empty); int ppl_new_Grid_from_C_Polyhedron(ppl_Grid_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Grid_from_NNC_Polyhedron(ppl_Grid_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Grid_from_Grid(ppl_Grid_t *pph, ppl_const_Grid_t ph); int ppl_new_Grid_from_Rational_Box(ppl_Grid_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Grid_from_BD_Shape_mpz_class(ppl_Grid_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Grid_from_BD_Shape_mpq_class(ppl_Grid_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Grid_from_Octagonal_Shape_mpz_class( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Grid_from_Octagonal_Shape_mpq_class( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Grid_from_Double_Box(ppl_Grid_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Grid_from_BD_Shape_double(ppl_Grid_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Grid_from_Octagonal_Shape_double( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Grid_from_C_Polyhedron_with_complexity(ppl_Grid_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Grid_from_NNC_Polyhedron_with_complexity(ppl_Grid_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Grid_from_Grid_with_complexity(ppl_Grid_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Grid_from_Rational_Box_with_complexity(ppl_Grid_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Grid_from_BD_Shape_mpz_class_with_complexity( ppl_Grid_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Grid_from_BD_Shape_mpq_class_with_complexity( ppl_Grid_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Grid_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Grid_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Grid_from_Double_Box_with_complexity(ppl_Grid_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Grid_from_BD_Shape_double_with_complexity( ppl_Grid_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Grid_from_Octagonal_Shape_double_with_complexity( ppl_Grid_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Grid_from_Constraint_System(ppl_Grid_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Grid_from_Congruence_System(ppl_Grid_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Grid_recycle_Constraint_System(ppl_Grid_t *pph, ppl_Constraint_System_t cs); int ppl_new_Grid_recycle_Congruence_System(ppl_Grid_t *pph, ppl_Congruence_System_t cs); int ppl_assign_Grid_from_Grid(ppl_Grid_t dst, ppl_const_Grid_t src); int ppl_delete_Rational_Box(ppl_const_Rational_Box_t ph); int ppl_new_Rational_Box_from_space_dimension(ppl_Rational_Box_t *pph, ppl_dimension_type d, int empty); int ppl_new_Rational_Box_from_C_Polyhedron(ppl_Rational_Box_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Rational_Box_from_NNC_Polyhedron(ppl_Rational_Box_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Rational_Box_from_Grid(ppl_Rational_Box_t *pph, ppl_const_Grid_t ph); int ppl_new_Rational_Box_from_Rational_Box(ppl_Rational_Box_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Rational_Box_from_BD_Shape_mpz_class( ppl_Rational_Box_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Rational_Box_from_BD_Shape_mpq_class( ppl_Rational_Box_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Rational_Box_from_Octagonal_Shape_mpz_class( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Rational_Box_from_Octagonal_Shape_mpq_class( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Rational_Box_from_Double_Box(ppl_Rational_Box_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Rational_Box_from_BD_Shape_double(ppl_Rational_Box_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Rational_Box_from_Octagonal_Shape_double( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Rational_Box_from_C_Polyhedron_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Rational_Box_from_NNC_Polyhedron_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Rational_Box_from_Grid_with_complexity(ppl_Rational_Box_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Rational_Box_from_Rational_Box_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Rational_Box_from_BD_Shape_mpz_class_with_complexity( ppl_Rational_Box_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Rational_Box_from_BD_Shape_mpq_class_with_complexity( ppl_Rational_Box_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Rational_Box_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Rational_Box_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Rational_Box_from_Double_Box_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Rational_Box_from_BD_Shape_double_with_complexity( ppl_Rational_Box_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Rational_Box_from_Octagonal_Shape_double_with_complexity( ppl_Rational_Box_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Rational_Box_from_Constraint_System( ppl_Rational_Box_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Rational_Box_from_Congruence_System( ppl_Rational_Box_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Rational_Box_from_Generator_System(ppl_Rational_Box_t *pph, ppl_const_Generator_System_t cs); int ppl_new_Rational_Box_recycle_Constraint_System(ppl_Rational_Box_t *pph, ppl_Constraint_System_t cs); int ppl_new_Rational_Box_recycle_Congruence_System(ppl_Rational_Box_t *pph, ppl_Congruence_System_t cs); int ppl_new_Rational_Box_recycle_Generator_System(ppl_Rational_Box_t *pph, ppl_Generator_System_t cs); int ppl_assign_Rational_Box_from_Rational_Box(ppl_Rational_Box_t dst, ppl_const_Rational_Box_t src); int ppl_delete_BD_Shape_mpz_class(ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_BD_Shape_mpz_class_from_space_dimension( ppl_BD_Shape_mpz_class_t *pph, ppl_dimension_type d, int empty); int ppl_new_BD_Shape_mpz_class_from_C_Polyhedron(ppl_BD_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_mpz_class_from_NNC_Polyhedron( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_mpz_class_from_Grid(ppl_BD_Shape_mpz_class_t *pph, ppl_const_Grid_t ph); int ppl_new_BD_Shape_mpz_class_from_Rational_Box(ppl_BD_Shape_mpz_class_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_mpz_class( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_mpq_class( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_mpz_class( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_mpq_class( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_BD_Shape_mpz_class_from_Double_Box(ppl_BD_Shape_mpz_class_t *pph, ppl_const_Double_Box_t ph); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_double( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_double( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_BD_Shape_mpz_class_from_C_Polyhedron_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_NNC_Polyhedron_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Grid_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Rational_Box_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_mpz_class_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_mpq_class_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_mpz_class_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_mpq_class_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Double_Box_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_BD_Shape_double_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Octagonal_Shape_double_with_complexity( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_mpz_class_from_Constraint_System( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_BD_Shape_mpz_class_from_Congruence_System( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_BD_Shape_mpz_class_from_Generator_System( ppl_BD_Shape_mpz_class_t *pph, ppl_const_Generator_System_t cs); int ppl_new_BD_Shape_mpz_class_recycle_Constraint_System( ppl_BD_Shape_mpz_class_t *pph, ppl_Constraint_System_t cs); int ppl_new_BD_Shape_mpz_class_recycle_Congruence_System( ppl_BD_Shape_mpz_class_t *pph, ppl_Congruence_System_t cs); int ppl_new_BD_Shape_mpz_class_recycle_Generator_System( ppl_BD_Shape_mpz_class_t *pph, ppl_Generator_System_t cs); int ppl_assign_BD_Shape_mpz_class_from_BD_Shape_mpz_class( ppl_BD_Shape_mpz_class_t dst, ppl_const_BD_Shape_mpz_class_t src); int ppl_delete_BD_Shape_mpq_class(ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_BD_Shape_mpq_class_from_space_dimension( ppl_BD_Shape_mpq_class_t *pph, ppl_dimension_type d, int empty); int ppl_new_BD_Shape_mpq_class_from_C_Polyhedron(ppl_BD_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_mpq_class_from_NNC_Polyhedron( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_mpq_class_from_Grid(ppl_BD_Shape_mpq_class_t *pph, ppl_const_Grid_t ph); int ppl_new_BD_Shape_mpq_class_from_Rational_Box(ppl_BD_Shape_mpq_class_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_mpz_class( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_mpq_class( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_mpz_class( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_mpq_class( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_BD_Shape_mpq_class_from_Double_Box(ppl_BD_Shape_mpq_class_t *pph, ppl_const_Double_Box_t ph); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_double( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_double( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_BD_Shape_mpq_class_from_C_Polyhedron_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_NNC_Polyhedron_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Grid_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Rational_Box_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_mpz_class_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_mpq_class_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_mpz_class_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_mpq_class_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Double_Box_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_BD_Shape_double_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Octagonal_Shape_double_with_complexity( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_mpq_class_from_Constraint_System( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_BD_Shape_mpq_class_from_Congruence_System( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_BD_Shape_mpq_class_from_Generator_System( ppl_BD_Shape_mpq_class_t *pph, ppl_const_Generator_System_t cs); int ppl_new_BD_Shape_mpq_class_recycle_Constraint_System( ppl_BD_Shape_mpq_class_t *pph, ppl_Constraint_System_t cs); int ppl_new_BD_Shape_mpq_class_recycle_Congruence_System( ppl_BD_Shape_mpq_class_t *pph, ppl_Congruence_System_t cs); int ppl_new_BD_Shape_mpq_class_recycle_Generator_System( ppl_BD_Shape_mpq_class_t *pph, ppl_Generator_System_t cs); int ppl_assign_BD_Shape_mpq_class_from_BD_Shape_mpq_class( ppl_BD_Shape_mpq_class_t dst, ppl_const_BD_Shape_mpq_class_t src); int ppl_delete_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_space_dimension( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_dimension_type d, int empty); int ppl_new_Octagonal_Shape_mpz_class_from_C_Polyhedron( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_NNC_Polyhedron( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Grid( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Grid_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Rational_Box( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_mpz_class( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_mpq_class( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_mpz_class( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_mpq_class( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Double_Box( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_double( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_double( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Octagonal_Shape_mpz_class_from_C_Polyhedron_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_NNC_Polyhedron_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Grid_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Rational_Box_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Double_Box_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_BD_Shape_double_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Octagonal_Shape_double_with_complexity( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_mpz_class_from_Constraint_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Octagonal_Shape_mpz_class_from_Congruence_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Octagonal_Shape_mpz_class_from_Generator_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_const_Generator_System_t cs); int ppl_new_Octagonal_Shape_mpz_class_recycle_Constraint_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_Constraint_System_t cs); int ppl_new_Octagonal_Shape_mpz_class_recycle_Congruence_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_Congruence_System_t cs); int ppl_new_Octagonal_Shape_mpz_class_recycle_Generator_System( ppl_Octagonal_Shape_mpz_class_t *pph, ppl_Generator_System_t cs); int ppl_assign_Octagonal_Shape_mpz_class_from_Octagonal_Shape_mpz_class( ppl_Octagonal_Shape_mpz_class_t dst, ppl_const_Octagonal_Shape_mpz_class_t src); int ppl_delete_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_space_dimension( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_dimension_type d, int empty); int ppl_new_Octagonal_Shape_mpq_class_from_C_Polyhedron( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_NNC_Polyhedron( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Grid( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Grid_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Rational_Box( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_mpz_class( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_mpq_class( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_mpz_class( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_mpq_class( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Double_Box( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_double( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_double( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Octagonal_Shape_mpq_class_from_C_Polyhedron_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_NNC_Polyhedron_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Grid_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Rational_Box_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Double_Box_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_BD_Shape_double_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Octagonal_Shape_double_with_complexity( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_mpq_class_from_Constraint_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Octagonal_Shape_mpq_class_from_Congruence_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Octagonal_Shape_mpq_class_from_Generator_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_const_Generator_System_t cs); int ppl_new_Octagonal_Shape_mpq_class_recycle_Constraint_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_Constraint_System_t cs); int ppl_new_Octagonal_Shape_mpq_class_recycle_Congruence_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_Congruence_System_t cs); int ppl_new_Octagonal_Shape_mpq_class_recycle_Generator_System( ppl_Octagonal_Shape_mpq_class_t *pph, ppl_Generator_System_t cs); int ppl_assign_Octagonal_Shape_mpq_class_from_Octagonal_Shape_mpq_class( ppl_Octagonal_Shape_mpq_class_t dst, ppl_const_Octagonal_Shape_mpq_class_t src); int ppl_delete_Constraints_Product_C_Polyhedron_Grid( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_space_dimension( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_dimension_type d, int empty); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_C_Polyhedron( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_NNC_Polyhedron( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Grid( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Grid_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Rational_Box( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_mpz_class( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_mpq_class( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_mpz_class( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_mpq_class( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Double_Box( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_double( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_double( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Constraints_Product_C_Polyhedron_Grid( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_C_Polyhedron_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_NNC_Polyhedron_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Grid_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Rational_Box_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_mpz_class_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_mpq_class_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Double_Box_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_BD_Shape_double_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Octagonal_Shape_double_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Constraints_Product_C_Polyhedron_Grid_with_complexity( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, int complexity); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Constraint_System( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Constraints_Product_C_Polyhedron_Grid_from_Congruence_System( ppl_Constraints_Product_C_Polyhedron_Grid_t *pph, ppl_const_Congruence_System_t cs); int ppl_delete_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_new_Pointset_Powerset_C_Polyhedron_from_space_dimension( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_dimension_type d, int empty); int ppl_new_Pointset_Powerset_C_Polyhedron_from_Pointset_Powerset_C_Polyhedron( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_new_Pointset_Powerset_C_Polyhedron_from_C_Polyhedron( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Pointset_Powerset_C_Polyhedron_from_Pointset_Powerset_C_Polyhedron_with_complexity( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Pointset_Powerset_C_Polyhedron_t ph, int complexity); int ppl_new_Pointset_Powerset_C_Polyhedron_from_C_Polyhedron_with_complexity( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Pointset_Powerset_C_Polyhedron_from_Constraint_System( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Pointset_Powerset_C_Polyhedron_from_Congruence_System( ppl_Pointset_Powerset_C_Polyhedron_t *pph, ppl_const_Congruence_System_t cs); int ppl_delete_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_space_dimension( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_dimension_type d, int empty); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_Pointset_Powerset_NNC_Polyhedron( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_NNC_Polyhedron( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_Pointset_Powerset_NNC_Polyhedron_with_complexity( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, int complexity); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_NNC_Polyhedron_with_complexity( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_Constraint_System( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Pointset_Powerset_NNC_Polyhedron_from_Congruence_System( ppl_Pointset_Powerset_NNC_Polyhedron_t *pph, ppl_const_Congruence_System_t cs); int ppl_delete_Double_Box(ppl_const_Double_Box_t ph); int ppl_new_Double_Box_from_space_dimension(ppl_Double_Box_t *pph, ppl_dimension_type d, int empty); int ppl_new_Double_Box_from_C_Polyhedron(ppl_Double_Box_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Double_Box_from_NNC_Polyhedron(ppl_Double_Box_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Double_Box_from_Grid(ppl_Double_Box_t *pph, ppl_const_Grid_t ph); int ppl_new_Double_Box_from_Rational_Box(ppl_Double_Box_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Double_Box_from_BD_Shape_mpz_class( ppl_Double_Box_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Double_Box_from_BD_Shape_mpq_class( ppl_Double_Box_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Double_Box_from_Octagonal_Shape_mpz_class( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Double_Box_from_Octagonal_Shape_mpq_class( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Double_Box_from_Double_Box(ppl_Double_Box_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Double_Box_from_BD_Shape_double(ppl_Double_Box_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Double_Box_from_Octagonal_Shape_double( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Double_Box_from_C_Polyhedron_with_complexity( ppl_Double_Box_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Double_Box_from_NNC_Polyhedron_with_complexity( ppl_Double_Box_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Double_Box_from_Grid_with_complexity(ppl_Double_Box_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Double_Box_from_Rational_Box_with_complexity( ppl_Double_Box_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Double_Box_from_BD_Shape_mpz_class_with_complexity( ppl_Double_Box_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Double_Box_from_BD_Shape_mpq_class_with_complexity( ppl_Double_Box_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Double_Box_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Double_Box_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Double_Box_from_Double_Box_with_complexity( ppl_Double_Box_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Double_Box_from_BD_Shape_double_with_complexity( ppl_Double_Box_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Double_Box_from_Octagonal_Shape_double_with_complexity( ppl_Double_Box_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Double_Box_from_Constraint_System(ppl_Double_Box_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Double_Box_from_Congruence_System(ppl_Double_Box_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Double_Box_from_Generator_System(ppl_Double_Box_t *pph, ppl_const_Generator_System_t cs); int ppl_new_Double_Box_recycle_Constraint_System(ppl_Double_Box_t *pph, ppl_Constraint_System_t cs); int ppl_new_Double_Box_recycle_Congruence_System(ppl_Double_Box_t *pph, ppl_Congruence_System_t cs); int ppl_new_Double_Box_recycle_Generator_System(ppl_Double_Box_t *pph, ppl_Generator_System_t cs); int ppl_assign_Double_Box_from_Double_Box(ppl_Double_Box_t dst, ppl_const_Double_Box_t src); int ppl_delete_BD_Shape_double(ppl_const_BD_Shape_double_t ph); int ppl_new_BD_Shape_double_from_space_dimension(ppl_BD_Shape_double_t *pph, ppl_dimension_type d, int empty); int ppl_new_BD_Shape_double_from_C_Polyhedron(ppl_BD_Shape_double_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_double_from_NNC_Polyhedron(ppl_BD_Shape_double_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_BD_Shape_double_from_Grid(ppl_BD_Shape_double_t *pph, ppl_const_Grid_t ph); int ppl_new_BD_Shape_double_from_Rational_Box(ppl_BD_Shape_double_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_BD_Shape_double_from_BD_Shape_mpz_class( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_BD_Shape_double_from_BD_Shape_mpq_class( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_BD_Shape_double_from_Octagonal_Shape_mpz_class( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_BD_Shape_double_from_Octagonal_Shape_mpq_class( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_BD_Shape_double_from_Double_Box(ppl_BD_Shape_double_t *pph, ppl_const_Double_Box_t ph); int ppl_new_BD_Shape_double_from_BD_Shape_double( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_BD_Shape_double_from_Octagonal_Shape_double( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_BD_Shape_double_from_C_Polyhedron_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_double_from_NNC_Polyhedron_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_BD_Shape_double_from_Grid_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_BD_Shape_double_from_Rational_Box_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_BD_Shape_double_from_BD_Shape_mpz_class_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_double_from_BD_Shape_mpq_class_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_double_from_Octagonal_Shape_mpz_class_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_BD_Shape_double_from_Octagonal_Shape_mpq_class_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_BD_Shape_double_from_Double_Box_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_BD_Shape_double_from_BD_Shape_double_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_double_from_Octagonal_Shape_double_with_complexity( ppl_BD_Shape_double_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_BD_Shape_double_from_Constraint_System( ppl_BD_Shape_double_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_BD_Shape_double_from_Congruence_System( ppl_BD_Shape_double_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_BD_Shape_double_from_Generator_System( ppl_BD_Shape_double_t *pph, ppl_const_Generator_System_t cs); int ppl_new_BD_Shape_double_recycle_Constraint_System( ppl_BD_Shape_double_t *pph, ppl_Constraint_System_t cs); int ppl_new_BD_Shape_double_recycle_Congruence_System( ppl_BD_Shape_double_t *pph, ppl_Congruence_System_t cs); int ppl_new_BD_Shape_double_recycle_Generator_System(ppl_BD_Shape_double_t *pph, ppl_Generator_System_t cs); int ppl_assign_BD_Shape_double_from_BD_Shape_double( ppl_BD_Shape_double_t dst, ppl_const_BD_Shape_double_t src); int ppl_delete_Octagonal_Shape_double(ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Octagonal_Shape_double_from_space_dimension( ppl_Octagonal_Shape_double_t *pph, ppl_dimension_type d, int empty); int ppl_new_Octagonal_Shape_double_from_C_Polyhedron( ppl_Octagonal_Shape_double_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_double_from_NNC_Polyhedron( ppl_Octagonal_Shape_double_t *pph, ppl_const_Polyhedron_t ph); int ppl_new_Octagonal_Shape_double_from_Grid(ppl_Octagonal_Shape_double_t *pph, ppl_const_Grid_t ph); int ppl_new_Octagonal_Shape_double_from_Rational_Box( ppl_Octagonal_Shape_double_t *pph, ppl_const_Rational_Box_t ph); int ppl_new_Octagonal_Shape_double_from_BD_Shape_mpz_class( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_double_from_BD_Shape_mpq_class( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_mpz_class( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_mpq_class( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Octagonal_Shape_double_from_Double_Box( ppl_Octagonal_Shape_double_t *pph, ppl_const_Double_Box_t ph); int ppl_new_Octagonal_Shape_double_from_BD_Shape_double( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_double_t ph); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_double( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Octagonal_Shape_double_from_C_Polyhedron_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_NNC_Polyhedron_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Polyhedron_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Grid_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Grid_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Rational_Box_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Rational_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_BD_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_BD_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_mpz_class_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_mpq_class_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Double_Box_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Double_Box_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_BD_Shape_double_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_BD_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Octagonal_Shape_double_with_complexity( ppl_Octagonal_Shape_double_t *pph, ppl_const_Octagonal_Shape_double_t ph, int complexity); int ppl_new_Octagonal_Shape_double_from_Constraint_System( ppl_Octagonal_Shape_double_t *pph, ppl_const_Constraint_System_t cs); int ppl_new_Octagonal_Shape_double_from_Congruence_System( ppl_Octagonal_Shape_double_t *pph, ppl_const_Congruence_System_t cs); int ppl_new_Octagonal_Shape_double_from_Generator_System( ppl_Octagonal_Shape_double_t *pph, ppl_const_Generator_System_t cs); int ppl_new_Octagonal_Shape_double_recycle_Constraint_System( ppl_Octagonal_Shape_double_t *pph, ppl_Constraint_System_t cs); int ppl_new_Octagonal_Shape_double_recycle_Congruence_System( ppl_Octagonal_Shape_double_t *pph, ppl_Congruence_System_t cs); int ppl_new_Octagonal_Shape_double_recycle_Generator_System( ppl_Octagonal_Shape_double_t *pph, ppl_Generator_System_t cs); int ppl_assign_Octagonal_Shape_double_from_Octagonal_Shape_double( ppl_Octagonal_Shape_double_t dst, ppl_const_Octagonal_Shape_double_t src); int ppl_new_Grid_from_Grid_Generator_System( ppl_Grid_t *pph, ppl_const_Grid_Generator_System_t cs); int ppl_new_Grid_recycle_Grid_Generator_System(ppl_Grid_t *pph, ppl_Grid_Generator_System_t cs);
VERIFICATION_CRITERIA: Check all selected domain constructors, conversion direction, copy/exchange independence, consuming/recycling inputs and allocation failures.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc; interfaces/C/tests/domains.c; interfaces/C/tests/polyhedra.c.
-
2. C generated domain observations UID: PPL-SPEC-001555 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000431 Mathematical query capabilities and logical outcomes (Specifies)
- PPL-LLR-000432 Directional bounds, extrema and attainment (Specifies)
STATEMENT: Predicates, containment/equality, dimension and relation queries shall return the corresponding native outcomes or flags. Bounds, optimization and frequency functions shall assign their native exact or sound values and admitted witnesses only when their operation reports success. Caller-supplied coefficient/witness outputs shall obey native nonaliasing restrictions. False or inconclusive results shall not be interpreted as a numerical proof beyond the native contract.
The selected-coordinate integer-point query shall decide existence with exactly the listed coordinates integral and all others real. An empty list shall test ordinary feasibility. Out-of-space indices shall be rejected and the represented input shall be preserved, as specified in 🔗 1. Selected-coordinate integer-point existence.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_contains_integer_point_in_dimensions( ppl_const_Polyhedron_t ph, const ppl_dimension_type ds[], size_t n); int ppl_Polyhedron_space_dimension(ppl_const_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Polyhedron_affine_dimension(ppl_const_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Polyhedron_relation_with_Constraint(ppl_const_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Polyhedron_relation_with_Generator(ppl_const_Polyhedron_t ph, ppl_const_Generator_t c); int ppl_Polyhedron_relation_with_Congruence(ppl_const_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Polyhedron_is_empty(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_is_universe(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_is_bounded(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_contains_integer_point(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_is_topologically_closed(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_is_discrete(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_bounds_from_above(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Polyhedron_bounds_from_below(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Polyhedron_maximize(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Polyhedron_minimize(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Polyhedron_maximize_with_point(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Polyhedron_minimize_with_point(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Polyhedron_frequency(ppl_const_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Polyhedron_contains_Polyhedron(ppl_const_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_strictly_contains_Polyhedron(ppl_const_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_is_disjoint_from_Polyhedron(ppl_const_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_OK(ppl_const_Polyhedron_t ph); int ppl_Polyhedron_constrains(ppl_Polyhedron_t ph, ppl_dimension_type var); int ppl_Polyhedron_external_memory_in_bytes(ppl_const_Polyhedron_t ps, size_t *sz); int ppl_Polyhedron_total_memory_in_bytes(ppl_const_Polyhedron_t ps, size_t *sz); int ppl_Grid_space_dimension(ppl_const_Grid_t ph, ppl_dimension_type *m); int ppl_Grid_affine_dimension(ppl_const_Grid_t ph, ppl_dimension_type *m); int ppl_Grid_relation_with_Constraint(ppl_const_Grid_t ph, ppl_const_Constraint_t c); int ppl_Grid_relation_with_Generator(ppl_const_Grid_t ph, ppl_const_Generator_t c); int ppl_Grid_relation_with_Congruence(ppl_const_Grid_t ph, ppl_const_Congruence_t c); int ppl_Grid_is_empty(ppl_const_Grid_t ph); int ppl_Grid_is_universe(ppl_const_Grid_t ph); int ppl_Grid_is_bounded(ppl_const_Grid_t ph); int ppl_Grid_contains_integer_point(ppl_const_Grid_t ph); int ppl_Grid_is_topologically_closed(ppl_const_Grid_t ph); int ppl_Grid_is_discrete(ppl_const_Grid_t ph); int ppl_Grid_bounds_from_above(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le); int ppl_Grid_bounds_from_below(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le); int ppl_Grid_maximize(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Grid_minimize(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Grid_maximize_with_point(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Grid_minimize_with_point(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Grid_frequency(ppl_const_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Grid_contains_Grid(ppl_const_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_strictly_contains_Grid(ppl_const_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_is_disjoint_from_Grid(ppl_const_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_OK(ppl_const_Grid_t ph); int ppl_Grid_constrains(ppl_Grid_t ph, ppl_dimension_type var); int ppl_Grid_external_memory_in_bytes(ppl_const_Grid_t ps, size_t *sz); int ppl_Grid_total_memory_in_bytes(ppl_const_Grid_t ps, size_t *sz); int ppl_Rational_Box_space_dimension(ppl_const_Rational_Box_t ph, ppl_dimension_type *m); int ppl_Rational_Box_affine_dimension(ppl_const_Rational_Box_t ph, ppl_dimension_type *m); int ppl_Rational_Box_relation_with_Constraint(ppl_const_Rational_Box_t ph, ppl_const_Constraint_t c); int ppl_Rational_Box_relation_with_Generator(ppl_const_Rational_Box_t ph, ppl_const_Generator_t c); int ppl_Rational_Box_relation_with_Congruence(ppl_const_Rational_Box_t ph, ppl_const_Congruence_t c); int ppl_Rational_Box_is_empty(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_is_universe(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_is_bounded(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_contains_integer_point(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_is_topologically_closed(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_is_discrete(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_bounds_from_above(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le); int ppl_Rational_Box_bounds_from_below(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le); int ppl_Rational_Box_maximize(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Rational_Box_minimize(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Rational_Box_maximize_with_point(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Rational_Box_minimize_with_point(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Rational_Box_frequency(ppl_const_Rational_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Rational_Box_contains_Rational_Box(ppl_const_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_strictly_contains_Rational_Box(ppl_const_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_is_disjoint_from_Rational_Box(ppl_const_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_OK(ppl_const_Rational_Box_t ph); int ppl_Rational_Box_constrains(ppl_Rational_Box_t ph, ppl_dimension_type var); int ppl_Rational_Box_external_memory_in_bytes(ppl_const_Rational_Box_t ps, size_t *sz); int ppl_Rational_Box_total_memory_in_bytes(ppl_const_Rational_Box_t ps, size_t *sz); int ppl_BD_Shape_mpz_class_space_dimension(ppl_const_BD_Shape_mpz_class_t ph, ppl_dimension_type *m); int ppl_BD_Shape_mpz_class_affine_dimension(ppl_const_BD_Shape_mpz_class_t ph, ppl_dimension_type *m); int ppl_BD_Shape_mpz_class_relation_with_Constraint( ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpz_class_relation_with_Generator( ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Generator_t c); int ppl_BD_Shape_mpz_class_relation_with_Congruence( ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpz_class_is_empty(ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_is_universe(ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_is_bounded(ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_contains_integer_point( ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_is_topologically_closed( ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_is_discrete(ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_bounds_from_above(ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_mpz_class_bounds_from_below(ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_mpz_class_maximize(ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_mpz_class_minimize(ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_mpz_class_maximize_with_point( ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_mpz_class_minimize_with_point( ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_mpz_class_frequency(ppl_const_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_BD_Shape_mpz_class_contains_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_strictly_contains_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_is_disjoint_from_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_OK(ppl_const_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_constrains(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var); int ppl_BD_Shape_mpz_class_external_memory_in_bytes( ppl_const_BD_Shape_mpz_class_t ps, size_t *sz); int ppl_BD_Shape_mpz_class_total_memory_in_bytes( ppl_const_BD_Shape_mpz_class_t ps, size_t *sz); int ppl_BD_Shape_mpq_class_space_dimension(ppl_const_BD_Shape_mpq_class_t ph, ppl_dimension_type *m); int ppl_BD_Shape_mpq_class_affine_dimension(ppl_const_BD_Shape_mpq_class_t ph, ppl_dimension_type *m); int ppl_BD_Shape_mpq_class_relation_with_Constraint( ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpq_class_relation_with_Generator( ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Generator_t c); int ppl_BD_Shape_mpq_class_relation_with_Congruence( ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpq_class_is_empty(ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_is_universe(ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_is_bounded(ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_contains_integer_point( ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_is_topologically_closed( ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_is_discrete(ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_bounds_from_above(ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_mpq_class_bounds_from_below(ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_mpq_class_maximize(ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_mpq_class_minimize(ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_mpq_class_maximize_with_point( ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_mpq_class_minimize_with_point( ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_mpq_class_frequency(ppl_const_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_BD_Shape_mpq_class_contains_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_strictly_contains_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_is_disjoint_from_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_OK(ppl_const_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_constrains(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var); int ppl_BD_Shape_mpq_class_external_memory_in_bytes( ppl_const_BD_Shape_mpq_class_t ps, size_t *sz); int ppl_BD_Shape_mpq_class_total_memory_in_bytes( ppl_const_BD_Shape_mpq_class_t ps, size_t *sz); int ppl_Octagonal_Shape_mpz_class_space_dimension( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_mpz_class_affine_dimension( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_mpz_class_relation_with_Constraint( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpz_class_relation_with_Generator( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Generator_t c); int ppl_Octagonal_Shape_mpz_class_relation_with_Congruence( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpz_class_is_empty( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_is_universe( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_is_bounded( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_contains_integer_point( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_is_topologically_closed( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_is_discrete( ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_bounds_from_above( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_mpz_class_bounds_from_below( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_mpz_class_maximize( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_mpz_class_minimize( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_mpz_class_maximize_with_point( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_mpz_class_minimize_with_point( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_mpz_class_frequency( ppl_const_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Octagonal_Shape_mpz_class_contains_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_strictly_contains_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_is_disjoint_from_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_OK(ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_constrains(ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_mpz_class_external_memory_in_bytes( ppl_const_Octagonal_Shape_mpz_class_t ps, size_t *sz); int ppl_Octagonal_Shape_mpz_class_total_memory_in_bytes( ppl_const_Octagonal_Shape_mpz_class_t ps, size_t *sz); int ppl_Octagonal_Shape_mpq_class_space_dimension( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_mpq_class_affine_dimension( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_mpq_class_relation_with_Constraint( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpq_class_relation_with_Generator( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Generator_t c); int ppl_Octagonal_Shape_mpq_class_relation_with_Congruence( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpq_class_is_empty( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_is_universe( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_is_bounded( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_contains_integer_point( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_is_topologically_closed( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_is_discrete( ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_bounds_from_above( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_mpq_class_bounds_from_below( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_mpq_class_maximize( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_mpq_class_minimize( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_mpq_class_maximize_with_point( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_mpq_class_minimize_with_point( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_mpq_class_frequency( ppl_const_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Octagonal_Shape_mpq_class_contains_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_strictly_contains_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_is_disjoint_from_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_OK(ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_constrains(ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_mpq_class_external_memory_in_bytes( ppl_const_Octagonal_Shape_mpq_class_t ps, size_t *sz); int ppl_Octagonal_Shape_mpq_class_total_memory_in_bytes( ppl_const_Octagonal_Shape_mpq_class_t ps, size_t *sz); int ppl_Constraints_Product_C_Polyhedron_Grid_space_dimension( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type *m); int ppl_Constraints_Product_C_Polyhedron_Grid_affine_dimension( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type *m); int ppl_Constraints_Product_C_Polyhedron_Grid_relation_with_Constraint( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Constraint_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_relation_with_Generator( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Generator_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_relation_with_Congruence( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Congruence_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_is_empty( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_is_universe( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_is_bounded( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_is_topologically_closed( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_is_discrete( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_bounds_from_above( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le); int ppl_Constraints_Product_C_Polyhedron_Grid_bounds_from_below( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le); int ppl_Constraints_Product_C_Polyhedron_Grid_maximize( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Constraints_Product_C_Polyhedron_Grid_minimize( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Constraints_Product_C_Polyhedron_Grid_maximize_with_point( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Constraints_Product_C_Polyhedron_Grid_minimize_with_point( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Constraints_Product_C_Polyhedron_Grid_contains_Constraints_Product_C_Polyhedron_Grid( ppl_const_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_strictly_contains_Constraints_Product_C_Polyhedron_Grid( ppl_const_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_is_disjoint_from_Constraints_Product_C_Polyhedron_Grid( ppl_const_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_OK( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_constrains( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var); int ppl_Constraints_Product_C_Polyhedron_Grid_external_memory_in_bytes( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ps, size_t *sz); int ppl_Constraints_Product_C_Polyhedron_Grid_total_memory_in_bytes( ppl_const_Constraints_Product_C_Polyhedron_Grid_t ps, size_t *sz); int ppl_Pointset_Powerset_C_Polyhedron_space_dimension( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Pointset_Powerset_C_Polyhedron_affine_dimension( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Pointset_Powerset_C_Polyhedron_relation_with_Constraint( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_C_Polyhedron_relation_with_Generator( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Generator_t c); int ppl_Pointset_Powerset_C_Polyhedron_relation_with_Congruence( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_C_Polyhedron_is_empty( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_is_universe( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_is_bounded( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_contains_integer_point( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_is_topologically_closed( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_is_discrete( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_bounds_from_above( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Pointset_Powerset_C_Polyhedron_bounds_from_below( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Pointset_Powerset_C_Polyhedron_maximize( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Pointset_Powerset_C_Polyhedron_minimize( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Pointset_Powerset_C_Polyhedron_maximize_with_point( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Pointset_Powerset_C_Polyhedron_minimize_with_point( ppl_const_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Pointset_Powerset_C_Polyhedron_contains_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_strictly_contains_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_is_disjoint_from_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_OK( ppl_const_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_constrains( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var); int ppl_Pointset_Powerset_C_Polyhedron_external_memory_in_bytes( ppl_const_Pointset_Powerset_C_Polyhedron_t ps, size_t *sz); int ppl_Pointset_Powerset_C_Polyhedron_total_memory_in_bytes( ppl_const_Pointset_Powerset_C_Polyhedron_t ps, size_t *sz); int ppl_Pointset_Powerset_NNC_Polyhedron_space_dimension( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Pointset_Powerset_NNC_Polyhedron_affine_dimension( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type *m); int ppl_Pointset_Powerset_NNC_Polyhedron_relation_with_Constraint( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_relation_with_Generator( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Generator_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_relation_with_Congruence( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_is_empty( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_is_universe( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_is_bounded( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_contains_integer_point( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_is_topologically_closed( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_is_discrete( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_bounds_from_above( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Pointset_Powerset_NNC_Polyhedron_bounds_from_below( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le); int ppl_Pointset_Powerset_NNC_Polyhedron_maximize( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Pointset_Powerset_NNC_Polyhedron_minimize( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Pointset_Powerset_NNC_Polyhedron_maximize_with_point( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Pointset_Powerset_NNC_Polyhedron_minimize_with_point( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Pointset_Powerset_NNC_Polyhedron_contains_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_strictly_contains_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_is_disjoint_from_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_OK( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_constrains( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var); int ppl_Pointset_Powerset_NNC_Polyhedron_external_memory_in_bytes( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ps, size_t *sz); int ppl_Pointset_Powerset_NNC_Polyhedron_total_memory_in_bytes( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ps, size_t *sz); int ppl_Double_Box_space_dimension(ppl_const_Double_Box_t ph, ppl_dimension_type *m); int ppl_Double_Box_affine_dimension(ppl_const_Double_Box_t ph, ppl_dimension_type *m); int ppl_Double_Box_relation_with_Constraint(ppl_const_Double_Box_t ph, ppl_const_Constraint_t c); int ppl_Double_Box_relation_with_Generator(ppl_const_Double_Box_t ph, ppl_const_Generator_t c); int ppl_Double_Box_relation_with_Congruence(ppl_const_Double_Box_t ph, ppl_const_Congruence_t c); int ppl_Double_Box_is_empty(ppl_const_Double_Box_t ph); int ppl_Double_Box_is_universe(ppl_const_Double_Box_t ph); int ppl_Double_Box_is_bounded(ppl_const_Double_Box_t ph); int ppl_Double_Box_contains_integer_point(ppl_const_Double_Box_t ph); int ppl_Double_Box_is_topologically_closed(ppl_const_Double_Box_t ph); int ppl_Double_Box_is_discrete(ppl_const_Double_Box_t ph); int ppl_Double_Box_bounds_from_above(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le); int ppl_Double_Box_bounds_from_below(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le); int ppl_Double_Box_maximize(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Double_Box_minimize(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Double_Box_maximize_with_point(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Double_Box_minimize_with_point(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Double_Box_frequency(ppl_const_Double_Box_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Double_Box_contains_Double_Box(ppl_const_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_strictly_contains_Double_Box(ppl_const_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_is_disjoint_from_Double_Box(ppl_const_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_OK(ppl_const_Double_Box_t ph); int ppl_Double_Box_constrains(ppl_Double_Box_t ph, ppl_dimension_type var); int ppl_Double_Box_external_memory_in_bytes(ppl_const_Double_Box_t ps, size_t *sz); int ppl_Double_Box_total_memory_in_bytes(ppl_const_Double_Box_t ps, size_t *sz); int ppl_BD_Shape_double_space_dimension(ppl_const_BD_Shape_double_t ph, ppl_dimension_type *m); int ppl_BD_Shape_double_affine_dimension(ppl_const_BD_Shape_double_t ph, ppl_dimension_type *m); int ppl_BD_Shape_double_relation_with_Constraint(ppl_const_BD_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_double_relation_with_Generator(ppl_const_BD_Shape_double_t ph, ppl_const_Generator_t c); int ppl_BD_Shape_double_relation_with_Congruence(ppl_const_BD_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_double_is_empty(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_is_universe(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_is_bounded(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_contains_integer_point(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_is_topologically_closed(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_is_discrete(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_bounds_from_above(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_double_bounds_from_below(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le); int ppl_BD_Shape_double_maximize(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_double_minimize(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_BD_Shape_double_maximize_with_point(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_double_minimize_with_point(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_BD_Shape_double_frequency(ppl_const_BD_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_BD_Shape_double_contains_BD_Shape_double(ppl_const_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_strictly_contains_BD_Shape_double( ppl_const_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_is_disjoint_from_BD_Shape_double( ppl_const_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_OK(ppl_const_BD_Shape_double_t ph); int ppl_BD_Shape_double_constrains(ppl_BD_Shape_double_t ph, ppl_dimension_type var); int ppl_BD_Shape_double_external_memory_in_bytes(ppl_const_BD_Shape_double_t ps, size_t *sz); int ppl_BD_Shape_double_total_memory_in_bytes(ppl_const_BD_Shape_double_t ps, size_t *sz); int ppl_Octagonal_Shape_double_space_dimension( ppl_const_Octagonal_Shape_double_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_double_affine_dimension( ppl_const_Octagonal_Shape_double_t ph, ppl_dimension_type *m); int ppl_Octagonal_Shape_double_relation_with_Constraint( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_double_relation_with_Generator( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Generator_t c); int ppl_Octagonal_Shape_double_relation_with_Congruence( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_double_is_empty(ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_is_universe( ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_is_bounded( ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_contains_integer_point( ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_is_topologically_closed( ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_is_discrete( ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_bounds_from_above( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_double_bounds_from_below( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le); int ppl_Octagonal_Shape_double_maximize(ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_double_minimize(ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum); int ppl_Octagonal_Shape_double_maximize_with_point( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_double_minimize_with_point( ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *poptimum, ppl_Generator_t point); int ppl_Octagonal_Shape_double_frequency(ppl_const_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t le, ppl_Coefficient_t ext_fn, ppl_Coefficient_t ext_fd, ppl_Coefficient_t ext_vn, ppl_Coefficient_t ext_vd); int ppl_Octagonal_Shape_double_contains_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_strictly_contains_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_is_disjoint_from_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_OK(ppl_const_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_constrains(ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_double_external_memory_in_bytes( ppl_const_Octagonal_Shape_double_t ps, size_t *sz); int ppl_Octagonal_Shape_double_total_memory_in_bytes( ppl_const_Octagonal_Shape_double_t ps, size_t *sz); int ppl_Polyhedron_equals_Polyhedron(ppl_const_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Grid_equals_Grid(ppl_const_Grid_t x, ppl_const_Grid_t y); int ppl_Rational_Box_has_upper_bound(ppl_Rational_Box_t ps, ppl_dimension_type var, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *pclosed); int ppl_Rational_Box_has_lower_bound(ppl_Rational_Box_t ps, ppl_dimension_type var, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *pclosed); int ppl_Rational_Box_equals_Rational_Box(ppl_const_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_BD_Shape_mpz_class_equals_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpq_class_equals_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpz_class_equals_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpq_class_equals_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_equals_Constraints_Product_C_Polyhedron_Grid( ppl_const_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Pointset_Powerset_C_Polyhedron_geometrically_equals_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_equals_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_geometrically_equals_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_equals_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Double_Box_has_upper_bound(ppl_Double_Box_t ps, ppl_dimension_type var, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *pclosed); int ppl_Double_Box_has_lower_bound(ppl_Double_Box_t ps, ppl_dimension_type var, ppl_Coefficient_t ext_n, ppl_Coefficient_t ext_d, int *pclosed); int ppl_Double_Box_equals_Double_Box(ppl_const_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_BD_Shape_double_equals_BD_Shape_double(ppl_const_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_Octagonal_Shape_double_equals_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Pointset_Powerset_C_Polyhedron_geometrically_covers_Pointset_Powerset_C_Polyhedron( ppl_const_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_size( ppl_const_Pointset_Powerset_C_Polyhedron_t ps, size_t *sz); int ppl_Pointset_Powerset_NNC_Polyhedron_geometrically_covers_Pointset_Powerset_NNC_Polyhedron( ppl_const_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_size( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ps, size_t *sz); int ppl_Grid_relation_with_Grid_Generator(ppl_const_Grid_t ph, ppl_const_Grid_Generator_t c);
VERIFICATION_CRITERIA: Compare literal empty/universe, containment, relation flags and bounded/unbounded optimization/frequency results for configured arithmetic types.
SOURCE: interfaces/C/tests/newoperations.c; interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc; interfaces/C/tests/domains.c; interfaces/C/tests/polyhedra.c.
-
3. C generated system extraction ownership UID: PPL-SPEC-001556 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Polyhedron constraint/generator and Grid congruence/grid-generator getters shall return borrowed native systems, including minimized getters, with the documented owner-call invalidation rules. Getters designated to construct an independent system for other domains shall transfer an owned system. Successful extraction shall preserve the corresponding native mathematical meaning and approximation direction. Independent copies shall remain valid after domain mutation or destruction.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_get_constraints(ppl_const_Polyhedron_t ph, ppl_const_Constraint_System_t *pcs); int ppl_Polyhedron_get_generators(ppl_const_Polyhedron_t ph, ppl_const_Generator_System_t *pcs); int ppl_Polyhedron_get_minimized_constraints( ppl_const_Polyhedron_t ph, ppl_const_Constraint_System_t *pcs); int ppl_Polyhedron_get_minimized_generators(ppl_const_Polyhedron_t ph, ppl_const_Generator_System_t *pcs); int ppl_Grid_get_congruences(ppl_const_Grid_t ph, ppl_const_Congruence_System_t *pcs); int ppl_Grid_get_grid_generators(ppl_const_Grid_t ph, ppl_const_Grid_Generator_System_t *pcs); int ppl_Grid_get_minimized_congruences(ppl_const_Grid_t ph, ppl_const_Congruence_System_t *pcs); int ppl_Grid_get_minimized_grid_generators( ppl_const_Grid_t ph, ppl_const_Grid_Generator_System_t *pcs); int ppl_new_Congruence_System_from_Polyhedron(ppl_Congruence_System_t *pcs, ppl_const_Polyhedron_t ph); int ppl_new_Congruence_System_from_Polyhedron_minimized( ppl_Congruence_System_t *pcs, ppl_const_Polyhedron_t ph); int ppl_new_Constraint_System_from_Grid(ppl_Constraint_System_t *pcs, ppl_const_Grid_t ph); int ppl_new_Constraint_System_from_Grid_minimized(ppl_Constraint_System_t *pcs, ppl_const_Grid_t ph); int ppl_new_Constraint_System_from_Rational_Box(ppl_Constraint_System_t *pcs, ppl_const_Rational_Box_t ph); int ppl_new_Congruence_System_from_Rational_Box(ppl_Congruence_System_t *pcs, ppl_const_Rational_Box_t ph); int ppl_new_Constraint_System_from_Rational_Box_minimized( ppl_Constraint_System_t *pcs, ppl_const_Rational_Box_t ph); int ppl_new_Congruence_System_from_Rational_Box_minimized( ppl_Congruence_System_t *pcs, ppl_const_Rational_Box_t ph); int ppl_new_Constraint_System_from_BD_Shape_mpz_class( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Congruence_System_from_BD_Shape_mpz_class( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Constraint_System_from_BD_Shape_mpz_class_minimized( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Congruence_System_from_BD_Shape_mpz_class_minimized( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_mpz_class_t ph); int ppl_new_Constraint_System_from_BD_Shape_mpq_class( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Congruence_System_from_BD_Shape_mpq_class( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Constraint_System_from_BD_Shape_mpq_class_minimized( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Congruence_System_from_BD_Shape_mpq_class_minimized( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_mpq_class_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_mpz_class( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_mpz_class( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_mpz_class_minimized( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_mpz_class_minimized( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_mpz_class_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_mpq_class( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_mpq_class( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_mpq_class_minimized( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_mpq_class_minimized( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_mpq_class_t ph); int ppl_new_Constraint_System_from_Double_Box(ppl_Constraint_System_t *pcs, ppl_const_Double_Box_t ph); int ppl_new_Congruence_System_from_Double_Box(ppl_Congruence_System_t *pcs, ppl_const_Double_Box_t ph); int ppl_new_Constraint_System_from_Double_Box_minimized( ppl_Constraint_System_t *pcs, ppl_const_Double_Box_t ph); int ppl_new_Congruence_System_from_Double_Box_minimized( ppl_Congruence_System_t *pcs, ppl_const_Double_Box_t ph); int ppl_new_Constraint_System_from_BD_Shape_double( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_double_t ph); int ppl_new_Congruence_System_from_BD_Shape_double( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_double_t ph); int ppl_new_Constraint_System_from_BD_Shape_double_minimized( ppl_Constraint_System_t *pcs, ppl_const_BD_Shape_double_t ph); int ppl_new_Congruence_System_from_BD_Shape_double_minimized( ppl_Congruence_System_t *pcs, ppl_const_BD_Shape_double_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_double( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_double( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Constraint_System_from_Octagonal_Shape_double_minimized( ppl_Constraint_System_t *pcs, ppl_const_Octagonal_Shape_double_t ph); int ppl_new_Congruence_System_from_Octagonal_Shape_double_minimized( ppl_Congruence_System_t *pcs, ppl_const_Octagonal_Shape_double_t ph);
VERIFICATION_CRITERIA: Check borrowed identity and zero-copy behavior, independently owned extractions, native representation meaning and owner lifetime histories.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/domains.c.
-
4. C generated domain transformations UID: PPL-SPEC-001557 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Constraint/congruence insertion, intersection, upper bounds, differences, simplification and other selected set transformations shall forward the corresponding native value and approximation contracts. Boolean exactness outcomes shall retain their native meaning. Dimension, topology, inclusion and ownership preconditions shall apply to the corresponding native arguments; designated admission failures shall be translated.
Integer-point refinement operations shall accept the public polynomial, simplex and any-complexity selectors. An unrecognized selector shall report PPL_ERROR_INVALID_ARGUMENT and leave the receiver unchanged.
Minkowski addition shall preserve the exact closed/NNC value contract in 🔗 1. Exact Minkowski sum of polyhedra. Generator-based time elapse shall preserve 🔗 1. Nonnegative polyhedral time elapse, including matching system dimension and borrowed receiver input. HH95, HPW01 and bounded Chvatal refinement shall require closed operands and reject NNC handles before a derived-class cast. Their native contracts in 🔗 1. HH95 closed-polyhedron edge extrapolation, 🔗 1. HPW01 closed-polyhedron extrapolation and 🔗 1. Bounded Chvatal half-pair refinement shall apply, including the pair-budget scope. These entry points shall be generated only with the Polyhedron interface.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_minkowski_sum_assign(ppl_Polyhedron_t lhs, ppl_const_Polyhedron_t rhs); int ppl_Polyhedron_time_elapse_assign_with_generators( ppl_Polyhedron_t ph, ppl_const_Generator_System_t rates); int ppl_C_Polyhedron_HH95_extrapolation_assign(ppl_Polyhedron_t lhs, ppl_const_Polyhedron_t rhs); int ppl_C_Polyhedron_HPW01_extrapolation_assign(ppl_Polyhedron_t lhs, ppl_const_Polyhedron_t rhs); int ppl_C_Polyhedron_refine_with_chvatal_cuts(ppl_Polyhedron_t ph, ppl_dimension_type budget); int ppl_Polyhedron_topological_closure_assign(ppl_Polyhedron_t ph); int ppl_Polyhedron_add_constraint(ppl_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Polyhedron_add_congruence(ppl_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Polyhedron_add_generator(ppl_Polyhedron_t ph, ppl_const_Generator_t c); int ppl_Polyhedron_add_constraints(ppl_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Polyhedron_add_congruences(ppl_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Polyhedron_add_generators(ppl_Polyhedron_t ph, ppl_const_Generator_System_t cs); int ppl_Polyhedron_refine_with_constraint(ppl_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Polyhedron_refine_with_congruence(ppl_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Polyhedron_refine_with_constraints(ppl_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Polyhedron_refine_with_congruences(ppl_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Polyhedron_intersection_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_upper_bound_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_difference_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_concatenate_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_time_elapse_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_poly_hull_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_poly_difference_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_upper_bound_assign_if_exact(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_poly_hull_assign_if_exact(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_positive_time_elapse_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_simplify_using_context_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_drop_some_non_integer_points(ppl_Polyhedron_t ph, int complexity); int ppl_Polyhedron_drop_some_non_integer_points_2(ppl_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Polyhedron_add_recycled_constraints(ppl_Polyhedron_t ph, ppl_Constraint_System_t cs); int ppl_Polyhedron_add_recycled_congruences(ppl_Polyhedron_t ph, ppl_Congruence_System_t cs); int ppl_Polyhedron_add_recycled_generators(ppl_Polyhedron_t ph, ppl_Generator_System_t cs); int ppl_Grid_topological_closure_assign(ppl_Grid_t ph); int ppl_Grid_add_constraint(ppl_Grid_t ph, ppl_const_Constraint_t c); int ppl_Grid_add_congruence(ppl_Grid_t ph, ppl_const_Congruence_t c); int ppl_Grid_add_grid_generator(ppl_Grid_t ph, ppl_const_Grid_Generator_t c); int ppl_Grid_add_constraints(ppl_Grid_t ph, ppl_const_Constraint_System_t cs); int ppl_Grid_add_congruences(ppl_Grid_t ph, ppl_const_Congruence_System_t cs); int ppl_Grid_add_grid_generators(ppl_Grid_t ph, ppl_const_Grid_Generator_System_t cs); int ppl_Grid_refine_with_constraint(ppl_Grid_t ph, ppl_const_Constraint_t c); int ppl_Grid_refine_with_congruence(ppl_Grid_t ph, ppl_const_Congruence_t c); int ppl_Grid_refine_with_constraints(ppl_Grid_t ph, ppl_const_Constraint_System_t cs); int ppl_Grid_refine_with_congruences(ppl_Grid_t ph, ppl_const_Congruence_System_t cs); int ppl_Grid_intersection_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_upper_bound_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_difference_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_concatenate_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_time_elapse_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_upper_bound_assign_if_exact(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_simplify_using_context_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_drop_some_non_integer_points(ppl_Grid_t ph, int complexity); int ppl_Grid_drop_some_non_integer_points_2(ppl_Grid_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Grid_add_recycled_constraints(ppl_Grid_t ph, ppl_Constraint_System_t cs); int ppl_Grid_add_recycled_congruences(ppl_Grid_t ph, ppl_Congruence_System_t cs); int ppl_Grid_add_recycled_grid_generators(ppl_Grid_t ph, ppl_Grid_Generator_System_t cs); int ppl_Rational_Box_topological_closure_assign(ppl_Rational_Box_t ph); int ppl_Rational_Box_add_constraint(ppl_Rational_Box_t ph, ppl_const_Constraint_t c); int ppl_Rational_Box_add_congruence(ppl_Rational_Box_t ph, ppl_const_Congruence_t c); int ppl_Rational_Box_add_constraints(ppl_Rational_Box_t ph, ppl_const_Constraint_System_t cs); int ppl_Rational_Box_add_congruences(ppl_Rational_Box_t ph, ppl_const_Congruence_System_t cs); int ppl_Rational_Box_refine_with_constraint(ppl_Rational_Box_t ph, ppl_const_Constraint_t c); int ppl_Rational_Box_refine_with_congruence(ppl_Rational_Box_t ph, ppl_const_Congruence_t c); int ppl_Rational_Box_refine_with_constraints(ppl_Rational_Box_t ph, ppl_const_Constraint_System_t cs); int ppl_Rational_Box_refine_with_congruences(ppl_Rational_Box_t ph, ppl_const_Congruence_System_t cs); int ppl_Rational_Box_intersection_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_upper_bound_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_difference_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_concatenate_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_time_elapse_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_upper_bound_assign_if_exact(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_simplify_using_context_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_drop_some_non_integer_points(ppl_Rational_Box_t ph, int complexity); int ppl_Rational_Box_drop_some_non_integer_points_2(ppl_Rational_Box_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Rational_Box_add_recycled_constraints(ppl_Rational_Box_t ph, ppl_Constraint_System_t cs); int ppl_Rational_Box_add_recycled_congruences(ppl_Rational_Box_t ph, ppl_Congruence_System_t cs); int ppl_BD_Shape_mpz_class_topological_closure_assign( ppl_BD_Shape_mpz_class_t ph); int ppl_BD_Shape_mpz_class_add_constraint(ppl_BD_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpz_class_add_congruence(ppl_BD_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpz_class_add_constraints(ppl_BD_Shape_mpz_class_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_add_congruences(ppl_BD_Shape_mpz_class_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_mpz_class_refine_with_constraint(ppl_BD_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpz_class_refine_with_congruence(ppl_BD_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpz_class_refine_with_constraints( ppl_BD_Shape_mpz_class_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_refine_with_congruences( ppl_BD_Shape_mpz_class_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_mpz_class_intersection_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_upper_bound_assign(ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_difference_assign(ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_concatenate_assign(ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_time_elapse_assign(ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_upper_bound_assign_if_exact( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_simplify_using_context_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_drop_some_non_integer_points( ppl_BD_Shape_mpz_class_t ph, int complexity); int ppl_BD_Shape_mpz_class_drop_some_non_integer_points_2( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_BD_Shape_mpz_class_add_recycled_constraints(ppl_BD_Shape_mpz_class_t ph, ppl_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_add_recycled_congruences(ppl_BD_Shape_mpz_class_t ph, ppl_Congruence_System_t cs); int ppl_BD_Shape_mpq_class_topological_closure_assign( ppl_BD_Shape_mpq_class_t ph); int ppl_BD_Shape_mpq_class_add_constraint(ppl_BD_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpq_class_add_congruence(ppl_BD_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpq_class_add_constraints(ppl_BD_Shape_mpq_class_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_add_congruences(ppl_BD_Shape_mpq_class_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_mpq_class_refine_with_constraint(ppl_BD_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_mpq_class_refine_with_congruence(ppl_BD_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_mpq_class_refine_with_constraints( ppl_BD_Shape_mpq_class_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_refine_with_congruences( ppl_BD_Shape_mpq_class_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_mpq_class_intersection_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_upper_bound_assign(ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_difference_assign(ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_concatenate_assign(ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_time_elapse_assign(ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_upper_bound_assign_if_exact( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_simplify_using_context_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_drop_some_non_integer_points( ppl_BD_Shape_mpq_class_t ph, int complexity); int ppl_BD_Shape_mpq_class_drop_some_non_integer_points_2( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_BD_Shape_mpq_class_add_recycled_constraints(ppl_BD_Shape_mpq_class_t ph, ppl_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_add_recycled_congruences(ppl_BD_Shape_mpq_class_t ph, ppl_Congruence_System_t cs); int ppl_Octagonal_Shape_mpz_class_topological_closure_assign( ppl_Octagonal_Shape_mpz_class_t ph); int ppl_Octagonal_Shape_mpz_class_add_constraint( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpz_class_add_congruence( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpz_class_add_constraints( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpz_class_add_congruences( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_mpz_class_refine_with_constraint( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpz_class_refine_with_congruence( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpz_class_refine_with_constraints( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpz_class_refine_with_congruences( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_mpz_class_intersection_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_upper_bound_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_difference_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_concatenate_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_time_elapse_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_upper_bound_assign_if_exact( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_simplify_using_context_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_drop_some_non_integer_points( ppl_Octagonal_Shape_mpz_class_t ph, int complexity); int ppl_Octagonal_Shape_mpz_class_drop_some_non_integer_points_2( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Octagonal_Shape_mpz_class_add_recycled_constraints( ppl_Octagonal_Shape_mpz_class_t ph, ppl_Constraint_System_t cs); int ppl_Octagonal_Shape_mpz_class_add_recycled_congruences( ppl_Octagonal_Shape_mpz_class_t ph, ppl_Congruence_System_t cs); int ppl_Octagonal_Shape_mpq_class_topological_closure_assign( ppl_Octagonal_Shape_mpq_class_t ph); int ppl_Octagonal_Shape_mpq_class_add_constraint( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpq_class_add_congruence( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpq_class_add_constraints( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpq_class_add_congruences( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_mpq_class_refine_with_constraint( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_mpq_class_refine_with_congruence( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_mpq_class_refine_with_constraints( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpq_class_refine_with_congruences( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_mpq_class_intersection_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_upper_bound_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_difference_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_concatenate_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_time_elapse_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_upper_bound_assign_if_exact( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_simplify_using_context_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_drop_some_non_integer_points( ppl_Octagonal_Shape_mpq_class_t ph, int complexity); int ppl_Octagonal_Shape_mpq_class_drop_some_non_integer_points_2( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Octagonal_Shape_mpq_class_add_recycled_constraints( ppl_Octagonal_Shape_mpq_class_t ph, ppl_Constraint_System_t cs); int ppl_Octagonal_Shape_mpq_class_add_recycled_congruences( ppl_Octagonal_Shape_mpq_class_t ph, ppl_Congruence_System_t cs); int ppl_Constraints_Product_C_Polyhedron_Grid_topological_closure_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t ph); int ppl_Constraints_Product_C_Polyhedron_Grid_add_constraint( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Constraint_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_add_congruence( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Congruence_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_add_constraints( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Constraint_System_t cs); int ppl_Constraints_Product_C_Polyhedron_Grid_add_congruences( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Congruence_System_t cs); int ppl_Constraints_Product_C_Polyhedron_Grid_refine_with_constraint( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Constraint_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_refine_with_congruence( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Congruence_t c); int ppl_Constraints_Product_C_Polyhedron_Grid_refine_with_constraints( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Constraint_System_t cs); int ppl_Constraints_Product_C_Polyhedron_Grid_refine_with_congruences( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Congruence_System_t cs); int ppl_Constraints_Product_C_Polyhedron_Grid_intersection_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_upper_bound_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_difference_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_concatenate_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_time_elapse_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_upper_bound_assign_if_exact( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_drop_some_non_integer_points( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, int complexity); int ppl_Constraints_Product_C_Polyhedron_Grid_drop_some_non_integer_points_2( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Pointset_Powerset_C_Polyhedron_topological_closure_assign( ppl_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_pairwise_reduce( ppl_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_omega_reduce( ppl_Pointset_Powerset_C_Polyhedron_t ph); int ppl_Pointset_Powerset_C_Polyhedron_add_constraint( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_C_Polyhedron_add_congruence( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_C_Polyhedron_add_constraints( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Pointset_Powerset_C_Polyhedron_add_congruences( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Pointset_Powerset_C_Polyhedron_refine_with_constraint( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_C_Polyhedron_refine_with_congruence( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_C_Polyhedron_refine_with_constraints( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Pointset_Powerset_C_Polyhedron_refine_with_congruences( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Pointset_Powerset_C_Polyhedron_intersection_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_upper_bound_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_difference_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_concatenate_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_time_elapse_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_upper_bound_assign_if_exact( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_simplify_using_context_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_drop_some_non_integer_points( ppl_Pointset_Powerset_C_Polyhedron_t ph, int complexity); int ppl_Pointset_Powerset_C_Polyhedron_drop_some_non_integer_points_2( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Pointset_Powerset_NNC_Polyhedron_topological_closure_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_pairwise_reduce( ppl_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_omega_reduce( ppl_Pointset_Powerset_NNC_Polyhedron_t ph); int ppl_Pointset_Powerset_NNC_Polyhedron_add_constraint( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_add_congruence( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_add_constraints( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Pointset_Powerset_NNC_Polyhedron_add_congruences( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Pointset_Powerset_NNC_Polyhedron_refine_with_constraint( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Constraint_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_refine_with_congruence( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Congruence_t c); int ppl_Pointset_Powerset_NNC_Polyhedron_refine_with_constraints( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Constraint_System_t cs); int ppl_Pointset_Powerset_NNC_Polyhedron_refine_with_congruences( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Congruence_System_t cs); int ppl_Pointset_Powerset_NNC_Polyhedron_intersection_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_upper_bound_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_difference_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_concatenate_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_time_elapse_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_upper_bound_assign_if_exact( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_simplify_using_context_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_drop_some_non_integer_points( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, int complexity); int ppl_Pointset_Powerset_NNC_Polyhedron_drop_some_non_integer_points_2( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Double_Box_topological_closure_assign(ppl_Double_Box_t ph); int ppl_Double_Box_add_constraint(ppl_Double_Box_t ph, ppl_const_Constraint_t c); int ppl_Double_Box_add_congruence(ppl_Double_Box_t ph, ppl_const_Congruence_t c); int ppl_Double_Box_add_constraints(ppl_Double_Box_t ph, ppl_const_Constraint_System_t cs); int ppl_Double_Box_add_congruences(ppl_Double_Box_t ph, ppl_const_Congruence_System_t cs); int ppl_Double_Box_refine_with_constraint(ppl_Double_Box_t ph, ppl_const_Constraint_t c); int ppl_Double_Box_refine_with_congruence(ppl_Double_Box_t ph, ppl_const_Congruence_t c); int ppl_Double_Box_refine_with_constraints(ppl_Double_Box_t ph, ppl_const_Constraint_System_t cs); int ppl_Double_Box_refine_with_congruences(ppl_Double_Box_t ph, ppl_const_Congruence_System_t cs); int ppl_Double_Box_intersection_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_upper_bound_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_difference_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_concatenate_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_time_elapse_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_upper_bound_assign_if_exact(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_simplify_using_context_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_drop_some_non_integer_points(ppl_Double_Box_t ph, int complexity); int ppl_Double_Box_drop_some_non_integer_points_2(ppl_Double_Box_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Double_Box_add_recycled_constraints(ppl_Double_Box_t ph, ppl_Constraint_System_t cs); int ppl_Double_Box_add_recycled_congruences(ppl_Double_Box_t ph, ppl_Congruence_System_t cs); int ppl_BD_Shape_double_topological_closure_assign(ppl_BD_Shape_double_t ph); int ppl_BD_Shape_double_add_constraint(ppl_BD_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_double_add_congruence(ppl_BD_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_double_add_constraints(ppl_BD_Shape_double_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_double_add_congruences(ppl_BD_Shape_double_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_double_refine_with_constraint(ppl_BD_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_BD_Shape_double_refine_with_congruence(ppl_BD_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_BD_Shape_double_refine_with_constraints( ppl_BD_Shape_double_t ph, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_double_refine_with_congruences( ppl_BD_Shape_double_t ph, ppl_const_Congruence_System_t cs); int ppl_BD_Shape_double_intersection_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_upper_bound_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_difference_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_concatenate_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_time_elapse_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_upper_bound_assign_if_exact( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_simplify_using_context_assign( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_drop_some_non_integer_points(ppl_BD_Shape_double_t ph, int complexity); int ppl_BD_Shape_double_drop_some_non_integer_points_2(ppl_BD_Shape_double_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_BD_Shape_double_add_recycled_constraints(ppl_BD_Shape_double_t ph, ppl_Constraint_System_t cs); int ppl_BD_Shape_double_add_recycled_congruences(ppl_BD_Shape_double_t ph, ppl_Congruence_System_t cs); int ppl_Octagonal_Shape_double_topological_closure_assign( ppl_Octagonal_Shape_double_t ph); int ppl_Octagonal_Shape_double_add_constraint(ppl_Octagonal_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_double_add_congruence(ppl_Octagonal_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_double_add_constraints( ppl_Octagonal_Shape_double_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_double_add_congruences( ppl_Octagonal_Shape_double_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_double_refine_with_constraint( ppl_Octagonal_Shape_double_t ph, ppl_const_Constraint_t c); int ppl_Octagonal_Shape_double_refine_with_congruence( ppl_Octagonal_Shape_double_t ph, ppl_const_Congruence_t c); int ppl_Octagonal_Shape_double_refine_with_constraints( ppl_Octagonal_Shape_double_t ph, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_double_refine_with_congruences( ppl_Octagonal_Shape_double_t ph, ppl_const_Congruence_System_t cs); int ppl_Octagonal_Shape_double_intersection_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_upper_bound_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_difference_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_concatenate_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_time_elapse_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_upper_bound_assign_if_exact( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_simplify_using_context_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_drop_some_non_integer_points( ppl_Octagonal_Shape_double_t ph, int complexity); int ppl_Octagonal_Shape_double_drop_some_non_integer_points_2( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type ds[], size_t n, int complexity); int ppl_Octagonal_Shape_double_add_recycled_constraints( ppl_Octagonal_Shape_double_t ph, ppl_Constraint_System_t cs); int ppl_Octagonal_Shape_double_add_recycled_congruences( ppl_Octagonal_Shape_double_t ph, ppl_Congruence_System_t cs); int ppl_Polyhedron_unconstrain_space_dimension(ppl_Polyhedron_t ph, ppl_dimension_type var); int ppl_Polyhedron_unconstrain_space_dimensions(ppl_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Grid_unconstrain_space_dimension(ppl_Grid_t ph, ppl_dimension_type var); int ppl_Grid_unconstrain_space_dimensions(ppl_Grid_t ph, ppl_dimension_type ds[], size_t n); int ppl_Rational_Box_unconstrain_space_dimension(ppl_Rational_Box_t ph, ppl_dimension_type var); int ppl_Rational_Box_unconstrain_space_dimensions(ppl_Rational_Box_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_mpz_class_unconstrain_space_dimension( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var); int ppl_BD_Shape_mpz_class_unconstrain_space_dimensions( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_mpq_class_unconstrain_space_dimension( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var); int ppl_BD_Shape_mpq_class_unconstrain_space_dimensions( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_mpz_class_unconstrain_space_dimension( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_mpz_class_unconstrain_space_dimensions( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_mpq_class_unconstrain_space_dimension( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_mpq_class_unconstrain_space_dimensions( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_Constraints_Product_C_Polyhedron_Grid_unconstrain_space_dimension( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var); int ppl_Constraints_Product_C_Polyhedron_Grid_unconstrain_space_dimensions( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type ds[], size_t n); int ppl_Pointset_Powerset_C_Polyhedron_unconstrain_space_dimension( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var); int ppl_Pointset_Powerset_C_Polyhedron_unconstrain_space_dimensions( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Pointset_Powerset_NNC_Polyhedron_unconstrain_space_dimension( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var); int ppl_Pointset_Powerset_NNC_Polyhedron_unconstrain_space_dimensions( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Double_Box_unconstrain_space_dimension(ppl_Double_Box_t ph, ppl_dimension_type var); int ppl_Double_Box_unconstrain_space_dimensions(ppl_Double_Box_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_double_unconstrain_space_dimension(ppl_BD_Shape_double_t ph, ppl_dimension_type var); int ppl_BD_Shape_double_unconstrain_space_dimensions(ppl_BD_Shape_double_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_double_unconstrain_space_dimension( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var); int ppl_Octagonal_Shape_double_unconstrain_space_dimensions( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type ds[], size_t n);
VERIFICATION_CRITERIA: Compare independent mathematical oracles and fresh native models, exactness booleans, empty operands, aliases and rejected dimensions.
SOURCE: interfaces/interfaced_polyhedra.hh; interfaces/C/tests/newoperations.c; interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc; interfaces/C/tests/domains.c; interfaces/C/tests/polyhedra.c; interfaces/C/tests/powersets.c.
-
5. C generated affine transformations UID: PPL-SPEC-001558 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000422 Sound affine forward and backward transfers (Specifies)
STATEMENT: Affine image/preimage and generalized/bounded families shall interpret expression coefficients, denominator, relation symbol and affected coordinates exactly as the corresponding native operation. Pointer parameters shall denote live expressions and coefficient objects, with native supported aliasing and nonzero-denominator rules. Successful results shall preserve the native exactness or sound enclosure guarantee.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_affine_image(ppl_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Polyhedron_affine_preimage(ppl_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Polyhedron_bounded_affine_image(ppl_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Polyhedron_bounded_affine_preimage(ppl_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Polyhedron_generalized_affine_image( ppl_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Polyhedron_generalized_affine_preimage( ppl_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Polyhedron_generalized_affine_image_lhs_rhs( ppl_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Polyhedron_generalized_affine_preimage_lhs_rhs( ppl_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Grid_affine_image(ppl_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Grid_affine_preimage(ppl_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Grid_bounded_affine_image(ppl_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Grid_bounded_affine_preimage(ppl_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Grid_generalized_affine_image(ppl_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Grid_generalized_affine_preimage(ppl_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Grid_generalized_affine_image_lhs_rhs( ppl_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Grid_generalized_affine_preimage_lhs_rhs( ppl_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Grid_generalized_affine_image_with_congruence( ppl_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d, ppl_const_Coefficient_t m); int ppl_Grid_generalized_affine_preimage_with_congruence( ppl_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d, ppl_const_Coefficient_t m); int ppl_Grid_generalized_affine_image_lhs_rhs_with_congruence( ppl_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs, ppl_const_Coefficient_t m); int ppl_Grid_generalized_affine_preimage_lhs_rhs_with_congruence( ppl_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs, ppl_const_Coefficient_t m); int ppl_Rational_Box_affine_image(ppl_Rational_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Rational_Box_affine_preimage(ppl_Rational_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Rational_Box_bounded_affine_image(ppl_Rational_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Rational_Box_bounded_affine_preimage(ppl_Rational_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Rational_Box_generalized_affine_image( ppl_Rational_Box_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Rational_Box_generalized_affine_preimage( ppl_Rational_Box_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Rational_Box_generalized_affine_image_lhs_rhs( ppl_Rational_Box_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Rational_Box_generalized_affine_preimage_lhs_rhs( ppl_Rational_Box_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_mpz_class_affine_image(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_affine_preimage(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_bounded_affine_image( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_bounded_affine_preimage( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_generalized_affine_image( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_generalized_affine_preimage( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpz_class_generalized_affine_image_lhs_rhs( ppl_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_mpz_class_generalized_affine_preimage_lhs_rhs( ppl_BD_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_mpq_class_affine_image(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_affine_preimage(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_bounded_affine_image( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_bounded_affine_preimage( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_generalized_affine_image( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_generalized_affine_preimage( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_mpq_class_generalized_affine_image_lhs_rhs( ppl_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_mpq_class_generalized_affine_preimage_lhs_rhs( ppl_BD_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_mpz_class_affine_image( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_affine_preimage( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_bounded_affine_image( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_bounded_affine_preimage( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_generalized_affine_image( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_generalized_affine_preimage( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpz_class_generalized_affine_image_lhs_rhs( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_mpz_class_generalized_affine_preimage_lhs_rhs( ppl_Octagonal_Shape_mpz_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_mpq_class_affine_image( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_affine_preimage( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_bounded_affine_image( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_bounded_affine_preimage( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_generalized_affine_image( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_generalized_affine_preimage( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_mpq_class_generalized_affine_image_lhs_rhs( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_mpq_class_generalized_affine_preimage_lhs_rhs( ppl_Octagonal_Shape_mpq_class_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Constraints_Product_C_Polyhedron_Grid_affine_image( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_affine_preimage( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_bounded_affine_image( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_bounded_affine_preimage( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_generalized_affine_image( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_generalized_affine_preimage( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Constraints_Product_C_Polyhedron_Grid_generalized_affine_image_lhs_rhs( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Constraints_Product_C_Polyhedron_Grid_generalized_affine_preimage_lhs_rhs( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Pointset_Powerset_C_Polyhedron_affine_image( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_affine_preimage( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_bounded_affine_image( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_bounded_affine_preimage( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_generalized_affine_image( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_generalized_affine_preimage( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_C_Polyhedron_generalized_affine_image_lhs_rhs( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Pointset_Powerset_C_Polyhedron_generalized_affine_preimage_lhs_rhs( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Pointset_Powerset_NNC_Polyhedron_affine_image( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_affine_preimage( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_bounded_affine_image( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_bounded_affine_preimage( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_generalized_affine_image( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_generalized_affine_preimage( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_generalized_affine_image_lhs_rhs( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Pointset_Powerset_NNC_Polyhedron_generalized_affine_preimage_lhs_rhs( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Double_Box_affine_image(ppl_Double_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Double_Box_affine_preimage(ppl_Double_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Double_Box_bounded_affine_image(ppl_Double_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Double_Box_bounded_affine_preimage(ppl_Double_Box_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Double_Box_generalized_affine_image( ppl_Double_Box_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Double_Box_generalized_affine_preimage( ppl_Double_Box_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Double_Box_generalized_affine_image_lhs_rhs( ppl_Double_Box_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Double_Box_generalized_affine_preimage_lhs_rhs( ppl_Double_Box_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_double_affine_image(ppl_BD_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_affine_preimage(ppl_BD_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_bounded_affine_image(ppl_BD_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_bounded_affine_preimage( ppl_BD_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_generalized_affine_image( ppl_BD_Shape_double_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_generalized_affine_preimage( ppl_BD_Shape_double_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_BD_Shape_double_generalized_affine_image_lhs_rhs( ppl_BD_Shape_double_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_BD_Shape_double_generalized_affine_preimage_lhs_rhs( ppl_BD_Shape_double_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_double_affine_image(ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_affine_preimage(ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_bounded_affine_image( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_bounded_affine_preimage( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, ppl_const_Linear_Expression_t lb, ppl_const_Linear_Expression_t ub, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_generalized_affine_image( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_generalized_affine_preimage( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type var, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t d); int ppl_Octagonal_Shape_double_generalized_affine_image_lhs_rhs( ppl_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs); int ppl_Octagonal_Shape_double_generalized_affine_preimage_lhs_rhs( ppl_Octagonal_Shape_double_t ph, ppl_const_Linear_Expression_t lhs, enum ppl_enum_Constraint_Type relsym, ppl_const_Linear_Expression_t rhs);
VERIFICATION_CRITERIA: Check borrowed scalars/expressions, zero and negative denominators where admitted, dimension guards and literal image/preimage sets.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/polyhedra.c.
-
6. C generated dimension arrays and maps UID: PPL-SPEC-001559 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000417 Coordinate removal and existential projection (Specifies)
- PPL-LLR-000418 Distinguished coordinate extensions (Specifies)
- PPL-LLR-000419 Coordinate remapping semantics (Specifies)
- PPL-LLR-000444 Concatenation, coordinate expansion and folding (Specifies)
STATEMENT: Dimension growth, projection/removal, expansion/folding and coordinate maps shall preserve native coordinate meanings. Counted dimension lists shall form sets where the native interface accepts sets. Map arrays shall associate source index i with entry i, using the published non-dimension sentinel for undefined entries. Entries outside the supplied array shall be undefined. Map emptiness and maximum codomain shall have finite partial-map meanings; valid maps shall satisfy the native dimension-map admission rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_add_space_dimensions_and_embed(ppl_Polyhedron_t ph, ppl_dimension_type d); int ppl_Polyhedron_add_space_dimensions_and_project(ppl_Polyhedron_t ph, ppl_dimension_type d); int ppl_Polyhedron_remove_space_dimensions(ppl_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Polyhedron_remove_higher_space_dimensions(ppl_Polyhedron_t ph, ppl_dimension_type d); int ppl_Polyhedron_expand_space_dimension(ppl_Polyhedron_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Polyhedron_fold_space_dimensions(ppl_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Polyhedron_map_space_dimensions(ppl_Polyhedron_t ph, ppl_dimension_type maps[], size_t n); int ppl_Grid_add_space_dimensions_and_embed(ppl_Grid_t ph, ppl_dimension_type d); int ppl_Grid_add_space_dimensions_and_project(ppl_Grid_t ph, ppl_dimension_type d); int ppl_Grid_remove_space_dimensions(ppl_Grid_t ph, ppl_dimension_type ds[], size_t n); int ppl_Grid_remove_higher_space_dimensions(ppl_Grid_t ph, ppl_dimension_type d); int ppl_Grid_expand_space_dimension(ppl_Grid_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Grid_fold_space_dimensions(ppl_Grid_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Grid_map_space_dimensions(ppl_Grid_t ph, ppl_dimension_type maps[], size_t n); int ppl_Rational_Box_add_space_dimensions_and_embed(ppl_Rational_Box_t ph, ppl_dimension_type d); int ppl_Rational_Box_add_space_dimensions_and_project(ppl_Rational_Box_t ph, ppl_dimension_type d); int ppl_Rational_Box_remove_space_dimensions(ppl_Rational_Box_t ph, ppl_dimension_type ds[], size_t n); int ppl_Rational_Box_remove_higher_space_dimensions(ppl_Rational_Box_t ph, ppl_dimension_type d); int ppl_Rational_Box_expand_space_dimension(ppl_Rational_Box_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Rational_Box_fold_space_dimensions(ppl_Rational_Box_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Rational_Box_map_space_dimensions(ppl_Rational_Box_t ph, ppl_dimension_type maps[], size_t n); int ppl_BD_Shape_mpz_class_add_space_dimensions_and_embed( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpz_class_add_space_dimensions_and_project( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpz_class_remove_space_dimensions(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_mpz_class_remove_higher_space_dimensions( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpz_class_expand_space_dimension(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_BD_Shape_mpz_class_fold_space_dimensions(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_BD_Shape_mpz_class_map_space_dimensions(ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type maps[], size_t n); int ppl_BD_Shape_mpq_class_add_space_dimensions_and_embed( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpq_class_add_space_dimensions_and_project( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpq_class_remove_space_dimensions(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_mpq_class_remove_higher_space_dimensions( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_BD_Shape_mpq_class_expand_space_dimension(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_BD_Shape_mpq_class_fold_space_dimensions(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_BD_Shape_mpq_class_map_space_dimensions(ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type maps[], size_t n); int ppl_Octagonal_Shape_mpz_class_add_space_dimensions_and_embed( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpz_class_add_space_dimensions_and_project( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpz_class_remove_space_dimensions( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_mpz_class_remove_higher_space_dimensions( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpz_class_expand_space_dimension( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Octagonal_Shape_mpz_class_fold_space_dimensions( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Octagonal_Shape_mpz_class_map_space_dimensions( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type maps[], size_t n); int ppl_Octagonal_Shape_mpq_class_add_space_dimensions_and_embed( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpq_class_add_space_dimensions_and_project( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpq_class_remove_space_dimensions( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_mpq_class_remove_higher_space_dimensions( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_mpq_class_expand_space_dimension( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Octagonal_Shape_mpq_class_fold_space_dimensions( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Octagonal_Shape_mpq_class_map_space_dimensions( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type maps[], size_t n); int ppl_Constraints_Product_C_Polyhedron_Grid_add_space_dimensions_and_embed( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type d); int ppl_Constraints_Product_C_Polyhedron_Grid_add_space_dimensions_and_project( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type d); int ppl_Constraints_Product_C_Polyhedron_Grid_remove_space_dimensions( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type ds[], size_t n); int ppl_Constraints_Product_C_Polyhedron_Grid_remove_higher_space_dimensions( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type d); int ppl_Constraints_Product_C_Polyhedron_Grid_expand_space_dimension( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Constraints_Product_C_Polyhedron_Grid_fold_space_dimensions( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Constraints_Product_C_Polyhedron_Grid_map_space_dimensions( ppl_Constraints_Product_C_Polyhedron_Grid_t ph, ppl_dimension_type maps[], size_t n); int ppl_Pointset_Powerset_C_Polyhedron_add_space_dimensions_and_embed( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_C_Polyhedron_add_space_dimensions_and_project( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_C_Polyhedron_remove_space_dimensions( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Pointset_Powerset_C_Polyhedron_remove_higher_space_dimensions( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_C_Polyhedron_expand_space_dimension( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Pointset_Powerset_C_Polyhedron_fold_space_dimensions( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Pointset_Powerset_C_Polyhedron_map_space_dimensions( ppl_Pointset_Powerset_C_Polyhedron_t ph, ppl_dimension_type maps[], size_t n); int ppl_Pointset_Powerset_NNC_Polyhedron_add_space_dimensions_and_embed( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_NNC_Polyhedron_add_space_dimensions_and_project( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_NNC_Polyhedron_remove_space_dimensions( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type ds[], size_t n); int ppl_Pointset_Powerset_NNC_Polyhedron_remove_higher_space_dimensions( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type d); int ppl_Pointset_Powerset_NNC_Polyhedron_expand_space_dimension( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Pointset_Powerset_NNC_Polyhedron_fold_space_dimensions( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Pointset_Powerset_NNC_Polyhedron_map_space_dimensions( ppl_Pointset_Powerset_NNC_Polyhedron_t ph, ppl_dimension_type maps[], size_t n); int ppl_Double_Box_add_space_dimensions_and_embed(ppl_Double_Box_t ph, ppl_dimension_type d); int ppl_Double_Box_add_space_dimensions_and_project(ppl_Double_Box_t ph, ppl_dimension_type d); int ppl_Double_Box_remove_space_dimensions(ppl_Double_Box_t ph, ppl_dimension_type ds[], size_t n); int ppl_Double_Box_remove_higher_space_dimensions(ppl_Double_Box_t ph, ppl_dimension_type d); int ppl_Double_Box_expand_space_dimension(ppl_Double_Box_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Double_Box_fold_space_dimensions(ppl_Double_Box_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Double_Box_map_space_dimensions(ppl_Double_Box_t ph, ppl_dimension_type maps[], size_t n); int ppl_BD_Shape_double_add_space_dimensions_and_embed(ppl_BD_Shape_double_t ph, ppl_dimension_type d); int ppl_BD_Shape_double_add_space_dimensions_and_project( ppl_BD_Shape_double_t ph, ppl_dimension_type d); int ppl_BD_Shape_double_remove_space_dimensions(ppl_BD_Shape_double_t ph, ppl_dimension_type ds[], size_t n); int ppl_BD_Shape_double_remove_higher_space_dimensions(ppl_BD_Shape_double_t ph, ppl_dimension_type d); int ppl_BD_Shape_double_expand_space_dimension(ppl_BD_Shape_double_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_BD_Shape_double_fold_space_dimensions(ppl_BD_Shape_double_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_BD_Shape_double_map_space_dimensions(ppl_BD_Shape_double_t ph, ppl_dimension_type maps[], size_t n); int ppl_Octagonal_Shape_double_add_space_dimensions_and_embed( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_double_add_space_dimensions_and_project( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_double_remove_space_dimensions( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type ds[], size_t n); int ppl_Octagonal_Shape_double_remove_higher_space_dimensions( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type d); int ppl_Octagonal_Shape_double_expand_space_dimension( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type d, ppl_dimension_type m); int ppl_Octagonal_Shape_double_fold_space_dimensions( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type ds[], size_t n, ppl_dimension_type d); int ppl_Octagonal_Shape_double_map_space_dimensions( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type maps[], size_t n);
VERIFICATION_CRITERIA: Check empty and sparse maps, reserved entries, reordered coordinates, duplicate dimension selections, valid codomain maxima and native growth limits.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/polyhedra.c.
-
7. C generated convergence operations UID: PPL-SPEC-001560 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Selected widening, extrapolation and narrowing functions shall apply their corresponding native operators and preconditions. Optional token pointers shall be forwarded with native token-update meaning; convenience forms shall have the same effect as their tokenless native form. Constraints limiting or bounding extrapolation shall retain their native role. These operations shall not be reinterpreted as exact joins or intersections.
The Rational_Box powerset BHZ03_CC76_CC76 function shall use the default CC76 stopping points and tokenless certificate contract of 🔗 5. Threshold-aware CC76 box convergence certificates. It shall be available when the powerset interface is selected, even when the separate Rational_Box interface is not selected. Other box types shall remain excluded unless separately certified for export.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_BHRZ03_widening_assign_with_tokens(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, unsigned *tp); int ppl_Polyhedron_H79_widening_assign_with_tokens(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, unsigned *tp); int ppl_Polyhedron_BHRZ03_widening_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_H79_widening_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_widening_assign_with_tokens(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, unsigned *tp); int ppl_Polyhedron_widening_assign(ppl_Polyhedron_t x, ppl_const_Polyhedron_t y); int ppl_Polyhedron_limited_BHRZ03_extrapolation_assign_with_tokens( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Polyhedron_bounded_BHRZ03_extrapolation_assign_with_tokens( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Polyhedron_limited_H79_extrapolation_assign_with_tokens( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Polyhedron_bounded_H79_extrapolation_assign_with_tokens( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Polyhedron_limited_BHRZ03_extrapolation_assign( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs); int ppl_Polyhedron_bounded_BHRZ03_extrapolation_assign( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs); int ppl_Polyhedron_limited_H79_extrapolation_assign( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs); int ppl_Polyhedron_bounded_H79_extrapolation_assign( ppl_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_const_Constraint_System_t cs); int ppl_Grid_congruence_widening_assign_with_tokens(ppl_Grid_t x, ppl_const_Grid_t y, unsigned *tp); int ppl_Grid_generator_widening_assign_with_tokens(ppl_Grid_t x, ppl_const_Grid_t y, unsigned *tp); int ppl_Grid_congruence_widening_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_generator_widening_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_widening_assign_with_tokens(ppl_Grid_t x, ppl_const_Grid_t y, unsigned *tp); int ppl_Grid_widening_assign(ppl_Grid_t x, ppl_const_Grid_t y); int ppl_Grid_limited_congruence_extrapolation_assign_with_tokens( ppl_Grid_t x, ppl_const_Grid_t y, ppl_const_Congruence_System_t cs, unsigned *tp); int ppl_Grid_limited_generator_extrapolation_assign_with_tokens( ppl_Grid_t x, ppl_const_Grid_t y, ppl_const_Congruence_System_t cs, unsigned *tp); int ppl_Grid_limited_congruence_extrapolation_assign( ppl_Grid_t x, ppl_const_Grid_t y, ppl_const_Congruence_System_t cs); int ppl_Grid_limited_generator_extrapolation_assign( ppl_Grid_t x, ppl_const_Grid_t y, ppl_const_Congruence_System_t cs); int ppl_Rational_Box_CC76_widening_assign_with_tokens( ppl_Rational_Box_t x, ppl_const_Rational_Box_t y, unsigned *tp); int ppl_Rational_Box_CC76_widening_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_widening_assign_with_tokens(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y, unsigned *tp); int ppl_Rational_Box_widening_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_Rational_Box_limited_CC76_extrapolation_assign_with_tokens( ppl_Rational_Box_t x, ppl_const_Rational_Box_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Rational_Box_limited_CC76_extrapolation_assign( ppl_Rational_Box_t x, ppl_const_Rational_Box_t y, ppl_const_Constraint_System_t cs); int ppl_Rational_Box_CC76_narrowing_assign(ppl_Rational_Box_t x, ppl_const_Rational_Box_t y); int ppl_BD_Shape_mpz_class_BHMZ05_widening_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, unsigned *tp); int ppl_BD_Shape_mpz_class_H79_widening_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, unsigned *tp); int ppl_BD_Shape_mpz_class_BHMZ05_widening_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_H79_widening_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_widening_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, unsigned *tp); int ppl_BD_Shape_mpz_class_widening_assign(ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpz_class_limited_H79_extrapolation_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpz_class_limited_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpz_class_limited_BHMZ05_extrapolation_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_limited_H79_extrapolation_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_limited_CC76_extrapolation_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpz_class_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, unsigned *tp); int ppl_BD_Shape_mpz_class_CC76_extrapolation_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpz_class_CC76_narrowing_assign( ppl_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y); int ppl_BD_Shape_mpq_class_BHMZ05_widening_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, unsigned *tp); int ppl_BD_Shape_mpq_class_H79_widening_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, unsigned *tp); int ppl_BD_Shape_mpq_class_BHMZ05_widening_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_H79_widening_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_widening_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, unsigned *tp); int ppl_BD_Shape_mpq_class_widening_assign(ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpq_class_limited_H79_extrapolation_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpq_class_limited_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_mpq_class_limited_BHMZ05_extrapolation_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_limited_H79_extrapolation_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_limited_CC76_extrapolation_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_mpq_class_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, unsigned *tp); int ppl_BD_Shape_mpq_class_CC76_extrapolation_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_BD_Shape_mpq_class_CC76_narrowing_assign( ppl_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpz_class_BHMZ05_widening_assign_with_tokens( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpz_class_BHMZ05_widening_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_widening_assign_with_tokens( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpz_class_widening_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_mpz_class_limited_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_mpz_class_limited_BHMZ05_extrapolation_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpz_class_limited_CC76_extrapolation_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpz_class_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpz_class_CC76_extrapolation_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpz_class_CC76_narrowing_assign( ppl_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y); int ppl_Octagonal_Shape_mpq_class_BHMZ05_widening_assign_with_tokens( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpq_class_BHMZ05_widening_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_widening_assign_with_tokens( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpq_class_widening_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_mpq_class_limited_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_mpq_class_limited_BHMZ05_extrapolation_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpq_class_limited_CC76_extrapolation_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_mpq_class_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, unsigned *tp); int ppl_Octagonal_Shape_mpq_class_CC76_extrapolation_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Octagonal_Shape_mpq_class_CC76_narrowing_assign( ppl_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y); int ppl_Constraints_Product_C_Polyhedron_Grid_widening_assign_with_tokens( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y, unsigned *tp); int ppl_Constraints_Product_C_Polyhedron_Grid_widening_assign( ppl_Constraints_Product_C_Polyhedron_Grid_t x, ppl_const_Constraints_Product_C_Polyhedron_Grid_t y); int ppl_Pointset_Powerset_Rational_Box_BHZ03_CC76_CC76_widening_assign( ppl_Pointset_Powerset_Rational_Box_t x, ppl_const_Pointset_Powerset_Rational_Box_t y); int ppl_Pointset_Powerset_C_Polyhedron_BHZ03_BHRZ03_BHRZ03_widening_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_BHZ03_H79_H79_widening_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y); int ppl_Pointset_Powerset_C_Polyhedron_BGP99_BHRZ03_extrapolation_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y, unsigned disjuncts); int ppl_Pointset_Powerset_C_Polyhedron_BGP99_H79_extrapolation_assign( ppl_Pointset_Powerset_C_Polyhedron_t x, ppl_const_Pointset_Powerset_C_Polyhedron_t y, unsigned disjuncts); int ppl_Pointset_Powerset_NNC_Polyhedron_BHZ03_BHRZ03_BHRZ03_widening_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_BHZ03_H79_H79_widening_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_BGP99_BHRZ03_extrapolation_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y, unsigned disjuncts); int ppl_Pointset_Powerset_NNC_Polyhedron_BGP99_H79_extrapolation_assign( ppl_Pointset_Powerset_NNC_Polyhedron_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_t y, unsigned disjuncts); int ppl_Double_Box_CC76_widening_assign_with_tokens(ppl_Double_Box_t x, ppl_const_Double_Box_t y, unsigned *tp); int ppl_Double_Box_CC76_widening_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_widening_assign_with_tokens(ppl_Double_Box_t x, ppl_const_Double_Box_t y, unsigned *tp); int ppl_Double_Box_widening_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_Double_Box_limited_CC76_extrapolation_assign_with_tokens( ppl_Double_Box_t x, ppl_const_Double_Box_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Double_Box_limited_CC76_extrapolation_assign( ppl_Double_Box_t x, ppl_const_Double_Box_t y, ppl_const_Constraint_System_t cs); int ppl_Double_Box_CC76_narrowing_assign(ppl_Double_Box_t x, ppl_const_Double_Box_t y); int ppl_BD_Shape_double_BHMZ05_widening_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, unsigned *tp); int ppl_BD_Shape_double_H79_widening_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, unsigned *tp); int ppl_BD_Shape_double_BHMZ05_widening_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_H79_widening_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_widening_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, unsigned *tp); int ppl_BD_Shape_double_widening_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_double_limited_H79_extrapolation_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_double_limited_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_BD_Shape_double_limited_BHMZ05_extrapolation_assign( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_double_limited_H79_extrapolation_assign( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_double_limited_CC76_extrapolation_assign( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_const_Constraint_System_t cs); int ppl_BD_Shape_double_CC76_extrapolation_assign_with_tokens( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, unsigned *tp); int ppl_BD_Shape_double_CC76_extrapolation_assign( ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_BD_Shape_double_CC76_narrowing_assign(ppl_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y); int ppl_Octagonal_Shape_double_BHMZ05_widening_assign_with_tokens( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, unsigned *tp); int ppl_Octagonal_Shape_double_BHMZ05_widening_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_widening_assign_with_tokens( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, unsigned *tp); int ppl_Octagonal_Shape_double_widening_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_limited_BHMZ05_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_double_limited_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, ppl_const_Constraint_System_t cs, unsigned *tp); int ppl_Octagonal_Shape_double_limited_BHMZ05_extrapolation_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_double_limited_CC76_extrapolation_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, ppl_const_Constraint_System_t cs); int ppl_Octagonal_Shape_double_CC76_extrapolation_assign_with_tokens( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, unsigned *tp); int ppl_Octagonal_Shape_double_CC76_extrapolation_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y); int ppl_Octagonal_Shape_double_CC76_narrowing_assign( ppl_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y);
VERIFICATION_CRITERIA: Exercise ascending powerset-box histories, finite stabilization, geometric coverage and source preservation, including an isolated powerset selection.
Compare native and C histories, token effects, stable limits, empty/universe arguments and required inclusion/dimension conditions.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.
-
8. C finite-disjunction ownership and traversal UID: PPL-SPEC-001561 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Generated powerset iterator objects shall own only positions in a live disjunction. Disjunct getters shall return borrowed const disjuncts; adding shall copy the supplied value. Single/range removal shall use valid positions and native invalidation rules. Disjunct iteration shall preserve the native representation and shall not assert a canonical or pairwise-disjoint decomposition.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_new_Pointset_Powerset_C_Polyhedron_iterator( ppl_Pointset_Powerset_C_Polyhedron_iterator_t *pit); int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t *pit); int ppl_new_Pointset_Powerset_C_Polyhedron_iterator_from_iterator( ppl_Pointset_Powerset_C_Polyhedron_iterator_t *px, ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t y); int ppl_new_Pointset_Powerset_C_Polyhedron_const_iterator_from_const_iterator( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t *px, ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y); int ppl_Pointset_Powerset_C_Polyhedron_iterator_begin( ppl_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_begin( ppl_const_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_iterator_end( ppl_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_end( ppl_const_Pointset_Powerset_C_Polyhedron_t ps, ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_iterator_equal_test( ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t x, ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t y); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_equal_test( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t x, ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t y); int ppl_Pointset_Powerset_C_Polyhedron_iterator_increment( ppl_Pointset_Powerset_C_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_increment( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_iterator_decrement( ppl_Pointset_Powerset_C_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_decrement( ppl_Pointset_Powerset_C_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_iterator_dereference( ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t ps, ppl_const_Polyhedron_t *d); int ppl_Pointset_Powerset_C_Polyhedron_const_iterator_dereference( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t ps, ppl_const_Polyhedron_t *d); int ppl_delete_Pointset_Powerset_C_Polyhedron_iterator( ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t psit); int ppl_delete_Pointset_Powerset_C_Polyhedron_const_iterator( ppl_const_Pointset_Powerset_C_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_C_Polyhedron_add_disjunct( ppl_Pointset_Powerset_C_Polyhedron_t ps, ppl_const_Polyhedron_t d); int ppl_Pointset_Powerset_C_Polyhedron_drop_disjunct( ppl_Pointset_Powerset_C_Polyhedron_t ps, ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t cit, ppl_Pointset_Powerset_C_Polyhedron_iterator_t it); int ppl_Pointset_Powerset_C_Polyhedron_drop_disjuncts( ppl_Pointset_Powerset_C_Polyhedron_t ps, ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t first, ppl_const_Pointset_Powerset_C_Polyhedron_iterator_t last); int ppl_new_Pointset_Powerset_NNC_Polyhedron_iterator( ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t *pit); int ppl_new_Pointset_Powerset_NNC_Polyhedron_const_iterator( ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t *pit); int ppl_new_Pointset_Powerset_NNC_Polyhedron_iterator_from_iterator( ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t *px, ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t y); int ppl_new_Pointset_Powerset_NNC_Polyhedron_const_iterator_from_const_iterator( ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t *px, ppl_const_Pointset_Powerset_NNC_Polyhedron_const_iterator_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_begin( ppl_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_begin( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_end( ppl_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_end( ppl_const_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_equal_test( ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_equal_test( ppl_const_Pointset_Powerset_NNC_Polyhedron_const_iterator_t x, ppl_const_Pointset_Powerset_NNC_Polyhedron_const_iterator_t y); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_increment( ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_increment( ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_decrement( ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_decrement( ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_iterator_dereference( ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t ps, ppl_const_Polyhedron_t *d); int ppl_Pointset_Powerset_NNC_Polyhedron_const_iterator_dereference( ppl_const_Pointset_Powerset_NNC_Polyhedron_const_iterator_t ps, ppl_const_Polyhedron_t *d); int ppl_delete_Pointset_Powerset_NNC_Polyhedron_iterator( ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t psit); int ppl_delete_Pointset_Powerset_NNC_Polyhedron_const_iterator( ppl_const_Pointset_Powerset_NNC_Polyhedron_const_iterator_t psit); int ppl_Pointset_Powerset_NNC_Polyhedron_add_disjunct( ppl_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_const_Polyhedron_t d); int ppl_Pointset_Powerset_NNC_Polyhedron_drop_disjunct( ppl_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t cit, ppl_Pointset_Powerset_NNC_Polyhedron_iterator_t it); int ppl_Pointset_Powerset_NNC_Polyhedron_drop_disjuncts( ppl_Pointset_Powerset_NNC_Polyhedron_t ps, ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t first, ppl_const_Pointset_Powerset_NNC_Polyhedron_iterator_t last);
VERIFICATION_CRITERIA: Check independent added values, borrowed traversal, empty/nonempty begin/end, copy/assignment and removal/invalidation histories.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/powersets.c.
-
9. C partition result ownership UID: PPL-SPEC-001562 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Partition functions shall produce the corresponding native intersection and finite-disjunction remainder, including the native finiteness/exactness indicator where provided. Successful output handles shall denote independently owned results. Results shall be published only after all required owned outputs have been acquired; failure shall release partial results and preserve output handle values. Output addresses shall be distinct as required.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_linear_partition( ppl_const_Polyhedron_t x, ppl_const_Polyhedron_t y, ppl_Polyhedron_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_Rational_Box_linear_partition( ppl_const_Rational_Box_t x, ppl_const_Rational_Box_t y, ppl_Rational_Box_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_BD_Shape_mpz_class_linear_partition( ppl_const_BD_Shape_mpz_class_t x, ppl_const_BD_Shape_mpz_class_t y, ppl_BD_Shape_mpz_class_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_BD_Shape_mpq_class_linear_partition( ppl_const_BD_Shape_mpq_class_t x, ppl_const_BD_Shape_mpq_class_t y, ppl_BD_Shape_mpq_class_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_Octagonal_Shape_mpz_class_linear_partition( ppl_const_Octagonal_Shape_mpz_class_t x, ppl_const_Octagonal_Shape_mpz_class_t y, ppl_Octagonal_Shape_mpz_class_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_Octagonal_Shape_mpq_class_linear_partition( ppl_const_Octagonal_Shape_mpq_class_t x, ppl_const_Octagonal_Shape_mpq_class_t y, ppl_Octagonal_Shape_mpq_class_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_Double_Box_linear_partition( ppl_const_Double_Box_t x, ppl_const_Double_Box_t y, ppl_Double_Box_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_BD_Shape_double_linear_partition( ppl_const_BD_Shape_double_t x, ppl_const_BD_Shape_double_t y, ppl_BD_Shape_double_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest); int ppl_Octagonal_Shape_double_linear_partition( ppl_const_Octagonal_Shape_double_t x, ppl_const_Octagonal_Shape_double_t y, ppl_Octagonal_Shape_double_t *p_inters, ppl_Pointset_Powerset_NNC_Polyhedron_t *p_rest);
VERIFICATION_CRITERIA: Check literal partitions and their union/disjointness guarantees, indicator meaning, independent destruction and failure at each acquisition frontier.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/partitions.c.
-
10. C affine-ranking outcomes and coefficient spaces UID: PPL-SPEC-001563 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000121 Transition-coordinate interpretation (Specifies)
- PPL-LLR-000122 Sound positive results and inconclusive negative results (Specifies)
- PPL-LLR-000123 Ranking-witness validity (Specifies)
- PPL-LLR-000124 Normalized ranking-function spaces (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Generated termination tests and one/all-ranking functions shall preserve the selected native MS/PR method, including the coordinate interpretation in 🔗 1. Transition encoding and ranking interpretation, normalization and strictness conventions. A false test or witness result shall remain inconclusive about termination. Successful witnesses shall satisfy the native ranking obligations; all-ranking outputs shall represent the native coefficient space, including universe for empty transitions. Paired input dimensions and selected output types shall satisfy native and binding-generation dependencies.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_termination_test_MS_C_Polyhedron(ppl_const_Polyhedron_t pset); int ppl_termination_test_PR_C_Polyhedron(ppl_const_Polyhedron_t pset); int ppl_termination_test_MS_NNC_Polyhedron(ppl_const_Polyhedron_t pset); int ppl_termination_test_PR_NNC_Polyhedron(ppl_const_Polyhedron_t pset); int ppl_one_affine_ranking_function_MS_C_Polyhedron(ppl_const_Polyhedron_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_C_Polyhedron(ppl_const_Polyhedron_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_MS_NNC_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_NNC_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_C_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_C_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_MS_NNC_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_NNC_Polyhedron( ppl_const_Polyhedron_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_C_Polyhedron_2(ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after); int ppl_termination_test_PR_C_Polyhedron_2(ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after); int ppl_termination_test_MS_NNC_Polyhedron_2(ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after); int ppl_termination_test_PR_NNC_Polyhedron_2(ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after); int ppl_one_affine_ranking_function_MS_C_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_C_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_MS_NNC_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_NNC_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_C_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_C_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_MS_NNC_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_NNC_Polyhedron_2( ppl_const_Polyhedron_t pset_before, ppl_const_Polyhedron_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Grid(ppl_const_Grid_t pset); int ppl_termination_test_PR_Grid(ppl_const_Grid_t pset); int ppl_one_affine_ranking_function_MS_Grid(ppl_const_Grid_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Grid(ppl_const_Grid_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Grid(ppl_const_Grid_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Grid(ppl_const_Grid_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after); int ppl_termination_test_PR_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after); int ppl_one_affine_ranking_function_MS_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Grid_2(ppl_const_Grid_t pset_before, ppl_const_Grid_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Rational_Box(ppl_const_Rational_Box_t pset); int ppl_termination_test_PR_Rational_Box(ppl_const_Rational_Box_t pset); int ppl_one_affine_ranking_function_MS_Rational_Box( ppl_const_Rational_Box_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Rational_Box( ppl_const_Rational_Box_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Rational_Box( ppl_const_Rational_Box_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Rational_Box( ppl_const_Rational_Box_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Rational_Box_2(ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after); int ppl_termination_test_PR_Rational_Box_2(ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after); int ppl_one_affine_ranking_function_MS_Rational_Box_2( ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Rational_Box_2( ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Rational_Box_2( ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Rational_Box_2( ppl_const_Rational_Box_t pset_before, ppl_const_Rational_Box_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset); int ppl_termination_test_PR_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset); int ppl_one_affine_ranking_function_MS_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_mpz_class( ppl_const_BD_Shape_mpz_class_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after); int ppl_termination_test_PR_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after); int ppl_one_affine_ranking_function_MS_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_mpz_class_2( ppl_const_BD_Shape_mpz_class_t pset_before, ppl_const_BD_Shape_mpz_class_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset); int ppl_termination_test_PR_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset); int ppl_one_affine_ranking_function_MS_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_mpq_class( ppl_const_BD_Shape_mpq_class_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after); int ppl_termination_test_PR_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after); int ppl_one_affine_ranking_function_MS_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_mpq_class_2( ppl_const_BD_Shape_mpq_class_t pset_before, ppl_const_BD_Shape_mpq_class_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset); int ppl_termination_test_PR_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_mpz_class( ppl_const_Octagonal_Shape_mpz_class_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after); int ppl_termination_test_PR_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_mpz_class_2( ppl_const_Octagonal_Shape_mpz_class_t pset_before, ppl_const_Octagonal_Shape_mpz_class_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset); int ppl_termination_test_PR_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_mpq_class( ppl_const_Octagonal_Shape_mpq_class_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after); int ppl_termination_test_PR_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_mpq_class_2( ppl_const_Octagonal_Shape_mpq_class_t pset_before, ppl_const_Octagonal_Shape_mpq_class_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Double_Box(ppl_const_Double_Box_t pset); int ppl_termination_test_PR_Double_Box(ppl_const_Double_Box_t pset); int ppl_one_affine_ranking_function_MS_Double_Box(ppl_const_Double_Box_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Double_Box(ppl_const_Double_Box_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Double_Box(ppl_const_Double_Box_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Double_Box(ppl_const_Double_Box_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Double_Box_2(ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after); int ppl_termination_test_PR_Double_Box_2(ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after); int ppl_one_affine_ranking_function_MS_Double_Box_2( ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Double_Box_2( ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Double_Box_2( ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Double_Box_2( ppl_const_Double_Box_t pset_before, ppl_const_Double_Box_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_double(ppl_const_BD_Shape_double_t pset); int ppl_termination_test_PR_BD_Shape_double(ppl_const_BD_Shape_double_t pset); int ppl_one_affine_ranking_function_MS_BD_Shape_double( ppl_const_BD_Shape_double_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_double( ppl_const_BD_Shape_double_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_double( ppl_const_BD_Shape_double_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_double( ppl_const_BD_Shape_double_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after); int ppl_termination_test_PR_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after); int ppl_one_affine_ranking_function_MS_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_BD_Shape_double_2( ppl_const_BD_Shape_double_t pset_before, ppl_const_BD_Shape_double_t pset_after, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset); int ppl_termination_test_PR_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_double( ppl_const_Octagonal_Shape_double_t pset, ppl_Polyhedron_t ph); int ppl_termination_test_MS_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after); int ppl_termination_test_PR_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after); int ppl_one_affine_ranking_function_MS_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after, ppl_Generator_t point); int ppl_one_affine_ranking_function_PR_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after, ppl_Generator_t point); int ppl_all_affine_ranking_functions_MS_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after, ppl_Polyhedron_t ph); int ppl_all_affine_ranking_functions_PR_Octagonal_Shape_double_2( ppl_const_Octagonal_Shape_double_t pset_before, ppl_const_Octagonal_Shape_double_t pset_after, ppl_Polyhedron_t ph);
VERIFICATION_CRITERIA: Compare full ranking spaces and independently checked witnesses, vacuous paired inputs, strict boundaries, unsupported dimensions and selected-domain generation.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.
-
11. C bounded integer wrapping UID: PPL-SPEC-001564 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000428 Modeled bounded-integer arithmetic and wrapping (Specifies)
STATEMENT: Generated wrap functions shall interpret the selected coordinate set, width, signedness, overflow mode, guard system, complexity threshold and individual/joint option as the corresponding native bounded-integer wrapping operation. Width and representation shall define the same finite integer range; permitted approximations shall remain sound. The guard argument shall address a readable constraint-system handle. A null handle stored at that address shall denote absent guards; the address itself shall be non-null.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Generated forwarding must retain the native mathematical and ownership contract.
INTERFACE: Public header: <ppl_c.h>. The concrete domain names below are available when their corresponding domain types and dependencies are selected.
int ppl_Polyhedron_wrap_assign( ppl_Polyhedron_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Grid_wrap_assign(ppl_Grid_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Rational_Box_wrap_assign( ppl_Rational_Box_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_BD_Shape_mpz_class_wrap_assign( ppl_BD_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_BD_Shape_mpq_class_wrap_assign( ppl_BD_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Octagonal_Shape_mpz_class_wrap_assign( ppl_Octagonal_Shape_mpz_class_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Octagonal_Shape_mpq_class_wrap_assign( ppl_Octagonal_Shape_mpq_class_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Double_Box_wrap_assign( ppl_Double_Box_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_BD_Shape_double_wrap_assign( ppl_BD_Shape_double_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually); int ppl_Octagonal_Shape_double_wrap_assign( ppl_Octagonal_Shape_double_t ph, ppl_dimension_type ds[], size_t n, enum ppl_enum_Bounded_Integer_Type_Width w, enum ppl_enum_Bounded_Integer_Type_Representation r, enum ppl_enum_Bounded_Integer_Type_Overflow o, const ppl_const_Constraint_System_t *pcs, unsigned complexity_threshold, int wrap_individually);
VERIFICATION_CRITERIA: Check width/sign/overflow combinations, exact modular witnesses, absent/present guards, supported integer-coordinate selections and native soundness conditions.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.
-
1. C mixed integer problem values UID: PPL-SPEC-001539 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000101 Mixed integer problem interpretation (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: MIP constructors shall create an owned trivial, copied or constraint/objective/mode problem with the corresponding native MIP_Problem meaning. Copied constraints and objectives shall remain independent of later source mutations. Assignment shall replace the problem; deletion shall release owned state. A failed constructor shall leave its output handle unchanged and release acquired resources. The accepted mode shall select the published minimization value or maximization behavior.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C solver objects require independent native lifetimes.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_MIP_Problem_from_space_dimension(ppl_MIP_Problem_t *pmip, ppl_dimension_type d); int ppl_new_MIP_Problem(ppl_MIP_Problem_t *pmip, ppl_dimension_type d, ppl_const_Constraint_System_t cs, ppl_const_Linear_Expression_t le, int m); int ppl_new_MIP_Problem_from_MIP_Problem(ppl_MIP_Problem_t *pmip, ppl_const_MIP_Problem_t mip); int ppl_assign_MIP_Problem_from_MIP_Problem(ppl_MIP_Problem_t dst, ppl_const_MIP_Problem_t src); int ppl_delete_MIP_Problem(ppl_const_MIP_Problem_t mip);
VERIFICATION_CRITERIA: Check each constructor, real/integer feasibility distinctions, source mutation, owned copy histories and construction failure cleanup.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
2. C mixed integer descriptors and borrowing UID: PPL-SPEC-001540 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000101 Mixed integer problem interpretation (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: MIP queries shall report ambient dimension, integer-coordinate count/list, constraint count and optimization mode. Constraint-at-index and objective getters shall return borrowed const views of the stored problem. An admitted strict inequality shall appear as the equivalent closed row under the declared integrality restrictions. Indexed constraints shall follow native insertion order and reject out-of-range indices. The caller shall supply output arrays large enough for the separately queried count. Borrowed descriptors shall not be deleted or mutated and shall remain valid only under the accessor's owner-lifetime/invalidation rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Canonical admitted descriptors must remain distinct from the transformed simplex representation. Integer-supported strict rows use the closed storage described by 🔗 1. Integer-supported strict MIP admission.
INTERFACE: Public header: <ppl_c.h>.
int ppl_MIP_Problem_space_dimension(ppl_const_MIP_Problem_t mip, ppl_dimension_type *m); int ppl_MIP_Problem_number_of_integer_space_dimensions( ppl_const_MIP_Problem_t mip, ppl_dimension_type *m); int ppl_MIP_Problem_integer_space_dimensions(ppl_const_MIP_Problem_t mip, ppl_dimension_type ds[]); int ppl_MIP_Problem_number_of_constraints(ppl_const_MIP_Problem_t mip, ppl_dimension_type *m); int ppl_MIP_Problem_constraint_at_index(ppl_const_MIP_Problem_t mip, ppl_dimension_type i, ppl_const_Constraint_t *pc); int ppl_MIP_Problem_objective_function(ppl_const_MIP_Problem_t mip, ppl_const_Linear_Expression_t *ple); int ppl_MIP_Problem_optimization_mode(ppl_const_MIP_Problem_t mip);
VERIFICATION_CRITERIA: Compare exact descriptors and index lists after additions, copy and solving; exercise first/last/rejected indices and valid borrowed inspection.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
3. C mixed integer incremental updates UID: PPL-SPEC-001541 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000101 Mixed integer problem interpretation (Specifies)
- PPL-LLR-000104 Incremental problem changes preserve semantics (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: MIP clear, dimension growth, integer-coordinate selection, constraint additions and objective/mode replacement shall forward the corresponding native updates, including integer-supported strict admission under 🔗 1. Integer-supported strict MIP admission. Counted dimension arrays shall identify selected coordinates, with duplicates having set semantics. Completed later queries shall describe the updated problem; native admission errors shall retain their categories. Clear shall restore the zero-dimensional trivial problem.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Incremental C solving must agree with rebuilding the same native model.
INTERFACE: Public header: <ppl_c.h>.
int ppl_MIP_Problem_clear(ppl_MIP_Problem_t mip); int ppl_MIP_Problem_add_space_dimensions_and_embed(ppl_MIP_Problem_t mip, ppl_dimension_type d); int ppl_MIP_Problem_add_to_integer_space_dimensions(ppl_MIP_Problem_t mip, ppl_dimension_type ds[], size_t n); int ppl_MIP_Problem_add_constraint(ppl_MIP_Problem_t mip, ppl_const_Constraint_t c); int ppl_MIP_Problem_add_constraints(ppl_MIP_Problem_t mip, ppl_const_Constraint_System_t cs); int ppl_MIP_Problem_set_objective_function(ppl_MIP_Problem_t mip, ppl_const_Linear_Expression_t le); int ppl_MIP_Problem_set_optimization_mode(ppl_MIP_Problem_t mip, int mode);
VERIFICATION_CRITERIA: Compare independent fresh models after each update, including new integer coordinates, free dimensions, contradictory cuts and objective reversal.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C mixed integer solution outcomes and witnesses UID: PPL-SPEC-001542 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000102 Correct completed optimization outcomes (Specifies)
- PPL-LLR-000103 Feasible and optimal witnesses (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Satisfiability shall return the native boolean result. Solve shall return the published infeasible, unbounded or optimized status. Feasible/optimizing point getters shall return borrowed native point witnesses and reject requests for unavailable witnesses; their output handles shall remain unchanged on failure. Objective evaluation and optimum queries shall assign exact numerator/positive denominator values to existing coefficient objects under native admission and nonaliasing prerequisites. Solver-computing calls may invalidate earlier borrowed witnesses.
The standalone strict mixed-integer query shall decide the exact feasibility contract in 🔗 1. Exact strict mixed-integer feasibility using its explicit ambient dimension. Unused coordinates and empty systems shall retain that dimension. Out-of-space rows or integer coordinates shall be rejected. Constraint-system dimension completion shall occur on a copy, preserving the input and its metadata. The standalone query shall remain available with no selected domain interface.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A borrowed witness and a status have distinct ownership and mathematical roles.
INTERFACE: Public header: <ppl_c.h>.
int ppl_is_mixed_integer_satisfiable(ppl_dimension_type dimension, ppl_const_Constraint_System_t cs, const ppl_dimension_type integers[], size_t n); int ppl_MIP_Problem_is_satisfiable(ppl_const_MIP_Problem_t mip); int ppl_MIP_Problem_solve(ppl_const_MIP_Problem_t mip); int ppl_MIP_Problem_evaluate_objective_function(ppl_const_MIP_Problem_t mip, ppl_const_Generator_t g, ppl_Coefficient_t num, ppl_Coefficient_t den); int ppl_MIP_Problem_feasible_point(ppl_const_MIP_Problem_t mip, ppl_const_Generator_t *pg); int ppl_MIP_Problem_optimizing_point(ppl_const_MIP_Problem_t mip, ppl_const_Generator_t *pg); int ppl_MIP_Problem_optimal_value(ppl_const_MIP_Problem_t mip, ppl_Coefficient_t num, ppl_Coefficient_t den);
VERIFICATION_CRITERIA: Check all three solve outcomes, exact rational objectives, mixed integrality, witness satisfaction, failure outputs and repeated/incremental solving.
SOURCE: interfaces/interfaced_polyhedra.hh; interfaces/C/tests/newoperations.c; interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
5. C mixed integer controls, validity and memory UID: PPL-SPEC-001543 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Control functions shall use the published native pricing names/values and return or apply the corresponding supported strategy. Validity shall return the native invariant result. Memory queries shall assign native total/external estimates to the caller's size_t outputs. Pricing shall affect the search strategy without changing the exact successful mathematical result.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Heuristic controls and storage estimates must not weaken numerical guarantees.
INTERFACE: Public header: <ppl_c.h>.
int ppl_MIP_Problem_OK(ppl_const_MIP_Problem_t mip); int ppl_MIP_Problem_get_control_parameter(ppl_const_MIP_Problem_t mip, int name); int ppl_MIP_Problem_set_control_parameter(ppl_MIP_Problem_t mip, int value); int ppl_MIP_Problem_total_memory_in_bytes(ppl_const_MIP_Problem_t mip, size_t *sz); int ppl_MIP_Problem_external_memory_in_bytes(ppl_const_MIP_Problem_t mip, size_t *sz);
VERIFICATION_CRITERIA: Exercise supported pricing values against independently known optima and inspect validity and memory across copy, pending and solved states.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C reloadable FILE representations UID: PPL-SPEC-001522 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000446 Reloadable textual representations (Specifies)
STATEMENT: For types with ASCII operations, ppl_T_ascii_dump shall write the native reloadable representation to a live FILE. ppl_T_ascii_load shall replace the mutable owned object's value when the native loader succeeds. A native false result or detected stream failure shall report PPL_STDIO_ERROR and notify the error handler. Loading supports trusted records written by the corresponding native dumper in a compatible build. Native failure-state guarantees shall apply. A failed load may leave a partially replaced object whose ownership permits destruction. Rollback and further queries shall not be assumed. Borrowed objects shall not be loaded into.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C serialization must expose the native parser outcome without changing ownership.
INTERFACE: Public header: <ppl_c.h>.
/* T ranges over types exposing the native operations. */ int ppl_T_ascii_dump(ppl_const_T_t x, FILE *file); int ppl_T_ascii_load(ppl_T_t x, FILE *file);
VERIFICATION_CRITERIA: Round-trip descriptor, system, optimizer and generated-domain values through files, test malformed and truncated input and populated destinations, and verify destruction after rejected loads.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common_defs.hh; interfaces/C/tests/ccontractsspec1.cc; interfaces/C/tests/cerrorsspec1.cc.
-
1. C parametric problem values and ownership UID: PPL-SPEC-001544 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000111 Parametric problem and context interpretation (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: PIP constructors shall create independent owned trivial, copied or constraint-range problems with the selected parameter coordinates. Range and counted-array arguments shall be valid during construction. Assignment shall replace native problem/tree state and rebind its owned nodes to the destination. Deletion shall release owned trees and problem data. Failed construction shall preserve its output handle and release acquired resources.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A copied parametric problem owns another tree rather than borrowing the source tree.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_PIP_Problem_from_space_dimension(ppl_PIP_Problem_t *ppip, ppl_dimension_type d); int ppl_new_PIP_Problem_from_PIP_Problem(ppl_PIP_Problem_t *ppip, ppl_const_PIP_Problem_t pip); int ppl_assign_PIP_Problem_from_PIP_Problem(ppl_PIP_Problem_t dst, ppl_const_PIP_Problem_t src); int ppl_new_PIP_Problem_from_constraints( ppl_PIP_Problem_t *ppip, ppl_dimension_type d, ppl_Constraint_System_const_iterator_t first, ppl_Constraint_System_const_iterator_t last, size_t n, ppl_dimension_type ds[]); int ppl_delete_PIP_Problem(ppl_const_PIP_Problem_t pip);
VERIFICATION_CRITERIA: Check zero/nonzero dimensions, parameter selection, copied solved/pending problems, independent destruction and rejected construction.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
2. C parametric descriptors and parameter lists UID: PPL-SPEC-001545 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000111 Parametric problem and context interpretation (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: PIP descriptor queries shall expose native dimension, parameter-coordinate count/list and original constraint count. Constraint-at-index shall return the corresponding borrowed input constraint and reject an out-of-range index without changing the output handle. Output arrays shall have sufficient capacity for their separately queried count. Read-only metadata inspection shall follow the documented safe borrowing rules.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Clients require original parameter identities and constraints independent of solver transformations.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Problem_space_dimension(ppl_const_PIP_Problem_t pip, ppl_dimension_type *m); int ppl_PIP_Problem_number_of_parameter_space_dimensions( ppl_const_PIP_Problem_t pip, ppl_dimension_type *m); int ppl_PIP_Problem_parameter_space_dimensions(ppl_const_PIP_Problem_t pip, ppl_dimension_type ds[]); int ppl_PIP_Problem_number_of_constraints(ppl_const_PIP_Problem_t pip, ppl_dimension_type *m); int ppl_PIP_Problem_constraint_at_index(ppl_const_PIP_Problem_t pip, ppl_dimension_type i, ppl_const_Constraint_t *pc);
VERIFICATION_CRITERIA: Compare parameter arrays, original constraint order and borrowed values before and after solving and dimension changes.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
3. C parametric incremental updates UID: PPL-SPEC-001546 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000114 Incremental parametric refinement (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: PIP clear, variable/parameter growth, parameter-coordinate selection and constraint additions shall have native PIP_Problem effects and admission rules. Variables shall be appended before newly appended parameters. Selected dimensions shall be interpreted as a set. Existing processed decision variables shall not be reinterpreted as parameters. An empty constraint system shall still retain its declared dimension for compatibility checks. Later completed solution queries shall refer to the updated input and initial context.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Parameter identity and dimension admission govern subsequent piecewise solutions.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Problem_clear(ppl_PIP_Problem_t pip); int ppl_PIP_Problem_add_space_dimensions_and_embed( ppl_PIP_Problem_t pip, ppl_dimension_type pip_vars, ppl_dimension_type pip_params); int ppl_PIP_Problem_add_to_parameter_space_dimensions(ppl_PIP_Problem_t pip, ppl_dimension_type ds[], size_t n); int ppl_PIP_Problem_add_constraint(ppl_PIP_Problem_t pip, ppl_const_Constraint_t c); int ppl_PIP_Problem_add_constraints(ppl_PIP_Problem_t pip, ppl_const_Constraint_System_t cs);
VERIFICATION_CRITERIA: Compare fresh and incremental models, floor-term renumbering, duplicate selections, dimension overflow and incompatible empty systems.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C parametric outcomes and borrowed solution trees UID: PPL-SPEC-001547 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000111 Parametric problem and context interpretation (Specifies)
- PPL-LLR-000112 Solution-tree meaning (Specifies)
- PPL-LLR-000113 Parametric outcomes and result availability (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: PIP satisfiability and solve shall return native boolean/status outcomes in the selected mode, including the big-parameter convention in 🔗 1. Parametric problem and context interpretation. Solution accessors shall return a borrowed root owned by the problem, or null as a successful result for infeasibility in that mode. The solution shall retain native nonnegative-integer, initial-context and lexicographic semantics within the declared assignment scope. Tree handles shall not be modified or deleted. Operations that compute or replace problem/tree state may invalidate them; documented read-only traversal and metadata queries shall remain permitted. Failed access shall preserve its output handle.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A null solution root represents a mathematical outcome and is distinct from a negative failure status.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Problem_is_satisfiable(ppl_const_PIP_Problem_t pip); int ppl_PIP_Problem_solve(ppl_const_PIP_Problem_t pip); int ppl_PIP_Problem_solution(ppl_const_PIP_Problem_t pip, ppl_const_PIP_Tree_Node_t *pip_tree); int ppl_PIP_Problem_optimizing_solution(ppl_const_PIP_Problem_t pip, ppl_const_PIP_Tree_Node_t *pip_tree);
VERIFICATION_CRITERIA: Evaluate returned trees independently over bounded parameter contexts, including infeasible regions, floor terms, copies and incremental changes.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
5. C parametric controls, big parameter and memory UID: PPL-SPEC-001548 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000111 Parametric problem and context interpretation (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: PIP cutting/pivot controls and big-parameter selection shall forward native admission and stored values. A designated big parameter shall remain an admitted parameter coordinate and shall select the asymptotic interpretation in 🔗 1. Parametric problem and context interpretation. Native validity and memory results shall be returned or assigned without changing their meaning.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C controls must preserve context and asymptotic meaning.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Problem_get_big_parameter_dimension(ppl_const_PIP_Problem_t pip, ppl_dimension_type *pd); int ppl_PIP_Problem_total_memory_in_bytes(ppl_const_PIP_Problem_t pip, size_t *sz); int ppl_PIP_Problem_external_memory_in_bytes(ppl_const_PIP_Problem_t pip, size_t *sz); int ppl_PIP_Problem_OK(ppl_const_PIP_Problem_t pip); int ppl_PIP_Problem_set_big_parameter_dimension(ppl_PIP_Problem_t pip, ppl_dimension_type d); int ppl_PIP_Problem_get_control_parameter(ppl_const_PIP_Problem_t pip, int name); int ppl_PIP_Problem_set_control_parameter(ppl_PIP_Problem_t pip, int value);
VERIFICATION_CRITERIA: Check all supported control choices against literal piecewise solutions, big-parameter histories, invalid native requests and memory/validity queries.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
6. C solution-tree kind, guards, children and values UID: PPL-SPEC-001549 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000112 Solution-tree meaning (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Tree-kind accessors shall return an alias of the input node for a matching kind and null for a different kind, without transferring ownership. Decision-child access shall select the requested boolean branch and return null for an absent branch. Guard getters shall return borrowed native constraint systems. Solution-coordinate getters shall return borrowed native affine expressions for decision coordinates, with native domain/index errors for invalid queries. Null handles shall be tested before further use. Traversal and independent coordinate queries shall not invalidate other documented read-only tree views.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Safe traversal depends on distinguishing successful absent nodes from errors.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Tree_Node_as_solution(ppl_const_PIP_Tree_Node_t spip_tree, ppl_const_PIP_Solution_Node_t *dpip_tree); int ppl_PIP_Tree_Node_as_decision(ppl_const_PIP_Tree_Node_t spip_tree, ppl_const_PIP_Decision_Node_t *dpip_tree); int ppl_PIP_Tree_Node_get_constraints(ppl_const_PIP_Tree_Node_t pip_tree, ppl_const_Constraint_System_t *pcs); int ppl_PIP_Tree_Node_OK(ppl_const_PIP_Tree_Node_t pip); int ppl_PIP_Solution_Node_OK(ppl_const_PIP_Solution_Node_t pip_sol); int ppl_PIP_Solution_Node_get_parametric_values( ppl_const_PIP_Solution_Node_t pip_sol, ppl_dimension_type var, ppl_const_Linear_Expression_t *le); int ppl_PIP_Decision_Node_OK(ppl_const_PIP_Decision_Node_t pip_dec); int ppl_PIP_Decision_Node_get_child_node(ppl_const_PIP_Decision_Node_t pip_dec, int b, ppl_const_PIP_Tree_Node_t *pip_tree);
VERIFICATION_CRITERIA: Traverse both branch kinds and absent branches, evaluate guards and leaf expressions over admitted contexts, and check invalid coordinate queries and unchanged failure outputs.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
7. C artificial-parameter expression and coefficient queries UID: PPL-SPEC-001550 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000112 Solution-tree meaning (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: The artificial-parameter input handle shall borrow an element of the owning tree. Expression access shall copy its affine numerator into the caller's existing expression object. That copy shall remain independent of the tree. Coefficient, constant and denominator queries shall assign their stored native values to existing coefficient objects. The artificial value shall remain the mathematical floor of the numerator divided by its positive denominator, including negative numerators. These accessors shall not normalize or replace the source representation or transfer ownership of the artificial parameter.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: The denominator is separate from an inherited affine numerator.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Artificial_Parameter_get_Linear_Expression( ppl_const_Artificial_Parameter_t ap, ppl_Linear_Expression_t le); int ppl_Artificial_Parameter_coefficient(ppl_const_Artificial_Parameter_t ap, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Artificial_Parameter_inhomogeneous_term( ppl_const_Artificial_Parameter_t ap, ppl_Coefficient_t n); int ppl_Artificial_Parameter_denominator(ppl_const_Artificial_Parameter_t ap, ppl_Coefficient_t n);
VERIFICATION_CRITERIA: Check copied numerator dimensions and exact coefficients, independence after tree destruction, source preservation, positive denominators and independent floor evaluation for generated parameters.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
8. C artificial-parameter sequence traversal UID: PPL-SPEC-001551 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000112 Solution-tree meaning (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Allocated artificial-parameter iterators shall own only their iterator storage. Node begin/end shall position them in that node's local ordered sequence; equality, increment and dereference shall use valid positions in the same live sequence. Dereference shall return a borrowed artificial parameter tied to the owning problem/tree. Copying positions shall not copy parameters or extend tree lifetime; deleting positions shall not delete tree contents. Count shall report the local sequence length.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Local artificial parameters have an order and a lifetime inherited from the solution tree.
INTERFACE: Public header: <ppl_c.h>.
int ppl_PIP_Tree_Node_number_of_artificials(ppl_const_PIP_Tree_Node_t pip_tree, ppl_dimension_type *m); int ppl_PIP_Tree_Node_begin( ppl_const_PIP_Tree_Node_t pip_tree, ppl_Artificial_Parameter_Sequence_const_iterator_t pit); int ppl_PIP_Tree_Node_end( ppl_const_PIP_Tree_Node_t pip_tree, ppl_Artificial_Parameter_Sequence_const_iterator_t pit); int ppl_new_Artificial_Parameter_Sequence_const_iterator( ppl_Artificial_Parameter_Sequence_const_iterator_t *papit); int ppl_new_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator( ppl_Artificial_Parameter_Sequence_const_iterator_t *papit, ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit); int ppl_assign_Artificial_Parameter_Sequence_const_iterator_from_Artificial_Parameter_Sequence_const_iterator( ppl_Artificial_Parameter_Sequence_const_iterator_t dst, ppl_const_Artificial_Parameter_Sequence_const_iterator_t src); int ppl_delete_Artificial_Parameter_Sequence_const_iterator( ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit); int ppl_Artificial_Parameter_Sequence_const_iterator_dereference( ppl_const_Artificial_Parameter_Sequence_const_iterator_t apit, ppl_const_Artificial_Parameter_t *pap); int ppl_Artificial_Parameter_Sequence_const_iterator_increment( ppl_Artificial_Parameter_Sequence_const_iterator_t apit); int ppl_Artificial_Parameter_Sequence_const_iterator_equal_test( ppl_const_Artificial_Parameter_Sequence_const_iterator_t x, ppl_const_Artificial_Parameter_Sequence_const_iterator_t y);
VERIFICATION_CRITERIA: Traverse empty/nonempty local sequences, compare/copy/assign iterator positions and inspect borrowed parameters without invalidating the tree.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
3. C version, dimensions and published constants UID: PPL-SPEC-001517 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Version and banner accessors shall expose the built library's version components and borrowed static strings. Dimension accessors shall assign the native maximum extent and reserved non-dimension sentinel without changing them numerically. Initialization shall publish relation flags, complexity classes, optimizer statuses, modes and controls corresponding to the native values. Callers shall use these symbolic values in the operations that accept them. Version component functions shall return their nonnegative component directly.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C clients require values matching the library they actually link.
INTERFACE: Public header: <ppl_c.h>.
int ppl_version_major(void); int ppl_version_minor(void); int ppl_version_revision(void); int ppl_version_beta(void); int ppl_version(const char **p); int ppl_banner(const char **p); int ppl_max_space_dimension(ppl_dimension_type *m); int ppl_not_a_dimension(ppl_dimension_type *m);
VERIFICATION_CRITERIA: Compare version components and strings, extent/sentinel values, and initialized symbolic values with independently observed operation outcomes.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C rounding and irrational precision controls UID: PPL-SPEC-001518 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Rounding controls shall apply the native PPL rounding mode or restore the calling thread's saved preceding mode. The precision query shall assign the current irrational-result precision, and setting shall apply the native admission and precision semantics. These controls shall not change exact integer or rational values. Calls involving floating arithmetic shall satisfy the applicable native rounding and thread-entry prerequisites.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C forwarding must retain thread-local numerical prerequisites.
INTERFACE: Public header: <ppl_c.h>.
int ppl_set_rounding_for_PPL(void); int ppl_restore_pre_PPL_rounding(void); int ppl_irrational_precision(unsigned *p); int ppl_set_irrational_precision(unsigned p);
VERIFICATION_CRITERIA: Check precision round trips, invalid settings where supported and rounding restoration/control in configured floating-point environments.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
1. C constraint systems UID: PPL-SPEC-001534 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: The Constraint_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied constraint with the native system's topology and dimension rules. The represented condition after insertion shall be the conjunction of the previous condition and the inserted constraint. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Systems own elements, while traversal only borrows them.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Constraint_System(ppl_Constraint_System_t *pcs); int ppl_new_Constraint_System_zero_dim_empty(ppl_Constraint_System_t *pcs); int ppl_new_Constraint_System_from_Constraint(ppl_Constraint_System_t *pcs, ppl_const_Constraint_t c); int ppl_new_Constraint_System_from_Constraint_System( ppl_Constraint_System_t *pcs, ppl_const_Constraint_System_t cs); int ppl_assign_Constraint_System_from_Constraint_System( ppl_Constraint_System_t dst, ppl_const_Constraint_System_t src); int ppl_delete_Constraint_System(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_space_dimension(ppl_const_Constraint_System_t cs, ppl_dimension_type *m); int ppl_Constraint_System_empty(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_has_strict_inequalities( ppl_const_Constraint_System_t cs); int ppl_Constraint_System_begin(ppl_const_Constraint_System_t cs, ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_end(ppl_const_Constraint_System_t cs, ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_OK(ppl_const_Constraint_System_t cs); int ppl_Constraint_System_clear(ppl_Constraint_System_t cs); int ppl_Constraint_System_insert_Constraint(ppl_Constraint_System_t cs, ppl_const_Constraint_t c);
VERIFICATION_CRITERIA: Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
2. C generator systems UID: PPL-SPEC-001535 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: The Generator_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied element with the native system's topology and dimension rules. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Systems own elements, while traversal only borrows them.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Generator_System(ppl_Generator_System_t *pgs); int ppl_new_Generator_System_zero_dim_univ(ppl_Generator_System_t *pgs); int ppl_new_Generator_System_from_Generator(ppl_Generator_System_t *pgs, ppl_const_Generator_t g); int ppl_new_Generator_System_from_Generator_System( ppl_Generator_System_t *pgs, ppl_const_Generator_System_t gs); int ppl_assign_Generator_System_from_Generator_System( ppl_Generator_System_t dst, ppl_const_Generator_System_t src); int ppl_delete_Generator_System(ppl_const_Generator_System_t gs); int ppl_Generator_System_space_dimension(ppl_const_Generator_System_t gs, ppl_dimension_type *m); int ppl_Generator_System_empty(ppl_const_Generator_System_t gs); int ppl_Generator_System_begin(ppl_const_Generator_System_t gs, ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_end(ppl_const_Generator_System_t gs, ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_OK(ppl_const_Generator_System_t gs); int ppl_Generator_System_clear(ppl_Generator_System_t gs); int ppl_Generator_System_insert_Generator(ppl_Generator_System_t gs, ppl_const_Generator_t g);
VERIFICATION_CRITERIA: Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
3. C congruence systems UID: PPL-SPEC-001536 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: The Congruence_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied congruence with the native system's dimension rules. The represented condition after insertion shall be the conjunction of the previous condition and the inserted congruence. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Systems own elements, while traversal only borrows them.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Congruence_System(ppl_Congruence_System_t *pcs); int ppl_new_Congruence_System_zero_dim_empty(ppl_Congruence_System_t *pcs); int ppl_new_Congruence_System_from_Congruence(ppl_Congruence_System_t *pcs, ppl_const_Congruence_t c); int ppl_new_Congruence_System_from_Congruence_System( ppl_Congruence_System_t *pcs, ppl_const_Congruence_System_t cs); int ppl_assign_Congruence_System_from_Congruence_System( ppl_Congruence_System_t dst, ppl_const_Congruence_System_t src); int ppl_delete_Congruence_System(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_space_dimension(ppl_const_Congruence_System_t cs, ppl_dimension_type *m); int ppl_Congruence_System_empty(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_begin(ppl_const_Congruence_System_t cs, ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_end(ppl_const_Congruence_System_t cs, ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_OK(ppl_const_Congruence_System_t cs); int ppl_Congruence_System_clear(ppl_Congruence_System_t cs); int ppl_Congruence_System_insert_Congruence(ppl_Congruence_System_t cs, ppl_const_Congruence_t c);
VERIFICATION_CRITERIA: Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C grid generator systems UID: PPL-SPEC-001537 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: The Grid_Generator_System functions shall construct independent empty, copied, single-element or dedicated canonical native systems as exposed. Insertion shall copy the supplied element with the native system's topology and dimension rules. Assignment, clear and deletion shall have the native value and ownership effects. Dimension, emptiness and validity queries shall expose the native result. Begin/end operations shall position caller-owned iterators in the live system; dereferenced elements shall remain borrowed from that system and shall not be deleted or mutated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Systems own elements, while traversal only borrows them.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Grid_Generator_System(ppl_Grid_Generator_System_t *pgs); int ppl_new_Grid_Generator_System_zero_dim_univ( ppl_Grid_Generator_System_t *pgs); int ppl_new_Grid_Generator_System_from_Grid_Generator( ppl_Grid_Generator_System_t *pgs, ppl_const_Grid_Generator_t g); int ppl_new_Grid_Generator_System_from_Grid_Generator_System( ppl_Grid_Generator_System_t *pgs, ppl_const_Grid_Generator_System_t gs); int ppl_assign_Grid_Generator_System_from_Grid_Generator_System( ppl_Grid_Generator_System_t dst, ppl_const_Grid_Generator_System_t src); int ppl_delete_Grid_Generator_System(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_space_dimension( ppl_const_Grid_Generator_System_t gs, ppl_dimension_type *m); int ppl_Grid_Generator_System_empty(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_begin( ppl_const_Grid_Generator_System_t gs, ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_end( ppl_const_Grid_Generator_System_t gs, ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_OK(ppl_const_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_clear(ppl_Grid_Generator_System_t gs); int ppl_Grid_Generator_System_insert_Grid_Generator( ppl_Grid_Generator_System_t gs, ppl_const_Grid_Generator_t g);
VERIFICATION_CRITERIA: Check insertion and copy independence, empty and canonical systems, declared dimensions, native iterator filtering and destruction/invalidation histories.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
5. C descriptor-system iterator lifetimes UID: PPL-SPEC-001538 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Iterator constructors shall allocate caller-owned iterator positions; copying and assignment shall copy positions without copying or extending the lifetime of their system or elements. Begin/end shall position them in the supplied live system. Equality shall compare valid positions in that same system. Increment shall advance a valid non-end position; dereference shall return a borrowed const element at a dereferenceable position. Mutation, replacement or destruction of the owning system shall obey the native invalidation rules. Iterator deletion shall release only iterator storage.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: An allocated iterator does not acquire ownership of its range.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t *pcit); int ppl_new_Constraint_System_const_iterator_from_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t *pcit, ppl_const_Constraint_System_const_iterator_t cit); int ppl_assign_Constraint_System_const_iterator_from_Constraint_System_const_iterator( ppl_Constraint_System_const_iterator_t dst, ppl_const_Constraint_System_const_iterator_t src); int ppl_delete_Constraint_System_const_iterator( ppl_const_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_const_iterator_dereference( ppl_const_Constraint_System_const_iterator_t cit, ppl_const_Constraint_t *pc); int ppl_Constraint_System_const_iterator_increment( ppl_Constraint_System_const_iterator_t cit); int ppl_Constraint_System_const_iterator_equal_test( ppl_const_Constraint_System_const_iterator_t x, ppl_const_Constraint_System_const_iterator_t y); int ppl_new_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t *pgit); int ppl_new_Generator_System_const_iterator_from_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t *pgit, ppl_const_Generator_System_const_iterator_t git); int ppl_assign_Generator_System_const_iterator_from_Generator_System_const_iterator( ppl_Generator_System_const_iterator_t dst, ppl_const_Generator_System_const_iterator_t src); int ppl_delete_Generator_System_const_iterator( ppl_const_Generator_System_const_iterator_t git); int ppl_Generator_System_const_iterator_dereference( ppl_const_Generator_System_const_iterator_t git, ppl_const_Generator_t *pg); int ppl_Generator_System_const_iterator_increment( ppl_Generator_System_const_iterator_t git); int ppl_Generator_System_const_iterator_equal_test( ppl_const_Generator_System_const_iterator_t x, ppl_const_Generator_System_const_iterator_t y); int ppl_new_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t *pcit); int ppl_new_Congruence_System_const_iterator_from_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t *pcit, ppl_const_Congruence_System_const_iterator_t cit); int ppl_assign_Congruence_System_const_iterator_from_Congruence_System_const_iterator( ppl_Congruence_System_const_iterator_t dst, ppl_const_Congruence_System_const_iterator_t src); int ppl_delete_Congruence_System_const_iterator( ppl_const_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_const_iterator_dereference( ppl_const_Congruence_System_const_iterator_t cit, ppl_const_Congruence_t *pc); int ppl_Congruence_System_const_iterator_increment( ppl_Congruence_System_const_iterator_t cit); int ppl_Congruence_System_const_iterator_equal_test( ppl_const_Congruence_System_const_iterator_t x, ppl_const_Congruence_System_const_iterator_t y); int ppl_new_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t *pgit); int ppl_new_Grid_Generator_System_const_iterator_from_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t *pgit, ppl_const_Grid_Generator_System_const_iterator_t git); int ppl_assign_Grid_Generator_System_const_iterator_from_Grid_Generator_System_const_iterator( ppl_Grid_Generator_System_const_iterator_t dst, ppl_const_Grid_Generator_System_const_iterator_t src); int ppl_delete_Grid_Generator_System_const_iterator( ppl_const_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_const_iterator_dereference( ppl_const_Grid_Generator_System_const_iterator_t git, ppl_const_Grid_Generator_t *pg); int ppl_Grid_Generator_System_const_iterator_increment( ppl_Grid_Generator_System_const_iterator_t git); int ppl_Grid_Generator_System_const_iterator_equal_test( ppl_const_Grid_Generator_System_const_iterator_t x, ppl_const_Grid_Generator_System_const_iterator_t y);
VERIFICATION_CRITERIA: Traverse empty/nonempty systems, copy/assign positions and compare begin/end, then release iterators independently of borrowed elements.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
Incoming links from: 1. C generated domain values and conversions 2. C generated domain observations 3. C generated system extraction ownership 4. C generated domain transformations 5. C generated affine transformations 6. C generated dimension arrays and maps 7. C generated convergence operations 8. C finite-disjunction ownership and traversal 9. C partition result ownership 10. C affine-ranking outcomes and coefficient spaces 11. C bounded integer wrapping 12. C selected domains and generated dependencies 1. C mixed integer problem values 2. C mixed integer descriptors and borrowing 3. C mixed integer incremental updates 4. C mixed integer solution outcomes and witnesses 5. C mixed integer controls, validity and memory 1. C variable formatting and callback failures 2. C textual output and allocated buffers 3. C line wrapping and pointer failure result 4. C reloadable FILE representations 1. C parametric problem values and ownership 2. C parametric descriptors and parameter lists 3. C parametric incremental updates 4. C parametric outcomes and borrowed solution trees 5. C parametric controls, big parameter and memory 6. C solution-tree kind, guards, children and values 7. C artificial-parameter expression and coefficient queries 8. C artificial-parameter sequence traversal 1. C library and thread lifecycle 2. C failures and installed error notification 3. C version, dimensions and published constants 4. C rounding and irrational precision controls 5. C signal timeout lifecycle 6. C deterministic timeout lifecycle 1. C constraint systems 2. C generator systems 3. C congruence systems 4. C grid generator systems 5. C descriptor-system iterator lifetimes 1. C coefficient ownership, conversion and bounds 2. C affine expression values and updates 3. C affine expression queries 4. C linear constraint values 5. C linear constraint queries 6. C polyhedral generator values 7. C polyhedral generator queries 8. C rational congruence values 9. C rational congruence queries 10. C grid generator values 11. C grid generator queries51
1. C handles, arguments and successful outcomes UID: PPL-SPEC-001514 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
- PPL-LLR-000438 Thread entry and shared-facility use (Specifies)
STATEMENT: C clients shall use the installed <ppl_c.h> declarations with compatible native and GMP libraries. Input handles shall denote live objects of the declared type. Mutable handles shall denote writable objects; a borrowed const handle shall not be modified or deleted. Output addresses shall be non-null and writable. Arrays shall contain their declared number of elements; a zero count shall require no element access. Iterators shall have valid positions in the same live container. Caller synchronization, thread entry and floating-point prerequisites shall follow the native operations.
A nonnegative function result shall have the meaning assigned by its operation: zero status, boolean result, enumeration or flags. Negative results shall denote failures. Successful mathematical results shall preserve the corresponding native operation's exactness, approximation direction, inconclusive outcomes and admitted witnesses. Failed operations shall not imply a completed mathematical result or unspecified rollback. Unless explicitly guaranteed, output parameters shall be used only after success.
RATIONALE: C pointers do not encode ownership, initialization or mathematical result categories.
INTERFACE: Public header: <ppl_c.h>.
#include <ppl_c.h> /* Opaque handles: ppl_T_t and ppl_const_T_t. */
VERIFICATION_CRITERIA: Compile C18 and C++ clients; check status/boolean/enumeration distinctions, live borrowed views, zero-length arrays and native-result comparisons.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/tests/ccontractsspec1.cc.
-
1. C coefficient ownership, conversion and bounds UID: PPL-SPEC-001523 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000002 Detection of checked coefficient overflow (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Coefficient creation shall produce independent caller-owned zero, GMP-integer or copied values. Assignment and conversion to or from initialized mpz_t objects shall preserve the mathematical integer for every admitted value. For checked coefficient profiles, conversion from GMP with an out-of-range value shall report PPL_ARITHMETIC_OVERFLOW. Deletion shall release owned coefficients. The boundedness predicate shall identify the configured coefficient representation. Minimum/maximum queries shall assign bounds and return true for bounded coefficients, and return false without modifying the output for unbounded coefficients. OK shall report the coefficient representation's admitted validity.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Host GMP values and library coefficients require exact conversion with explicit ownership.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Coefficient(ppl_Coefficient_t *pc); int ppl_new_Coefficient_from_mpz_t(ppl_Coefficient_t *pc, mpz_t z); int ppl_new_Coefficient_from_Coefficient(ppl_Coefficient_t *pc, ppl_const_Coefficient_t c); int ppl_assign_Coefficient_from_mpz_t(ppl_Coefficient_t dst, mpz_t z); int ppl_assign_Coefficient_from_Coefficient(ppl_Coefficient_t dst, ppl_const_Coefficient_t src); int ppl_delete_Coefficient(ppl_const_Coefficient_t c); int ppl_Coefficient_to_mpz_t(ppl_const_Coefficient_t c, mpz_t z); int ppl_Coefficient_OK(ppl_const_Coefficient_t c); int ppl_Coefficient_is_bounded(void); int ppl_Coefficient_min(mpz_t min); int ppl_Coefficient_max(mpz_t max); int ppl_multiply_Linear_Expression_by_Coefficient(ppl_Linear_Expression_t le, ppl_const_Coefficient_t n);
VERIFICATION_CRITERIA: Check signed and large integers, copy/assignment independence, configured bounds, round trips and bounded overflow where configured.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
2. C affine expression values and updates UID: PPL-SPEC-001524 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000011 Coordinate identity and ambient dimension (Specifies)
- PPL-LLR-000012 Affine meaning of linear expressions (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Expression construction shall produce independent zero, dimensioned, copied or descriptor-derived native affine expressions. Assignment, coefficient additions, constant additions, expression addition/subtraction and scaling shall have the corresponding native affine meaning and retain native dimension/admission rules. Source handles shall remain valid during operations; owned results shall be independently deletable. Mutations shall not alter an independent source copy.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C expression operations must preserve affine algebra and dimensions.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Linear_Expression(ppl_Linear_Expression_t *ple); int ppl_new_Linear_Expression_with_dimension(ppl_Linear_Expression_t *ple, ppl_dimension_type d); int ppl_new_Linear_Expression_from_Linear_Expression( ppl_Linear_Expression_t *ple, ppl_const_Linear_Expression_t le); int ppl_new_Linear_Expression_from_Constraint(ppl_Linear_Expression_t *ple, ppl_const_Constraint_t c); int ppl_new_Linear_Expression_from_Generator(ppl_Linear_Expression_t *ple, ppl_const_Generator_t g); int ppl_new_Linear_Expression_from_Congruence(ppl_Linear_Expression_t *ple, ppl_const_Congruence_t c); int ppl_new_Linear_Expression_from_Grid_Generator(ppl_Linear_Expression_t *ple, ppl_const_Grid_Generator_t g); int ppl_assign_Linear_Expression_from_Linear_Expression( ppl_Linear_Expression_t dst, ppl_const_Linear_Expression_t src); int ppl_delete_Linear_Expression(ppl_const_Linear_Expression_t le); int ppl_Linear_Expression_all_homogeneous_terms_are_zero( ppl_const_Linear_Expression_t le); int ppl_Linear_Expression_add_to_coefficient(ppl_Linear_Expression_t le, ppl_dimension_type var, ppl_const_Coefficient_t n); int ppl_Linear_Expression_add_to_inhomogeneous(ppl_Linear_Expression_t le, ppl_const_Coefficient_t n); int ppl_add_Linear_Expression_to_Linear_Expression( ppl_Linear_Expression_t dst, ppl_const_Linear_Expression_t src); int ppl_subtract_Linear_Expression_from_Linear_Expression( ppl_Linear_Expression_t dst, ppl_const_Linear_Expression_t src);
VERIFICATION_CRITERIA: Compare literal coefficient vectors and constants after each constructor and arithmetic update, including cancellation, zero scaling, borrowed input conversion and rejected dimensions.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
3. C affine expression queries UID: PPL-SPEC-001525 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000011 Coordinate identity and ambient dimension (Specifies)
- PPL-LLR-000012 Affine meaning of linear expressions (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Expression dimension and coefficient queries shall assign the corresponding native extent, selected coefficient or constant. Zero tests and validity tests shall return boolean results. Query outputs shall be live writable coefficient objects rather than newly allocated handles. Indexed access shall observe native index admission and virtual zero coefficients where provided.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Queries distinguish assigning an existing coefficient from creating another owned object.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Linear_Expression_space_dimension(ppl_const_Linear_Expression_t le, ppl_dimension_type *m); int ppl_Linear_Expression_coefficient(ppl_const_Linear_Expression_t le, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Linear_Expression_inhomogeneous_term(ppl_const_Linear_Expression_t le, ppl_Coefficient_t n); int ppl_Linear_Expression_OK(ppl_const_Linear_Expression_t le); int ppl_Linear_Expression_is_zero(ppl_const_Linear_Expression_t le);
VERIFICATION_CRITERIA: Check exact coefficients/constants, zero expressions, padded dimensions, range admission and query-output reuse.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
4. C linear constraint values UID: PPL-SPEC-001526 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Creation shall copy inputs into an independent owned Constraint representing the supplied affine expression compared with zero using the requested supported relation, including strict relations. Dedicated zero-dimensional constructors shall provide the corresponding native canonical objects. Copying and assignment shall preserve native value and dimension; deletion shall release owned storage. An unsupported relation code shall report PPL_ERROR_INVALID_ARGUMENT. Native dimension and size failures shall be translated by the C failure protocol.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Descriptor conversion must preserve its geometric or arithmetic meaning.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Constraint(ppl_Constraint_t *pc, ppl_const_Linear_Expression_t le, enum ppl_enum_Constraint_Type rel); int ppl_new_Constraint_zero_dim_false(ppl_Constraint_t *pc); int ppl_new_Constraint_zero_dim_positivity(ppl_Constraint_t *pc); int ppl_new_Constraint_from_Constraint(ppl_Constraint_t *pc, ppl_const_Constraint_t c); int ppl_assign_Constraint_from_Constraint(ppl_Constraint_t dst, ppl_const_Constraint_t src); int ppl_delete_Constraint(ppl_const_Constraint_t c);
VERIFICATION_CRITERIA: Check each supported kind, exact coefficients and normalization, empty/universe canonical descriptors, source independence and native admission failures.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
5. C linear constraint queries UID: PPL-SPEC-001527 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Queries shall report the native Constraint relation type, dimension, variable coefficients and inhomogeneous term. Validity queries shall return a boolean outcome. Coefficient and inhomogeneous-term outputs shall assign existing writable coefficient objects. Native argument failures shall be translated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C query results need the same interpretation as their native descriptor.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Constraint_space_dimension(ppl_const_Constraint_t c, ppl_dimension_type *m); int ppl_Constraint_type(ppl_const_Constraint_t c); int ppl_Constraint_coefficient(ppl_const_Constraint_t c, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Constraint_inhomogeneous_term(ppl_const_Constraint_t c, ppl_Coefficient_t n); int ppl_Constraint_OK(ppl_const_Constraint_t c);
VERIFICATION_CRITERIA: Check each kind against literal descriptors, normalized ratios or congruences, output reuse and rejected inappropriate queries.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
6. C polyhedral generator values UID: PPL-SPEC-001528 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Creation shall copy inputs into an independent owned Generator representing the requested line, ray, point or closure point with the native direction or divisor semantics. Dedicated zero-dimensional constructors shall provide the corresponding native canonical objects. Copying and assignment shall preserve native value and dimension; deletion shall release owned storage. Invalid kinds, undefined divisors and dimension/size violations designated by the native operation shall be reported through the C failure protocol.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Descriptor conversion must preserve its geometric or arithmetic meaning.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Generator(ppl_Generator_t *pg, ppl_const_Linear_Expression_t le, enum ppl_enum_Generator_Type t, ppl_const_Coefficient_t d); int ppl_new_Generator_zero_dim_point(ppl_Generator_t *pg); int ppl_new_Generator_zero_dim_closure_point(ppl_Generator_t *pg); int ppl_new_Generator_from_Generator(ppl_Generator_t *pg, ppl_const_Generator_t g); int ppl_assign_Generator_from_Generator(ppl_Generator_t dst, ppl_const_Generator_t src); int ppl_delete_Generator(ppl_const_Generator_t g);
VERIFICATION_CRITERIA: Check each supported kind, exact coefficients and normalization, empty/universe canonical descriptors, source independence and native admission failures.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
7. C polyhedral generator queries UID: PPL-SPEC-001529 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Queries shall report the native Generator kind, dimension and variable coefficients. Divisor queries shall report the native divisor for a point or closure point and shall report PPL_ERROR_INVALID_ARGUMENT for a line or ray. Validity queries shall return a boolean outcome. Coefficient and divisor outputs shall assign existing writable coefficient objects. Native argument failures shall be translated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C query results need the same interpretation as their native descriptor.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Generator_space_dimension(ppl_const_Generator_t g, ppl_dimension_type *m); int ppl_Generator_type(ppl_const_Generator_t g); int ppl_Generator_coefficient(ppl_const_Generator_t g, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Generator_divisor(ppl_const_Generator_t g, ppl_Coefficient_t n); int ppl_Generator_OK(ppl_const_Generator_t g);
VERIFICATION_CRITERIA: Check each kind against literal descriptors, normalized ratios or congruences, output reuse and rejected inappropriate queries.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
8. C rational congruence values UID: PPL-SPEC-001530 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Creation shall copy inputs into an independent owned Congruence representing the supplied affine expression and modulus, with modulus zero denoting equality and native normalization of nonzero moduli. Dedicated zero-dimensional constructors shall provide the corresponding native canonical objects. Copying and assignment shall preserve native value and dimension; deletion shall release owned storage. Native dimension and size failures shall be translated by the C failure protocol.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Descriptor conversion must preserve its geometric or arithmetic meaning.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Congruence(ppl_Congruence_t *pc, ppl_const_Linear_Expression_t le, ppl_const_Coefficient_t m); int ppl_new_Congruence_zero_dim_false(ppl_Congruence_t *pc); int ppl_new_Congruence_zero_dim_integrality(ppl_Congruence_t *pc); int ppl_new_Congruence_from_Congruence(ppl_Congruence_t *pc, ppl_const_Congruence_t c); int ppl_assign_Congruence_from_Congruence(ppl_Congruence_t dst, ppl_const_Congruence_t src); int ppl_delete_Congruence(ppl_const_Congruence_t c);
VERIFICATION_CRITERIA: Check each supported kind, exact coefficients and normalization, empty/universe canonical descriptors, source independence and native admission failures.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
9. C rational congruence queries UID: PPL-SPEC-001531 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Queries shall report the native Congruence dimension, variable coefficients, inhomogeneous term and modulus. Validity queries shall return a boolean outcome. Coefficient, inhomogeneous-term and modulus outputs shall assign existing writable coefficient objects. Native argument failures shall be translated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C query results need the same interpretation as their native descriptor.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Congruence_space_dimension(ppl_const_Congruence_t c, ppl_dimension_type *m); int ppl_Congruence_coefficient(ppl_const_Congruence_t c, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Congruence_inhomogeneous_term(ppl_const_Congruence_t c, ppl_Coefficient_t n); int ppl_Congruence_modulus(ppl_const_Congruence_t c, ppl_Coefficient_t m); int ppl_Congruence_OK(ppl_const_Congruence_t c);
VERIFICATION_CRITERIA: Check each kind against literal descriptors, normalized ratios or congruences, output reuse and rejected inappropriate queries.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
10. C grid generator values UID: PPL-SPEC-001532 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Creation shall copy inputs into an independent owned Grid_Generator representing the requested line, parameter or point with the native direction and divisor semantics. Dedicated zero-dimensional constructors shall provide the corresponding native canonical objects. Copying and assignment shall preserve native value and dimension; deletion shall release owned storage. Invalid kinds, undefined divisors and dimension/size violations designated by the native operation shall be reported through the C failure protocol.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: Descriptor conversion must preserve its geometric or arithmetic meaning.
INTERFACE: Public header: <ppl_c.h>.
int ppl_new_Grid_Generator(ppl_Grid_Generator_t *pg, ppl_const_Linear_Expression_t le, enum ppl_enum_Grid_Generator_Type t, ppl_const_Coefficient_t d); int ppl_new_Grid_Generator_zero_dim_point(ppl_Grid_Generator_t *pg); int ppl_new_Grid_Generator_from_Grid_Generator(ppl_Grid_Generator_t *pg, ppl_const_Grid_Generator_t g); int ppl_assign_Grid_Generator_from_Grid_Generator( ppl_Grid_Generator_t dst, ppl_const_Grid_Generator_t src); int ppl_delete_Grid_Generator(ppl_const_Grid_Generator_t g);
VERIFICATION_CRITERIA: Check each supported kind, exact coefficients and normalization, empty/universe canonical descriptors, source independence and native admission failures.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
11. C grid generator queries UID: PPL-SPEC-001533 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000133 Failure and resource safety (Specifies)
- PPL-LLR-000202 C object ownership and borrowed access (Specifies)
- PPL-LLR-000203 C boundary error reporting (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: Queries shall report the native Grid_Generator kind, dimension and variable coefficients. Divisor queries shall report the native divisor for a point or parameter and shall report PPL_ERROR_INVALID_ARGUMENT for a line. Validity queries shall return a boolean outcome. Coefficient and divisor outputs shall assign existing writable coefficient objects. Native argument failures shall be translated.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: C query results need the same interpretation as their native descriptor.
INTERFACE: Public header: <ppl_c.h>.
int ppl_Grid_Generator_space_dimension(ppl_const_Grid_Generator_t g, ppl_dimension_type *m); int ppl_Grid_Generator_type(ppl_const_Grid_Generator_t g); int ppl_Grid_Generator_coefficient(ppl_const_Grid_Generator_t g, ppl_dimension_type var, ppl_Coefficient_t n); int ppl_Grid_Generator_divisor(ppl_const_Grid_Generator_t g, ppl_Coefficient_t n); int ppl_Grid_Generator_OK(ppl_const_Grid_Generator_t g);
VERIFICATION_CRITERIA: Check each kind against literal descriptors, normalized ratios or congruences, output reuse and rejected inappropriate queries.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/ccontractsspec1.cc.
-
Incoming link from: 6. Java mathematical representations and operation options1
1. Java integral coefficient exchange UID: PPL-SPEC-001688 STATUS: APPROVED COMPONENT: JAVA_INTERFACE APPLICABILITY: IF_JAVA VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: Java VISIBILITY: Public RELATIONS (Parent): STATEMENT: Coefficient shall hold the integer supplied through its integer, decimal string or BigInteger constructor, and copying and getBigInteger shall preserve that value. toString shall return its decimal representation. bits shall return the configured native coefficient width, or zero for unbounded native coefficients.
For a valid coefficient representable by the native coefficient type, conversion through a supported native operation and back to Java shall preserve its integral value, including its sign and zero. Conversion shall use the full decimal value, without narrowing it through int or long. In an unbounded configuration this includes integers outside both primitive ranges. Native arithmetic retains its configured range and policy; Java's BigInteger does not extend that range. Checked out-of-range conversion shall use 🔗 3. Java native failure and pending-exception protocol.
RATIONALE: Exchanging the decimal integer avoids truncating an exact coefficient to a host primitive width.
INTERFACE: Package parma_polyhedra_library.
Coefficient(int i); Coefficient(long l); Coefficient(java.math.BigInteger bi); Coefficient(String s); Coefficient(Coefficient c); java.math.BigInteger getBigInteger(); String toString(); static native int bits();
Native exchange occurs in coefficient-bearing expressions, constraints, generators and solver queries. String input shall be a valid decimal integer; BigInteger and copy inputs shall be non-null.
VERIFICATION_CRITERIA: Round-trip zero, signed small values, configured endpoints and, when unbounded, values larger than 64 bits through a native constant objective. Check checked-range failures separately from valid native arithmetic.
SOURCE: interfaces/Java/parma_polyhedra_library/Coefficient.java; interfaces/Java/jni/ppl_java_common_inlines.hh; interfaces/Java/tests/Native_Handle_test1.java.
-
6. Java mathematical representations and operation options UID: PPL-SPEC-001728 STATUS: APPROVED COMPONENT: JAVA_INTERFACE APPLICABILITY: IF_JAVA VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: Java VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000011 Coordinate identity and ambient dimension (Specifies)
- PPL-LLR-000012 Affine meaning of linear expressions (Specifies)
- PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: For valid supported Java values, native exchange shall preserve variable indices, representable coefficients and the mathematical meaning of expression trees, constraints, congruences, generators, grid generators and artificial parameters. Expression sums, differences, integer products and negation shall retain their operands' meanings. Constraint direction, congruence modulus, generator kind and divisor, and artificial-parameter numerator and denominator shall be preserved. Coefficient exchange obeys 🔗 1. Java integral coefficient exchange. Native affine, constraint, congruence, generator and grid-generator meanings are specified by 🔗 1. Affine value, numerical prerequisites and shared zero, 🔗 1. Constraint relation meaning and numerical prerequisites, 🔗 1. Affine congruence meaning and valid numerical use, 🔗 1. Generator kinds and numerical prerequisites and 🔗 1. Grid-generator values and integer versus continuous displacement, respectively. Returned mathematical objects may be normalized and need not preserve the input expression-tree shape.
Conversion of a finite acyclic expression into native form shall preserve operator grouping and apply the configured coefficient rules at each node. This conversion and copying through built-in Java expression nodes shall use stack space independent of tree depth. Construction and cloning shall retain the documented ownership of copied operands.
System and variable-set conversion shall retain the represented collection; artificial-parameter sequences shall retain their order. Relation objects shall encode the native predicates (subsumption; disjointness, strict intersection, inclusion and saturation). Boxed primitives, Pair fields and By_Reference values shall preserve the values or object references assigned to them.
Named Java enumeration values for relation symbols, integer widths, representations and overflow policies, optimization modes, solver results and MIP/PIP control parameters shall denote the corresponding native choices. Choosing a complexity or overflow policy shall not strengthen the native operation's exactness guarantee. Nonnegative integral arguments converted to an unsigned native type shall be rejected if negative or outside that type's range; failures follow 🔗 3. Java native failure and pending-exception protocol. Native dimension and object validity preconditions remain applicable.
RATIONALE: Java object layout, enum ordinals and container fields are representation details; native conversion must preserve their mathematical and option meanings.
INTERFACE: Package parma_polyhedra_library: Variable, the Linear_Expression hierarchy, Constraint, Congruence, Generator, Grid_Generator, Artificial_Parameter, their system/sequence classes, Variables_Set, Poly_Gen_Relation, Poly_Con_Relation, the operation-option/result enums, Pair and By_Reference. Values must have the documented class, finite acyclic expression structure and supported enum membership; mathematical objects must satisfy their native constructor preconditions.
VERIFICATION_CRITERIA: Inspect each constructor/accessor correspondence, expression-node case, system iterator and enum switch against the Java definitions and native meanings. Check signed/unsigned range admission, affine constants, generator divisors, relation flags and container field positions. Use existing Java domain and solver scenarios as supporting runtime evidence, comparing normalization by mathematical meaning. Construct and copy mixed expression trees, check subtree independence and convert against an independently known affine result.
SOURCE: interfaces/Java/jni/ppl_java_common.cc; interfaces/Java/jni/ppl_java_common_defs.hh; interfaces/Java/jni/ppl_java_common_inlines.hh; interfaces/Java/tests/Linear_Expression_test1.java; interfaces/Java/parma_polyhedra_library.
-
7. Java dimension limits and exact native counts UID: PPL-SPEC-001729 STATUS: APPROVED COMPONENT: JAVA_INTERFACE APPLICABILITY: IF_JAVA VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT: For an unsigned integral native type, java_dimension_limit shall return the smaller of the supplied native limit and the greatest Java long value. java_unsigned_value shall return the exact supplied count when representable by Java long and otherwise throw std::overflow_error. check_java_dimension_growth shall check the current dimension and both successive increments against that effective limit without unsigned wraparound. It shall throw std::length_error if the resulting dimension is inadmissible, before either increment is applied to the numerical object.
JNI count queries for PIP parameter dimensions, constraints and artificial parameters shall return the corresponding native cardinalities. They require valid problem/node handles; wrapper failures follow 🔗 3. Java native failure and pending-exception protocol. A constraint count already represented by a signed iterator difference shall be representable by Java long; other unsigned count conversion uses the checked conversion above.
RATIONALE: Java uses a signed count type even when the native count type is unsigned; admission must precede mutation and must not narrow a value silently.
INTERFACE: Namespace Parma_Polyhedra_Library::Interfaces::Java:
template <typename Unsigned> jlong java_dimension_limit(Unsigned limit); template <typename Unsigned> jlong java_unsigned_value(Unsigned value); template <typename Unsigned> void check_java_dimension_growth(Unsigned current, Unsigned first, Unsigned second, Unsigned limit);
Unsigned shall be an unsigned integral type. JNI queries implement PIP_Problem.number_of_parameter_space_dimensions, PIP_Problem.number_of_constraints and PIP_Tree_Node.number_of_artificials.
VERIFICATION_CRITERIA: Check unsigned types narrower than, equal to and wider than Java's positive range; zero, exact-limit and overflowing counts; and each increment at the remaining-capacity boundary. Confirm rejection precedes object mutation. Inspect all three JNI cardinality queries against their native collections.
SOURCE: interfaces/Java/jni/ppl_java_limits.hh; interfaces/Java/jni/ppl_java_globals.cc; interfaces/Java/tests/unsignedlimits1.cc.
-
8. Native Java floating-point environment lifetime UID: PPL-SPEC-001730 STATUS: APPROVED COMPONENT: JAVA_INTERFACE APPLICABILITY: IF_JAVA VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: CPP VISIBILITY: Internal RELATIONS (Parent): STATEMENT: When PPL_CAN_CONTROL_FPU is true, successful construction of Java_FPU_Guard shall save the calling thread's floating-point environment and establish the rounding required by PPL. Failure to save the environment shall throw std::runtime_error before changing the rounding direction. Destruction shall restore the saved environment on normal return and exception unwinding, subject to the host's successful floating-point environment operations. The guard shall be constructed after Java argument conversions that may execute host code and before the native floating-point numerical operation. The lifetime shall remain on the same thread. Copy construction and copy assignment shall be unavailable. When FPU control is unavailable the guard shall perform no FPU changes and shall not make unsupported floating-point operations valid.
RATIONALE: The JVM may reset its floating-point state during callbacks, and native rounding must not leak into subsequent Java execution.
INTERFACE: Namespace Parma_Polyhedra_Library::Interfaces::Java:
class Java_FPU_Guard { public: Java_FPU_Guard(); ~Java_FPU_Guard(); Java_FPU_Guard(const Java_FPU_Guard&) = delete; Java_FPU_Guard& operator=(const Java_FPU_Guard&) = delete; };
VERIFICATION_CRITERIA: For every available host rounding direction, verify upward native rounding, correct interval computation, and restoration after return and unwinding. On x86/SSE check restoration when x87 and SSE initially disagree. Inspect guard placement after conversion callbacks and before native numerical operations.
SOURCE: interfaces/Java/jni/ppl_java_rounding.hh; interfaces/Java/tests/jni_rounding1.cc; interfaces/Java/jni/ppl_interface_generator_java_classes_cc_code.m4.
-
1. OCaml mathematical representation exchange UID: PPL-SPEC-001692 STATUS: APPROVED COMPONENT: OCAML_INTERFACE APPLICABILITY: IF_OCAML VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: OCaml VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000011 Coordinate identity and ambient dimension (Specifies)
- PPL-LLR-000012 Affine meaning of linear expressions (Specifies)
- PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000207 OCaml numerical term conversion (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: For well-formed values of the exposed algebraic types, conversion to native objects shall preserve zero-based variable identities, signed integral Z.t coefficients within the configured native range, affine expression meaning, equality and strict/non-strict inequality meaning, and generator kind. Returned values shall denote the native result; syntactic tree shape and normalization need not be preserved.
Conversion of finite acyclic expressions to native objects shall preserve operator grouping and apply the configured coefficient rules at each node. Native stack usage shall be independent of expression depth. The expression values used during traversal shall remain valid under the OCaml runtime's lifetime and collection rules.
A point or closure point with expression coordinates ai and nonzero divisor d denotes coordinates ai ⁄ d. Lines and rays denote the native direction described by the expression. Grid generators and congruences shall preserve their native rational-divisor and integral-modulus meanings. Native validity and operation-specific topology and arithmetic preconditions apply. A Z.t may be immediate or heap allocated; the binding shall use its value rather than assume either memory layout.
RATIONALE: An algebraic representation can change tree shape while preserving exactly the same affine function or geometric object.
INTERFACE: Module Ppl_ocaml.
type linear_expression = Variable of int | Coefficient of Z.t | Unary_Plus of linear_expression | Unary_Minus of linear_expression | Plus of linear_expression * linear_expression | Minus of linear_expression * linear_expression | Times of Z.t * linear_expression type linear_constraint = Less_Than of linear_expression * linear_expression | Less_Or_Equal of linear_expression * linear_expression | Equal of linear_expression * linear_expression | Greater_Than of linear_expression * linear_expression | Greater_Or_Equal of linear_expression * linear_expression type linear_generator = Line of linear_expression | Ray of linear_expression | Point of linear_expression * Z.t | Closure_Point of linear_expression * Z.t
Configured domain and solver constructors consume these types; their expression, constraint and generator queries return the corresponding types. The companion linear_grid_generator and linear_congruence types in the module signature define grid exchange.
VERIFICATION_CRITERIA: Independently evaluate returned affine expressions and convert nested inputs with known grouped affine results. Round-trip positive, negative, zero and configured coefficient endpoints. Check multiple coordinates, all five relation kinds and all four polyhedral generator kinds. Include immediate and large Zarith values, divisor normalization and compacting collections.
SOURCE: interfaces/OCaml/ppl_ocaml_globals.mli; interfaces/OCaml/ppl_ocaml_common.cc; interfaces/OCaml/ppl_ocaml_globals.ml; interfaces/OCaml/tests/zarith1.ml; interfaces/OCaml/tests/polyhedron1.ml; interfaces/OCaml/tests/boundary_contracts1.ml.
-
4. OCaml operation-option correspondence UID: PPL-SPEC-001731 STATUS: APPROVED COMPONENT: OCAML_INTERFACE APPLICABILITY: IF_OCAML VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: OCaml VISIBILITY: Public RELATIONS (Parent): STATEMENT: For well-typed public OCaml values, conversion of operation options shall select the native choice with the same documented meaning: empty/universe, bounded integer width (8, 16, 32, 64 or 128 bits), unsigned or two's-complement signed representation, wrapping/undefined/impossible overflow, minimization or maximization, and polynomial/simplex/unrestricted complexity. MIP pricing and PIP cutting/pivot names and values shall select their corresponding native control parameters. These options retain the native operation's mathematical preconditions and exactness or approximation guarantees. Values forged outside the public OCaml type definitions are outside this conversion contract; supported boundary failures follow 🔗 3. OCaml native exception translation.
RATIONALE: OCaml variants are encoded by constructor order; each ordinal must continue to denote the intended native option when either side evolves.
INTERFACE: Module Ppl_ocaml types degenerate_element, bounded_integer_type_width, bounded_integer_type_representation, bounded_integer_type_overflow, optimization_mode, complexity_class, control_parameter_name, control_parameter_value, pip_problem_control_parameter_name and pip_problem_control_parameter_value as declared in ppl_ocaml_globals.mli.
VERIFICATION_CRITERIA: Compare every public variant's runtime encoding with the corresponding native conversion branch, including all pricing, cutting and pivot strategies. Inspect option forwarding at generated call sites and native constructor preconditions. Check that no variant ordinal is silently mapped to another policy.
SOURCE: interfaces/OCaml/ppl_ocaml_globals.mli; interfaces/OCaml/ppl_ocaml_common.cc.
-
1. Prolog mathematical term exchange UID: PPL-SPEC-001695 STATUS: APPROVED COMPONENT: PROLOG_INTERFACE APPLICABILITY: IF_PROLOG_CIAO, IF_PROLOG_GNU, IF_PROLOG_SICSTUS, IF_PROLOG_SWI, IF_PROLOG_XSB, IF_PROLOG_YAP VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: Prolog VISIBILITY: Public RELATIONS (Parent): - PPL-LLR-000011 Coordinate identity and ambient dimension (Specifies)
- PPL-LLR-000012 Affine meaning of linear expressions (Specifies)
- PPL-LLR-000013 Meaning of linear constraints (Specifies)
- PPL-LLR-000014 Meaning of linear congruences (Specifies)
- PPL-LLR-000015 Distinct meanings of geometric generators (Specifies)
- PPL-LLR-000210 Prolog mathematical term interpretation (Specifies)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Specifies)
STATEMENT: For each configured supported Prolog engine, supported integral terms, affine expressions, constraints, congruences and generators shall be interpreted with their documented native mathematical meaning. '$VAR'(I) shall denote the zero-based coordinate I. Unary negation, addition, subtraction and integral scalar multiplication shall preserve affine meaning. Relations shall preserve equality and strict/non-strict order. Point and closure-point coordinates shall be divided by the supplied nonzero divisor; lines and rays denote directions. Returned terms may be normalized but shall denote the native result.
Values shall be representable by both the engine and configured native coefficient type. A bounded engine does not acquire arbitrary-size integers from GMP in the native library. Malformed or nonlinear expressions and invalid native objects shall follow 🔗 2. Prolog success failure and exception outcomes.
RATIONALE: The common term protocol must express the same mathematics independently of the selected foreign runtime.
INTERFACE: Common numerical term protocol:
'$VAR'(I) -E E + F E - F N * E E = F E =< F E < F E >= F E > F point(E, D) closure_point(E, D) ray(E) line(E)
Here I is a valid coordinate index, N an integral coefficient and E/F supported affine expressions. Lists of such terms are the system interfaces accepted and returned by configured domain and solver predicates. Grid-point, parameter and congruence terms follow the common Prolog manual's rational-divisor and modulus conventions.
VERIFICATION_CRITERIA: Across each available configured engine, compare coefficient round trips and independently reconstructed expressions/constraints/generators. Cover signs, zero, multiple indices, all relation and generator kinds, and each engine/native range intersection; check unsupported numeric and malformed cases separately.
SOURCE: interfaces/Prolog/Prolog_interface_sysindep.dox; interfaces/Prolog/ppl_prolog_common.cc; interfaces/Prolog/tests/pl_check.pl.
-
7. Prolog operation-option correspondence UID: PPL-SPEC-001732 STATUS: APPROVED COMPONENT: PROLOG_INTERFACE APPLICABILITY: IF_PROLOG_CIAO, IF_PROLOG_GNU, IF_PROLOG_SICSTUS, IF_PROLOG_SWI, IF_PROLOG_XSB, IF_PROLOG_YAP VERIFICATION_METHODS: Analysis, Inspection LANGUAGE: Prolog VISIBILITY: Public RELATIONS (Parent): STATEMENT: Option terms shall select the identically named native meanings: true or false, universe or empty, bits_8, bits_16, bits_32, bits_64 or bits_128, unsigned or signed_2_complement, and overflow_wraps, overflow_undefined or overflow_impossible. min and max select optimization direction; polynomial, simplex and any select complexity. The documented pricing, cutting and pivot atoms shall select the corresponding native solver controls. Unsupported option terms shall be rejected through 🔗 2. Prolog success failure and exception outcomes; policies retain native preconditions and guarantees.
RATIONALE: Prolog option terms have no static type guarantee; admission must reject unsupported terms without changing the requested native policy.
INTERFACE: Option arguments of the documented Prolog predicates: Boolean and empty/universe selection; bounded-integer width, representation and overflow; optimization mode; complexity class; and MIP/PIP control-parameter names and values. These terms are interpreted by the corresponding term_to_* conversion helpers.
VERIFICATION_CRITERIA: Compare every accepted atom with its native policy or enumerator. Inspect all rejection paths and generated option forwarding. Exercise each accepted option and malformed, non-atom, unbound and unknown values through the supported public predicates, distinguishing conversion errors from a false numerical result.
SOURCE: interfaces/Prolog/ppl_prolog_common.cc; interfaces/Prolog/ppl_prolog_common_defs.hh; interfaces/Prolog/Prolog_interface.dox.
-
7. Access through supported language interfaces UID: PPL-HLR-000007 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000213 Configured binding domain selection (Refined by)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Refined by)
- PPL-LLR-000215 Consistent binding type dependencies (Refined by)
- PPL-LLR-000439 Binding interruption support and state changes (Refined by)
- PPL-LLR-000201 Explicit C library lifecycle (Refined by)
- PPL-LLR-000202 C object ownership and borrowed access (Refined by)
- PPL-LLR-000203 C boundary error reporting (Refined by)
- PPL-LLR-000311 Public C++ access to supported facilities (Refined by)
- PPL-LLR-000312 Independent values after copying domain objects (Refined by)
- PPL-LLR-000204 Java coefficient value preservation (Refined by)
- PPL-LLR-000205 Java library lifecycle (Refined by)
- PPL-LLR-000206 Java boundary exception translation (Refined by)
- PPL-LLR-000436 Java native object ownership (Refined by)
- PPL-LLR-000207 OCaml numerical term conversion (Refined by)
- PPL-LLR-000208 OCaml native object reclamation (Refined by)
- PPL-LLR-000209 OCaml boundary error translation (Refined by)
- PPL-LLR-000210 Prolog mathematical term interpretation (Refined by)
- PPL-LLR-000211 Prolog predicate outcomes (Refined by)
- PPL-LLR-000212 Prolog object lifetime operations (Refined by)
- PPL-LLR-000437 Prolog library lifecycle (Refined by)
STATEMENT: 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.
RATIONALE: Language-specific representations and error mechanisms must not silently change the numerical meaning of an exposed facility.
VERIFICATION_CRITERIA: Review the supported facility set for each interface and compare equivalent computations across enabled interfaces, including value conversion, object lifetime and error reporting.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: doc/definitions.dox: PPL_CXX_interface; interfaces/Makefile.am; interfaces/C/C_interface.dox; interfaces/Java/README.java.md; interfaces/OCaml/OCaml_interface.dox; interfaces/Prolog/Prolog_interface.dox.
The binding configuration and generation process shall enforce the type dependencies required by exposed operations. It shall reject an inconsistent requested domain selection or omit operations whose required result types are not selected, according to the affected interface's documented configuration rules.
A generated operation cannot be usable if its parameter or result type is absent from the interface.
Verification covers binding-selection dependency checks and operation-generation rules. Selection tests and generated-output inspection verify rejection or omission according to each interface's policy. Dependency policies can differ between bindings and must not be generalized into a uniform feature set. Tool and runtime prerequisites are governed separately by 🔗 4. Optional-component prerequisite identification.
Java powerset selections lacking their required disjunct class are rejected; C operations returning all affine ranking functions are generated only when their required polyhedron output type is selected; consistent selections generate usable declarations and implementations.
README.configure.md, Java powerset and C ranking-function instantiation dependencies; configure.ac, Java disjunct dependency checks; interfaces/C/ppl_interface_generator_c_procedure_generators.m4.
-
12. C selected domains and generated dependencies UID: PPL-SPEC-001565 STATUS: APPROVED COMPONENT: BINDING_INFRASTRUCTURE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: The configured domain selection shall determine generated C declarations and implementations consistently. Core descriptor, optimizer and lifecycle objects shall remain available with no numerical-domain instantiations. An exposed operation shall have its required argument and result types. C all-ranking functions shall be generated only when the required polyhedron output type is selected; one-witness and decision families shall retain their supported selection policy. Generation shall preserve the declared native-domain and C-handle correspondence and installed declarations shall match the linked definitions.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A generated function is unusable when its result type or implementation is missing.
INTERFACE: Public header: <ppl_c.h>.
/* Configuration input: --enable-interfaces=c and --enable-instantiations=D1@D2@... or none. */VERIFICATION_CRITERIA: Generate representative default, reduced and no-domain selections; compile supported declarations, check expected omissions and verify matching exported symbols and C18 clients.
SOURCE: interfaces/C/ppl_interface_generator_c_cc_files.m4; interfaces/C/ppl_c_implementation_common_defs.hh (C handle/native type correspondence); interfaces/C/tests/ccontractsspec1.cc.
-
2. Optional component configuration protocol UID: PPL-SPEC-001702 STATUS: APPROVED COMPONENT: BUILD_DISTRIBUTION APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Inspection VISIBILITY: Public RELATIONS (Parent): STATEMENT: Configuration shall distinguish build-machine generation tools from headers, libraries and runtime facilities required by selected target components. Explicit requests and automatic detection shall follow their documented failure or disabling policies. Diagnostics and the configured interface/tool set shall identify unavailable prerequisites; disabled components shall not be advertised as enabled. If a specifically named interface cannot be built, configuration shall fail. The default and --enable-interfaces=all shall select the available interfaces.
Selected foreign interfaces shall have compatible runtime development facilities and executable generation tools, including the required M4 and Java header-generation facilities. Optional solver input/checking libraries shall follow their declared selection policies. When requirements documentation is selected, a missing or too-old StrictDoc shall disable requirements HTML export with an explanatory warning rather than fail a library build. Unperformed target-execution checks shall remain distinct from successful checks in cross configurations.
RATIONALE: A usable generator on the build machine does not by itself establish that a target component can compile, link or run.
COMMENT: LANGUAGE is omitted because this is a language-neutral external protocol and artifact contract; it contains no implementation-language source.
INTERFACE: Input: configure optional interface, instantiation, program and documentation/tool selections, including --enable-interfaces, --enable-instantiations, --enable-ppl_lpsol, --enable-ppl_pips and --with-strictdoc. Output: the enabled component list, configured build conditionals and diagnostics identifying unavailable prerequisites. Only supported combinations and documented tool/runtime search options apply.
VERIFICATION_CRITERIA: Exercise explicit and automatic selections with present/missing prerequisites; compare summaries, Makefiles and installed metadata. Check missing StrictDoc is nonfatal with an actionable warning. Review cross-build generation versus target checks and include a build-tool/target-facility mismatch.
SOURCE: configure.ac; optional-tool macros in m4; tests/build_contracts.py; interface generation capability checks.
-
7. Access through supported language interfaces UID: PPL-HLR-000007 STATUS: APPROVED COMPONENT: LIBRARY_WIDE APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000213 Configured binding domain selection (Refined by)
- PPL-LLR-000214 Mathematical consistency of corresponding binding operations (Refined by)
- PPL-LLR-000215 Consistent binding type dependencies (Refined by)
- PPL-LLR-000439 Binding interruption support and state changes (Refined by)
- PPL-LLR-000201 Explicit C library lifecycle (Refined by)
- PPL-LLR-000202 C object ownership and borrowed access (Refined by)
- PPL-LLR-000203 C boundary error reporting (Refined by)
- PPL-LLR-000311 Public C++ access to supported facilities (Refined by)
- PPL-LLR-000312 Independent values after copying domain objects (Refined by)
- PPL-LLR-000204 Java coefficient value preservation (Refined by)
- PPL-LLR-000205 Java library lifecycle (Refined by)
- PPL-LLR-000206 Java boundary exception translation (Refined by)
- PPL-LLR-000436 Java native object ownership (Refined by)
- PPL-LLR-000207 OCaml numerical term conversion (Refined by)
- PPL-LLR-000208 OCaml native object reclamation (Refined by)
- PPL-LLR-000209 OCaml boundary error translation (Refined by)
- PPL-LLR-000210 Prolog mathematical term interpretation (Refined by)
- PPL-LLR-000211 Prolog predicate outcomes (Refined by)
- PPL-LLR-000212 Prolog object lifetime operations (Refined by)
- PPL-LLR-000437 Prolog library lifecycle (Refined by)
STATEMENT: 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.
RATIONALE: Language-specific representations and error mechanisms must not silently change the numerical meaning of an exposed facility.
VERIFICATION_CRITERIA: Review the supported facility set for each interface and compare equivalent computations across enabled interfaces, including value conversion, object lifetime and error reporting.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: doc/definitions.dox: PPL_CXX_interface; interfaces/Makefile.am; interfaces/C/C_interface.dox; interfaces/Java/README.java.md; interfaces/OCaml/OCaml_interface.dox; interfaces/Prolog/Prolog_interface.dox.
-
8. Controlled runtime operation and resource use UID: PPL-HLR-000008 STATUS: APPROVED COMPONENT: RUNTIME APPLICABILITY: ALL VERIFICATION_METHODS: Test, Analysis, Review RELATIONS (Child): - PPL-LLR-000439 Binding interruption support and state changes (Refined by)
- PPL-LLR-000131 Initialization and finalization lifecycle (Refined by)
- PPL-LLR-000132 Floating-point rounding-state exchange (Refined by)
- PPL-LLR-000133 Failure and resource safety (Refined by)
- PPL-LLR-000134 Cooperative computation abandonment (Refined by)
- PPL-LLR-000135 Watchdog scheduling and cancellation scope (Refined by)
- PPL-LLR-000438 Thread entry and shared-facility use (Refined by)
STATEMENT: 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.
RATIONALE: Numerical correctness depends on a valid runtime environment and on controlled handling of interrupted or unsuccessful computations.
VERIFICATION_CRITERIA: Review initialization, thread-safety and interruption assumptions for each supported configuration; exercise normal completion, reported failures and supported interruption paths with checks on object validity and resource ownership.
BIBLIOGRAPHY: BagnaraHZ08SCP | Whole work (background on the library's numerical abstractions and design).
SOURCE: doc/definitions.dox: use_of_library; src/Init_defs.hh; src/Init.cc; src/thread_safe.hh; src/Watchdog_defs.hh.
Each interruption facility exposed by a supported language interface shall define and observe its availability, parameter restrictions, thread and signal ownership preconditions, replacement and reset effects, and cleanup after notification. Unsupported requests shall be rejected through the interface's declared error mechanism without arming the unsupported facility. The effects of successful or rejected replacements and resets on existing interruption settings shall be explicit. An interruption shall be distinguishable from a completed numerical outcome.
Native timer availability and cooperative checkpoint behavior do not determine a binding's supported interruption facilities or the effects of its state-management operations.
Verification covers each binding's actual interruption controls, errors and state effects. State-sequence checks and boundary-path inspection verify these contracts. A selected binding need not provide every native watchdog facility; unsupported operation remains a specified outcome. No hard response-time bound or uniform timeout-state policy is imposed. 🔗 4. Cooperative computation abandonment owns native checkpoint and caller-owned request behavior, 🔗 5. Watchdog scheduling and cancellation scope owns native timers, and 🔗 6. Thread entry and shared-facility use owns shared-facility use restrictions.
Review and exercise the supported interruption state transitions for each selected interface, including unsupported requests, invalid durations or thresholds, replacement failures, resets and notification cleanup. Confirm Java rejection of signal-based timeouts without arming them and its documented preservation of other timeout state; check configured thread-support restrictions in the affected bindings. Verify reported interruption categories and distinguish binding-owned reset behavior from caller-owned native request persistence.
interfaces/C/ppl_c_header.h and interfaces/C/ppl_c_implementation_common_defs.hh: timeout support restrictions, replacement effects and notification cleanup; interfaces/Java/parma_polyhedra_library/Parma_Polyhedra_Library.java and interfaces/Java/jni/ppl_java_common.cc: unsupported signal-timeout requests and translated timeout cleanup; interfaces/OCaml/ppl_ocaml_common_defs.hh: timeout translation and reset; interfaces/Prolog/Prolog_interface_sysindep.dox: exposed interruption operations.
-
2. C failures and installed error notification UID: PPL-SPEC-001516 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Supported native exceptions shall be contained at the C boundary and translated to the corresponding negative category: allocation, invalid argument, domain, size, logic, checked arithmetic overflow, internal runtime error, other standard exception, unexpected exception or interruption. The installed non-null error handler shall receive that category and a description exactly once for each reported failure, including directly detected I/O, buffer-allocation and unsupported-operation failures. Its description shall be borrowed only during the callback. A null handler shall disable notification. Handlers shall return normally and obey synchronization and reentrancy prerequisites.
ppl_set_error_handler shall replace the calling thread's handler where thread-local state is configured. Direct C I/O errors shall preserve their errno detail across notification. Pointer-returning text wrapping shall use null on failure, with handler notification, rather than allowing a C++ exception to escape.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: An error status and its callback are two observations of the same failed operation.
INTERFACE: Public header: <ppl_c.h>.
enum ppl_enum_error_code { PPL_ERROR_OUT_OF_MEMORY = -2, PPL_ERROR_INVALID_ARGUMENT = -3, PPL_ERROR_DOMAIN_ERROR = -4, PPL_ERROR_LENGTH_ERROR = -5, PPL_ARITHMETIC_OVERFLOW = -6, PPL_STDIO_ERROR = -7, PPL_ERROR_INTERNAL_ERROR = -8, PPL_ERROR_UNKNOWN_STANDARD_EXCEPTION = -9, PPL_ERROR_UNEXPECTED_ERROR = -10, PPL_TIMEOUT_EXCEPTION = -11, PPL_ERROR_LOGIC_ERROR = -12 }; int ppl_set_error_handler(void (*h)(enum ppl_enum_error_code code, const char *description));
VERIFICATION_CRITERIA: Check every supported category, callback counts, null-handler operation, errno preservation and native exception containment; inject both C++ allocation and output-buffer allocation failures.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/ppl_c_implementation_common_defs.hh; interfaces/C/tests/ccontractsspec1.cc; interfaces/C/tests/partitions.c; interfaces/C/tests/polyhedra.c; interfaces/C/tests/cerrorsspec1.cc.
-
5. C signal timeout lifecycle UID: PPL-SPEC-001552 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Supported signal-timeout requests shall arm the native watchdog for the positive centisecond duration under its thread/signal ownership prerequisites. Replacing a timeout shall cancel the preceding signal timeout before admitting and arming its replacement; failure after cancellation shall not restore the old one. Reset shall release the C-owned signal watchdog and its binding-owned notification state. A delivered signal interruption shall report the timeout category and release that signal timeout before notification. Thread-safe C configurations shall reject the unsupported request without arming it. C library finalization shall release any remaining C-owned signal watchdog before native watchdog finalization.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: A C-owned timer must have a finite lifetime and a distinct interruption outcome.
INTERFACE: Public header: <ppl_c.h>.
int ppl_set_timeout(unsigned csecs); int ppl_reset_timeout(void);
VERIFICATION_CRITERIA: Check supported/unsupported requests, invalid and excessive durations, replacement/reset effects, timeout translation and finalization with an armed timer.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/watchdog1.c; interfaces/C/tests/cerrorsspec1.cc.
-
6. C deterministic timeout lifecycle UID: PPL-SPEC-001553 STATUS: APPROVED COMPONENT: C_INTERFACE APPLICABILITY: IF_C VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: C VISIBILITY: Public RELATIONS (Parent): STATEMENT: Supported deterministic requests shall use the native positive scaled computational-weight increment, its admitted circular threshold domain and cooperative checkpoints. Replacing shall cancel the preceding deterministic setting before admitting the replacement; reset shall release its C-owned watcher and notification state. A deterministic interruption shall release that deterministic watcher before reporting the timeout category. It shall not remain active merely because the signal-timeout cleanup path was selected instead. Reset shall clear only the C-owned deterministic request and preserve unrelated borrowed interruption requests. In thread-safe C configurations, each initialized thread shall own its independent watcher, threshold queue, checker and budget counter. Setting, canceling or expiring one thread's budget shall not alter another's. Thread and library finalization shall release the calling thread's remaining C-owned deterministic state before native teardown; a later thread session shall inherit no pending C deterministic timeout.
The valid-use and result-category conditions in 🔗 1. C handles, arguments and successful outcomes shall apply.
RATIONALE: An observed timeout must not repeatedly poison independent later computations.
INTERFACE: Public header: <ppl_c.h>.
int ppl_set_deterministic_timeout(unsigned long unscaled_weight, unsigned scale); int ppl_reset_deterministic_timeout(void);
VERIFICATION_CRITERIA: Force a threshold crossing, check exactly one translated notification, then run an independent query without an explicit client reset; check invalid/replacement/reset/finalization transitions. Exercise simultaneous thread budgets, cross-module native/C watchers, unrelated borrowed requests and finalization/reentry with a pending budget.
SOURCE: interfaces/C/ppl_c_header.h; interfaces/C/ppl_c_implementation_common.cc; interfaces/C/tests/weightwatch1.c; interfaces/C/tests/cerrorsspec1.cc; interfaces/C/tests/deterministictimeouts1.cc.
-
Incoming link from: 4. OCaml operation-option correspondence1
3. OCaml native exception translation UID: PPL-SPEC-001694 STATUS: APPROVED COMPONENT: OCAML_INTERFACE APPLICABILITY: IF_OCAML VERIFICATION_METHODS: Test, Analysis, Inspection LANGUAGE: OCaml VISIBILITY: Public RELATIONS (Parent): STATEMENT: Native exceptions raised by supported OCaml numerical entry points shall be contained. bad_alloc shall raise Out_of_memory and invalid_argument shall raise Invalid_argument. Native overflow, domain, length, logic and runtime errors shall raise the corresponding declared PPL_arithmetic_overflow, PPL_domain_error, PPL_length_error, PPL_logic_error and PPL_internal_error exceptions with diagnostics. Other standard exceptions shall raise PPL_unknown_standard_exception; unexpected native exceptions shall raise PPL_unexpected_error. Supported timeout exceptions shall reset the triggering binding-owned timer and raise PPL_timeout_exception.
Native handlers and scoped native resources shall finish cleanup before the host exception is raised. If native unwinding leaves local root records from exited frames, the bridge shall restore the prior root chain before any runtime allocation. Diagnostic creation shall preserve the exception type and message when allocation succeeds. Allocation failure during translation shall be reported through the OCaml runtime after native cleanup. Raising an exception does not promise rollback beyond an operation's contract. Well-typed host representations, lifecycle, range and synchronization preconditions apply.
RATIONALE: OCaml callers need a host exception rather than native unwinding across the runtime boundary.
INTERFACE: Module Ppl_ocaml: the exception constructors above, as declared in ppl_ocaml_globals.mli, and supported foreign entry points. String-bearing exceptions carry the native diagnostic. Out_of_memory and PPL_timeout_exception have no diagnostic payload.
VERIFICATION_CRITERIA: Check invalid arguments, invalid dimensions, checked coefficient overflow and supported deterministic or wall-clock interruption. Check diagnostics and recovery after exceptions from handwritten and generated entry points, including a subsequent collection and native call. Inspect all translation categories, local-root lifetimes and temporary-resource cleanup. Exercise allocation failure in the exception bridge in a controlled boundary test.
SOURCE: interfaces/OCaml/ppl_ocaml_common_defs.hh; interfaces/OCaml/ppl_ocaml_globals.ml; interfaces/OCaml/tests/zarith1.ml; interfaces/OCaml/tests/test1.ml; interfaces/OCaml/tests/boundary_contracts1.ml.