Parma Polyhedra Library requirements
C DOMAINS

C DOMAINS

UID:
VERSION:
CLASSIFICATION:
PREFIX:
Type
Level
MID
UID
REFS
Title
Statement
Rationale
Comment
BIBLIOGRAPHY
STATUS
COMPONENT
APPLICABILITY
VERIFICATION_METHODS
VERIFICATION_CRITERIA
SOURCE
LANGUAGE
VISIBILITY
INTERFACE
SW_SPEC
1
PPL-SPEC-001554
PPL-SPEC-001554
C generated domain values and conversions

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check all selected domain constructors, conversion direction, copy/exchange independence, consuming/recycling inputs and allocation failures.

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.

C
Public

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);
SW_SPEC
2
PPL-SPEC-001555
PPL-SPEC-001555
C generated domain observations

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Compare literal empty/universe, containment, relation flags and bounded/unbounded optimization/frequency results for configured arithmetic types.

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.

C
Public

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);
SW_SPEC
3
PPL-SPEC-001556
PPL-SPEC-001556
C generated system extraction ownership

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check borrowed identity and zero-copy behavior, independently owned extractions, native representation meaning and owner lifetime histories.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/domains.c.

C
Public

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);
SW_SPEC
4
PPL-SPEC-001557
PPL-SPEC-001557
C generated domain transformations

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Compare independent mathematical oracles and fresh native models, exactness booleans, empty operands, aliases and rejected dimensions.

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.

C
Public

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);
SW_SPEC
5
PPL-SPEC-001558
PPL-SPEC-001558
C generated affine transformations

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check borrowed scalars/expressions, zero and negative denominators where admitted, dimension guards and literal image/preimage sets.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/polyhedra.c.

C
Public

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);
SW_SPEC
6
PPL-SPEC-001559
PPL-SPEC-001559
C generated dimension arrays and maps

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check empty and sparse maps, reserved entries, reordered coordinates, duplicate dimension selections, valid codomain maxima and native growth limits.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/polyhedra.c.

C
Public

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);
SW_SPEC
7
PPL-SPEC-001560
PPL-SPEC-001560
C generated convergence operations

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

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.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.

C
Public

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);
SW_SPEC
8
PPL-SPEC-001561
PPL-SPEC-001561
C finite-disjunction ownership and traversal

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check independent added values, borrowed traversal, empty/nonempty begin/end, copy/assignment and removal/invalidation histories.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/powersets.c.

C
Public

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);
SW_SPEC
9
PPL-SPEC-001562
PPL-SPEC-001562
C partition result ownership

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check literal partitions and their union/disjointness guarantees, indicator meaning, independent destruction and failure at each acquisition frontier.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/partitions.c.

C
Public

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);
SW_SPEC
10
PPL-SPEC-001563
PPL-SPEC-001563
C affine-ranking outcomes and coefficient spaces

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Compare full ranking spaces and independently checked witnesses, vacuous paired inputs, strict boundaries, unsupported dimensions and selected-domain generation.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.

C
Public

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);
SW_SPEC
11
PPL-SPEC-001564
PPL-SPEC-001564
C bounded integer wrapping

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.

Generated forwarding must retain the native mathematical and ownership contract.

APPROVED
C_INTERFACE
IF_C
Test, Analysis, Inspection

Check width/sign/overflow combinations, exact modular witnesses, absent/present guards, supported integer-coordinate selections and native soundness conditions.

interfaces/C/ppl_interface_generator_c_cc_code.m4; interfaces/C/ppl_interface_generator_c_h_code.m4; interfaces/C/tests/ccontractsspec1.cc.

C
Public

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);
SW_SPEC
12
PPL-SPEC-001565
PPL-SPEC-001565
C selected domains and generated dependencies

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.

A generated function is unusable when its result type or implementation is missing.

APPROVED
BINDING_INFRASTRUCTURE
IF_C
Test, Analysis, Inspection

Generate representative default, reduced and no-domain selections; compile supported declarations, check expected omissions and verify matching exported symbols and C18 clients.

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.

C
Public

Public header: <ppl_c.h>.

/* Configuration input: --enable-interfaces=c and
   --enable-instantiations=D1@D2@... or none. */