|
PPL 2.0
|
The Parma Polyhedra Library (PPL) is a C++20 library for the manipulation of numerical information that can be represented by points in some 
The main features of the library are the following:
x + 2*y + 5*z <= 7 when you mean it;The library also provides exact linear and mixed-integer optimization, exact feasibility queries with strict inequalities, and polyhedral integer-point queries on selected coordinates. See Section Exact Mixed-Integer Optimization and Feasibility.
The PPL includes full high-level requirements, low-level requirements and software specifications, with traceability to implementation and tests. These complement the user manuals and API references by specifying preconditions, postconditions, exceptional behavior and other contracts. The complete sources are distributed with the library and published as browsable requirements and specifications.
The maintained production implementation uses C++20 and C18. Compliance with MISRA C++:2023 incorporating Technical Corrigendum 1 and MISRA C:2025 is a project goal for a future release.
The PPL has an extensive suite of unit and regression tests, providing extensive statement, branch and modified condition/decision coverage (MC/DC). Tests use independent mathematical oracles and exercise boundary cases, exceptional conditions, interruption and recovery, including failure injection. Coverage results identify the source version and build configuration assessed.
In the following section we describe all the domains available to the PPL user. More detailed descriptions of these domains and the operations provided will be found in subsequent sections.
In the final section of this chapter (Section Using the Library), we provide some additional advice on the use of the library.
A semantic geometric descriptor is a subset of 
C_Polyhedron ,NNC_Polyhedron ,BD_Shape<T> ,Octagonal_Shape<T> ,Box<ITV> , andGrid ,where:
T is a numeric type chosen among mpz_class, mpq_class, supported bounded integer types such as signed char, short, int, long, long long and exact-width types such as int8_t and int16_t, or the floating-point types float, double and long double where supported by the configuration. Floating-point instantiations require the formats and directed-rounding capabilities checked during configuration; andITV is an instance of the Interval template class.Other semantic GDs, the compound classes, can be constructed (also recursively) from all the GDs classes. These include:
where PSET, D1 and D2 can be any semantic GD classes and R is the reduction operation to be applied to the component domains of the product class.
A uniform set of operations is provided for creating, testing and maintaining each of the semantic GDs. However, as many of these depend on one or more syntactic GDs, we first describe the syntactic GDs.
A syntactic geometric descriptor is for defining, modifying and inspecting a semantic GD. There are three kinds of syntactic GDs: basic GDs, constraint GDs and generator GDs. Some of these are generic and some specific. A generic syntactic GD can be used (in the appropriate context) with any semantic GD; clearly, different semantic GDs will usually provide different levels of support for the different subclasses of generic GDs. In contrast, the use of a specific GD may be restricted to apply to a given subset of the semantic GDs (i.e., some semantic GDs provide no support at all for them).
The following basic GDs currently supported by the PPL are:
These classes, which are all generic syntactic GDs, are used to build the constraint and generator GDs as well as support many generic operations on the semantic GDs.
The PPL currently supports the following classes of generic constraint GDs:
Each linear constraint can be further classified to belong to one or more of the following syntactic subclasses:








Note that the subclasses are not disjoint.
Similarly, each linear congruence can be classified to belong to one or more of the following syntactic subclasses:




The library also supports systems, i.e., finite collections, of either linear constraints or linear congruences (but see the note below).
Each semantic GD provides optimal support for some of the subclasses of generic syntactic GDs listed above: here, the word "optimal" means that the considered semantic GD computes the best upward approximation of the exact meaning of the linear constraint or congruence. When a semantic GD operation is applied to a syntactic GD that is not optimally supported, it will either indicate its unsuitability (e.g., by throwing an exception) or it will apply an upward approximation semantics (possibly not the best one).
For instance, the semantic GD of topologically closed convex polyhedra provides optimal support for non-strict linear inequality and equality constraints, but it does not provide optimal support for strict inequalities. Some of its operations (e.g., add_constraint and add_congruence) will throw an exception if supplied with a non-trivial strict inequality constraint or a proper congruence; some other operations (e.g., refine_with_constraint or refine_with_congruence) will compute an over-approximation.
Similarly, the semantic GD of rational boxes (i.e., multi-dimensional intervals) having integral values as interval boundaries provides optimal support for all interval constraints: even though the interval constraint 

The PPL currently supports two classes of generator GDs:
Rays, lines and parameters are specific of the mentioned semantic GDs and, therefore, they cannot be used by other semantic GDs. In contrast, as already mentioned above, points are basic geometric descriptors since they are also used in generic PPL operations.
is_empty(), is_universe(), is_topologically_closed(), is_discrete(), is_bounded(), contains_integer_point()
test for the named properties of the semantic GD.
total_memory_in_bytes(), external_memory_in_bytes()
return the total and external memory size in bytes.
OK()
checks that the semantic GD has a valid internal representation. (Some GDs provide this method with an optional Boolean argument that, when true, requires to also check for non-emptiness.)
space_dimension(), affine_dimension()
return, respectively, the space and affine dimensions of the GD.
add_space_dimensions_and_embed(), add_space_dimensions_and_project(), expand_space_dimension(), remove_space_dimensions(), fold_space_dimensions(), map_space_dimensions()
modify the space dimensions of the semantic GD; where, depending on the operation, the arguments can include the number of space dimensions to be added or removed a variable or set of variables denoting the actual dimensions to be used and a partial function defining a mapping between the dimensions.
contains(), strictly_contains(), is_disjoint_from()
compare the semantic GD with an argument semantic GD of the same class.
topological_closure_assign(), intersection_assign(), upper_bound_assign(), difference_assign(), time_elapse_assign(), widening_assign(), concatenate_assign(), m_swap()
modify the semantic GD, possibly with an argument semantic GD of the same class.
constrains(), bounds_from_above(), bounds_from_below(), maximize(), minimize().
These find information about the bounds of the semantic GD where the argument variable or linear expression define the direction of the bound.
affine_image(), affine_preimage(), generalized_affine_image(), generalized_affine_preimage(), bounded_affine_image(), bounded_affine_preimage().
These perform several variations of the affine image and preimage operations where, depending on the operation, the arguments can include a variable representing the space dimension to which the transformation will be applied and linear expressions with possibly a relation symbol and denominator value that define the exact form of the transformation.
ascii_load(), ascii_dump()
exchange internal ASCII snapshots. Load trusted dumps produced with compatible formats, coefficient representations and stream settings. A snapshot can include derived solver or domain state. Query the resulting object after ascii_load() returns true. A failed load may leave a partial value. Reload or assign a valid value before using it. Loading requires resources appropriate to the snapshot.
add_constraint(), add_constraints(), add_recycled_constraints(), add_congruence(), add_congruences(), add_recycled_congruences().
These methods assume that the given semantic GD provides optimal support for the argument syntactic GD: if that is not the case, an invalid argument exception is thrown.
For add_recycled_constraints() and add_recycled_congruences(), the only assumption that can be made on the constraint GD after return (successful or exceptional) is that it can be safely destroyed.
refine_with_constraint(), refine_with_constraints(), refine_with_congruence(), refine_with_congruences().
If the argument constraint GD is optimally supported by the semantic GD, the methods behave the same as the corresponding add_* methods listed above. Otherwise the constraint GD is used only to a limited extent to refine the semantic GD; possibly not at all. Notice that, while repeating an add operation is pointless, this is not true for the refine operations. For example, in those cases where
raises an exception, a fragment of the form
may give more precise results than a single
constraints(), minimized_constraints(), congruences(), minimized_congruences().
Returns the indicated system of constraint GDs satisfied by the semantic GD.
can_recycle_constraint_systems(), can_recycle_congruence_systems().
Return true if and only if the semantic GD can recycle the indicated constraint GD.
relation_with().
This takes a constraint GD as an argument and returns the relations holding between the semantic GD and the constraint GD. The possible relations are: IS_INCLUDED(), SATURATES(), STRICTLY_INTERSECTS(), IS_DISJOINT() and NOTHING(). This operator also can take a polyhedron generator GD as an argument and returns the relation SUBSUMES() or NOTHING() that holds between the generator GD and the semantic GD.
The class MIP_Problem represents linear and mixed-integer linear optimization problems using exact arithmetic. The declared integer subset restricts the selected coordinates to integers; all other coordinates range over the reals. The class supports feasibility queries and optimization of linear objectives.
Construction and constraint insertion accept a strict inequality exactly when every coordinate with a nonzero coefficient is declared integer. Unused continuous coordinates do not prevent admission. Without a declared integer subset, only strict constant rows are admitted. Dimension validation precedes conversion, and a strict row depending on a continuous coordinate raises std::invalid_argument.
Admitted strict rows are stored in integer-equivalent closed form. For example, 


MIP_Problem.
For a mixed-integer query that needs a new result, the solver checks stored equalities before solving the real relaxation. If every variable with a nonzero coefficient in an equality is declared integer, the greatest common divisor of those coefficients must divide the constant for an integer solution to exist. For example, 
An interrupted MIP_Problem query discards the solver cache. The stored constraints, integer restrictions and objective are preserved, so a later query can solve the problem afresh.
Unbounded real relaxations can lead to integer searches that continue indefinitely. This applies to MIP_Problem and to queries that use its mixed-integer solver, including integer-point queries. To limit work, set a deterministic weight limit or use a supported cancellation mechanism. The solver observes requests at interruption checkpoints, so response time depends on when it reaches the next checkpoint. A completed Boolean or optimization result retains its exact mathematical meaning.
PIP_Problem uses cutting planes to obtain integral solutions and to decide whether a parameter context contains integer points. When the parameter context or feasible region is unbounded, a search can continue indefinitely, even for a problem with few variables, parameters and constraints. Set a deterministic weight limit or use a supported cancellation mechanism to limit work. Requests are observed at solver checkpoints. Completed results retain their exact mathematical meaning.
The C++ free function is_mixed_integer_satisfiable also handles strict inequalities involving continuous coordinates:
It returns true exactly when the constraint system has a point whose selected coordinates are integers, with all other coordinates real. Strict boundaries retain their membership meaning. The constraint system and integer selection are preserved. An empty selection gives ordinary real feasibility; empty systems, zero dimensions and constant rows retain their mathematical meaning.
Integer-supported strict rows are first converted to equivalent closed rows. For remaining strict rows 




A true result assigns a POINT of the original ambient dimension that satisfies every original constraint and selected integrality restriction. The witness owns its representation independently of the local solver. A false result preserves the supplied witness. Both input descriptors are preserved. The same mathematical interpretation and dimension-capacity conditions apply to both overloads.
A selected index outside the constraint system's ambient dimension raises std::invalid_argument. The ordinary MIP_Problem dimension limit applies; strict rows involving continuous coordinates require capacity for one additional coordinate, and insufficient capacity raises std::length_error. Integer-supported strict rows do not require this extra coordinate. The documented initialization, synchronization, arithmetic and resource conditions of MIP_Problem also apply.
The C++ free function optimize_mixed_integer optimizes an affine objective over the original mixed-integer feasible set, including strict inequalities involving continuous coordinates:
The selected coordinates are integer and the others are real. The mode is MINIMIZATION or MAXIMIZATION, and the two scalar output objects must be distinct. The input constraint system, integer selection and objective are preserved. The returned status has one of four meanings:
INFEASIBLE: the original system has no feasible point. UNBOUNDED: the original system is feasible and its objective is unbounded in the requested direction. ATTAINED: the finite optimum is attained at a feasible point. UNATTAINED: the finite supremum or infimum is not attained. Both finite results assign the exact bound as numerator/denominator, with positive denominator, and an extremum generator of the original ambient dimension. An attained result supplies a POINT satisfying the original constraints and integer restrictions at that value. An unattained result supplies a CLOSURE_POINT at the bound, satisfying the weakened constraints and belonging to the closure of a nonempty original feasible fiber at the returned integer coordinates. Infeasible and unbounded results preserve all three output arguments.
For example, with no integer coordinates, maximizing 

UNATTAINED with bound 1 and a closure point at 

ATTAINED with bound 1 and a point at 
The construction uses exact arithmetic without a floating-point epsilon. For a nonconstant objective with strict rows involving continuous coordinates, its general encoding copies the continuous coordinates while sharing the integer coordinates. If there are 


An integer index or objective dimension outside the system's ambient dimension raises std::invalid_argument. Insufficient capacity for required auxiliary coordinates raises std::length_error. With bounded signed coefficients, a required strict-margin denominator beyond the configured range raises std::overflow_error. The common initialization, synchronization, configured-arithmetic and resource conditions apply to all intermediate computations and output assignments. If an exception occurs during solving, copying or output assignment, the common exception guarantees apply.
The C++ overload Polyhedron::contains_integer_point(const Variables_Set&) const tests whether a closed or not necessarily closed polyhedron contains a point whose selected coordinates are integers. Other coordinates remain real; they are not required to be nonintegral. An empty selection tests nonemptiness; selecting every coordinate gives the existing all-coordinate integer-point query. Excluded NNC boundary points never count as contained points. For example, the singleton 

The query preserves the represented polyhedron, although logically const constraint extraction may normalize its caches. An out-of-dimension selected index raises std::invalid_argument before querying or normalization. If a required mixed-feasibility encoding exceeds the MIP dimension limit, std::length_error is raised. The operation follows the documented initialization, synchronization, arithmetic and resource conditions of Polyhedron .
The Parma Polyhedra Library, for those cases where an exact result cannot be computed within the specified complexity limits, computes an upward approximation of the exact result. For semantic GDs this means that the computed result is a possibly strict superset of the set of points of 
The Parma Polyhedra Library provides support for approximating integer computations using the geometric descriptors it provides. In this section we briefly explain these facilities.
When a geometric descriptor is used to approximate integer quantities, all the points with non-integral coordinates represent an imprecision of the description. Of course, removing all these points may be impossible (because of convexity) or too expensive. The PPL provides the operator drop_some_non_integer_points to possibly tighten a descriptor by dropping some points with non-integer coordinates, using algorithms whose complexity is bounded by a parameter. The set of dimensions that represent integer quantities can be optionally specified. It is worth to stress the role of some in the operator name: in general no optimality guarantee is provided.
The Parma Polyhedra Library provides services that allow to compute correct approximations of bounded arithmetic as available in widespread programming languages. Supported bit-widths are 8, 16, 32 and 64 bits, with some limited support for 128 bits. Supported representations are binary unsigned and two's complement signed. Supported overflow behaviors are:



![\[ \mathrm{wrap}^\mathrm{u}_w(x)
\defeq
x - 2^w \lfloor x/2^w \rfloor.
\]](form_33.png)
![\[ \mathrm{wrap}^\mathrm{s}_w(x)
\defeq
\begin{cases}
\mathrm{wrap}^\mathrm{u}_w(x),
&\text{if $\mathrm{wrap}^\mathrm{u}_w(x) < 2^{w-1}$;} \\
\mathrm{wrap}^\mathrm{u}_w(x) - 2^w,
&\text{otherwise.}
\end{cases}
\]](form_34.png)
One possibility for precisely approximating the semantics of programs that operate on bounded integer variables is to follow the approach described in [SK07]. The idea is to associate space dimensions to the unwrapped values of bounded variables. Suppose j is a 



j can only take values in 

The PPL provides a general wrapping operator that is parametric with respect to the set of space dimensions (variables) to be wrapped, the width, representation and overflow behavior of all these variables. An optional constraint system can, when given, improve the precision. Unless a domain explicitly documents broader admissibility, this constraint system must only depend on variables with respect to which wrapping is performed. It is assumed to represent the conditional or looping construct guard with respect to which wrapping is performed. Wrapping computes upper bounds, and constraint refinement does not distribute over upper bounds. Passing a guard directly can therefore be more precise than refining the wrapped abstraction afterwards. The general wrapping operator offered by the PPL also allows control of the complexity/precision ratio by means of two additional parameters: an unsigned integer encoding a complexity threshold, with higher values resulting in possibly improved precision; and a Boolean controlling whether space dimensions should be wrapped individually, something that results in much greater efficiency to the detriment of precision, or collectively.
Note that the PPL assumes that any space dimension subject to wrapping is being used to capture the value of bounded integer values. As a consequence the library is free to drop, from the involved numerical abstraction, any point having a non-integer coordinate that corresponds to a space dimension subject to wrapping. It must be stressed that freedom to drop such points does not constitute an obligation to remove all of them (especially because this would be extraordinarily expensive on some numerical abstractions). The PPL provides operators for the more systematic removal of points with non-integral coordinates.
The wrapping operator will only remove some of these points as a by-product of its main task and only when this comes at a negligible extra cost.
In this section we introduce convex polyhedra, as considered by the library, in more detail. For more information about the definitions and results stated here see [BRZH02b], [Fuk98], [NW88], and [Wil93].
We denote by 












The scalar product of 

![\[ \vect{v}^\transpose \vect{w} = \sum_{i=0}^{n-1} v_i w_i.
\]](form_51.png)
For any 



For each vector 







Note that each hyperplane 






The set 






The set 






When ordering NNC polyhedra by the set inclusion relation, the empty set 




In theoretical terms, 







An NNC polyhedron 

![\[ \cP
\sseq
\bigl\{\,
\vect{x} \in \Rset^n
\bigm|
- \lambda \leq x_j \leq \lambda \text{ for } j = 0, \ldots, n-1
\,\bigr\}.
\]](form_78.png)
A bounded polyhedron is also called a polytope.
NNC polyhedra can be specified by using two possible representations, the constraints (or implicit) representation and the generators (or parametric) representation.
In the sequel, we will simply write "equality" and "inequality" to mean "linear equality" and "linear inequality", respectively; also, we will refer to either an equality or an inequality as a constraint.
By definition, each polyhedron 
![\[ \cP
\defeq
\{\,
\vect{x} \in \Rset^n
\mid
A_1 \vect{x} = \vect{b}_1,
A_2 \vect{x} \geq \vect{b}_2,
A_3 \vect{x} > \vect{b}_3
\,\},
\]](form_79.png)
where, for all 



Let 





We denote by 




Let 








![\[ \convexhull(P)
= \NNChull(P, \emptyset)
= \NNChull(P, P)
= \NNChull(P, C).
\]](form_102.png)
It can be observed that 



Let 

















A point of an NNC polyhedron 










Each NNC polyhedron 







![\[ \cP = \linearhull(L) + \conichull(R) + \NNChull(P, C),
\]](form_122.png)
where the symbol ' 
When 






![\[ \cP = \linearhull(L) + \conichull(R) + \convexhull(P).
\]](form_126.png)
Thus, in this case, every closure point of 

For any 


















A constraints system 



Similarly, a generator system 







Any NNC polyhedron 



Such changes of representation form a key step in the implementation of many operators on NNC polyhedra: this is because some operators, such as intersections and poly-hulls, are provided with a natural and efficient implementation when using one of the representations in a DD pair, while being rather cumbersome when using the other.
As indicated above, when an NNC polyhedron 




In the library, the topology of each polyhedron object is fixed once for all at the time of its creation and must be respected when performing operations on the polyhedron.
Unless it is otherwise stated, all the polyhedra, constraints and/or generators in any library operation must obey the following topological-compatibility rules:
Wherever possible, the library provides methods that, starting from a polyhedron of a given topology, build the corresponding polyhedron having the other topology.
The space dimension of an NNC polyhedron 



Unless it is otherwise stated, all the polyhedra, constraints and/or generators in any library operation must obey the following (space) dimension-compatibility rules:








While the space dimension of a constraint, a generator or a system thereof is automatically adjusted when needed, the space dimension of a polyhedron can only be changed by explicit calls to operators provided for that purpose.
A finite set of points 

![\[ \sum_{i = 1}^k \lambda_i \vect{x}_i = \vect{0},
\quad
\sum_{i = 1}^k \lambda_i = 0
\]](form_148.png)
implies that, for each 

The maximum number of affinely independent points in 

A non-empty NNC polyhedron 




We remark that the above definition only applies to polyhedra that are not empty, so that 












An NNC polyhedron is called rational if it can be represented by a constraint system where all the constraints have rational coefficients. It has been shown that an NNC polyhedron is rational if and only if it can be represented by a generator system where all the generators have rational coefficients.
The library only supports rational polyhedra. The restriction to rational numbers applies not only to polyhedra, but also to the other numeric arguments that may be required by the operators considered, such as the coefficients defining (rational) affine transformations.
In this section we briefly describe operations on NNC polyhedra that are provided by the library.
For any pair of NNC polyhedra 











In theoretical terms, the intersection and poly-hull operators defined above are the binary meet and the binary join operators on the lattices 

The C++ operations Polyhedron::envelope_assign() and Polyhedron::weak_join_assign() compute enclosing approximations of the union of two dimension- and topology-compatible polyhedra. Both are available for closed and not necessarily closed polyhedra.
The operations use the operands' entry constraint descriptions, as obtained by constraints() without requesting additional minimization. Each equality contributes its two opposite non-strict inequalities. The envelope is the intersection of exactly those candidate inequalities satisfied by both operands; see [2]. Each retained half-space contains the union, so the envelope contains the polyhedral hull.
The weak join instead uses the distinct nonzero homogeneous directions of these candidate inequalities; see [8]. For each direction 


![\[ m_a = \min\bigl(\inf_{p\in\cP} a\cdot p,
\inf_{q\in\cQ} a\cdot q\bigr).
\]](form_167.png)
The result intersects the half-spaces 

For the same entry descriptions, writing 

![\[ \cP\uplus\cQ \sseq W \sseq E.
\]](form_172.png)
Both approximations can be less precise than the polyhedral hull. Their precision can depend on redundant inequalities and on the constraint descriptions materialized at entry. Descriptions are captured before support queries can normalize internal caches, and no particular minimal output description is promised.
Both operations preserve ambient dimension and topology. Empty is neutral, self-application preserves the represented value, and a distinct source retains its represented value, although internal caches may be normalized. Incompatible dimensions or topologies raise std::invalid_argument. These enclosing approximations do not guarantee convergence of an iteration. The common initialization, lifetime, synchronization, coefficient-profile and failure contracts apply, including conditions on intermediate arithmetic.
For any pair of NNC polyhedra 




In general, even though 
Viewing a polyhedron as a set of tuples (its points), it is sometimes useful to consider the set of tuples obtained by concatenating an ordered pair of polyhedra. Formally, the concatenation of the polyhedra 


![\[ \cR
\defeq
\Bigl\{\,
(x_0, \ldots, x_{n-1}, y_0, \ldots, y_{m-1})^\transpose
\in \Rset^{n+m}
\Bigm|
(x_0, \ldots, x_{n-1})^\transpose \in \cP,
(y_0, \ldots, y_{m-1})^\transpose \in \cQ
\,\Bigl\}.
\]](form_176.png)
Another way of seeing it is as follows: first embed polyhedron 


The library provides two operators for adding a number 


The operator add_space_dimensions_and_embed embeds the polyhedron 




![\[ \cQ = \bigl\{\,
(x_0, x_1, x_2)^\transpose \in \Rset^3
\bigm|
(x_0, x_1)^\transpose \in \cP
\,\bigr\}.
\]](form_182.png)
In contrast, the operator add_space_dimensions_and_project projects the polyhedron 




![\[ \cQ = \bigl\{\,
(x_0, x_1, 0)^\transpose \in \Rset^3
\bigm|
(x_0, x_1)^\transpose \in \cP
\,\bigr\}.
\]](form_183.png)
The library provides two operators for removing space dimensions from an NNC polyhedron 


Given a set of variables, the operator remove_space_dimensions removes all the space dimensions specified by the variables in the set. For instance, letting 


![\[ \cQ = \bigl\{ (3, 2)^\transpose \bigr\} \sseq \Rset^2.
\]](form_187.png)
Given a space dimension 
remove_higher_space_dimensions removes the space dimensions having indices greater than or equal to 


![\[ \cQ = \bigl\{ (3, 1)^\transpose \bigr\} \sseq \Rset^2.
\]](form_190.png)
The operator map_space_dimensions provided by the library maps the dimensions of the vector space 




If 




![\[ \cQ
\defeq
\Bigl\{\,
\bigl(v_{\rho^{-1}(0)}, \ldots, v_{\rho^{-1}(m-1)}\bigr)^\transpose
\Bigm|
(v_0, \ldots, v_{n-1})^\transpose \in \cP
\,\Bigr\}.
\]](form_196.png)
The operator expand_space_dimension provided by the library adds 









![\[ \cQ
\defeq
\sset{
\vect{u} \in \Rset^{n+m}
}{
\exists \vect{v}, \vect{w} \in \cP
\st u_i = v_i \\
\qquad \mathord{} \land \forall j = n, n+1, \ldots, n+m-1
\itc u_j = w_i \\
\qquad \mathord{} \land \forall k = 0, \ldots, n-1
\itc k \neq i \implies u_k = v_k = w_k
}.
\]](form_201.png)
This operation has been proposed in [GDDetal04].
The operator fold_space_dimensions provided by the library, given a polyhedron 







![\[ \cQ \defeq \biguplus_{d = 0}^m \cQ_d
\]](form_208.png)
where
![\[ \cQ_m
\defeq
\sset{
\vect{u} \in \Rset^{n-m}
}{
\exists \vect{v} \in \cP
\st u_{i'} = v_i \\
\qquad \mathord{} \land \forall k = 0, \ldots, n-1
\itc k \neq i \implies u_{k'} = v_k
}
\]](form_209.png)
and, for 


![\[ \cQ_d
\defeq
\sset{
\vect{u} \in \Rset^{n-m}
}{
\exists \vect{v} \in \cP
\st u_{i'} = v_{j_d} \\
\qquad \mathord{} \land \forall k = 0, \ldots, n-1
\itc k \neq i \implies u_{k'} = v_k
},
\]](form_213.png)
and, finally, for 


![\[ k'
\defeq
k - \card \{\, j \in J \mid k > j \,\},
\]](form_216.png)
( 

This operation has been proposed in [GDDetal04].
For the approximation contract of BDS and OS preimage operators, see Approximation of Affine Preimages.
For each relation 



![\[ \phi(S)
\defeq
\bigl\{\,
\vect{w} \in \Rset^m
\bigm|
\exists \vect{v} \in S \st
(\vect{v}, \vect{w}) \in \phi
\,\bigr\}.
\]](form_222.png)
Similarly, we denote by 


![\[ \phi^{-1}(S')
\defeq
\bigl\{\,
\vect{v} \in \Rset^n
\bigm|
\exists \vect{w} \in S' \st
(\vect{v}, \vect{w}) \in \phi
\,\bigr\}.
\]](form_225.png)
If 

The relation 

![\[ \forall \vect{v} \in \Rset^n, \vect{w} \in \Rset^m
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
\bigland_{i=1}^{\ell}
\bigl(
\langle \vect{c}_i, \vect{w} \rangle
\relsym_i
\langle \vect{a}_i, \vect{v} \rangle + b_i
\bigr),
\]](form_228.png)
where 




As a special case, the relation 


![\[ \forall \vect{v} \in \Rset^n, \vect{w} \in \Rset^m
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
\vect{w} = A\vect{v} + \vect{b}.
\]](form_236.png)
The set 



A space dimension preserving relation 







As an example, assuming 


![\[ \forall \vect{v} \in \Rset^3, \vect{w} \in \Rset^3
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
(w_0 - w_2 \geq 2 v_0 - v_1) \land (w_1 = v_1).
\]](form_247.png)
The same relation is specified by 

The library allows for the computation of images and preimages of polyhedra under restricted subclasses of space dimension preserving affine relations, as described in the following.
For the approximation contract of BDS and OS preimage operators, see Approximation of Affine Preimages. Given a primed variable 


![\[ \forall \vect{v} \in \Rset^n \itc
\phi(\vect{v}) = A\vect{v} + \vect{b},
\]](form_252.png)
where
![\[ A =
\begin{pmatrix}
1 & & 0 & 0 & \cdots & \cdots & 0 \\
& \ddots & & \vdots & & & \vdots \\
0 & & 1 & 0 & \cdots & \cdots & 0 \\
a_0 & \cdots & a_{k-1} & a_k & a_{k+1} & \cdots & a_{n-1} \\
0 & \cdots & \cdots & 0 & 1 & & 0 \\
\vdots & & & \vdots & & \ddots & \\
0 & \cdots & \cdots & 0 & 0 & & 1
\end{pmatrix}, \qquad
\vect{b} =
\begin{pmatrix}
0 \\
\vdots \\
0 \\
b \\
0 \\
\vdots \\
0
\end{pmatrix}
\]](form_253.png)
and the 






![\[ \Bigl(v_0, \ldots,
\bigl(\textstyle{\sum_{i=0}^{n-1}} a_i v_i + b\bigr),
\ldots, v_{n-1}\Bigr)^\transpose.
\]](form_260.png)
The affine image operator computes the affine image of a polyhedron 
















The affine preimage operator computes the affine preimage of a polyhedron 










Observe that provided the coefficient 
For the approximation contract of BDS and OS preimage operators, see Approximation of Affine Preimages. Given a primed variable 



![\[ \forall \vect{v} \in \Rset^n, \vect{w} \in \Rset^n
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
\bigl(
\langle \vect{a}, \vect{v} \rangle + b
\leq w_k
\leq \langle \vect{c}, \vect{v} \rangle + d
\bigr)
\land
\Bigl(
\bigland_{0 \leq i < n, i \neq k}
w_i = v_i
\Bigr).
\]](form_276.png)
Let 




![\[\left<\vect{\alpha}, \vect{x}\right> + \beta =
\alpha_0x_0 + \ldots +
\alpha_{n-1}x_{n-1} + \beta,\]](form_281.png)
where 


Given a such linear form 






For the approximation contract of BDS and OS preimage operators, see Approximation of Affine Preimages. Similarly, the generalized affine relation 



![\[ \forall \vect{v} \in \Rset^n, \vect{w} \in \Rset^n
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
\bigl(
\langle \vect{c}, \vect{w} \rangle + d
\relsym \langle \vect{a}, \vect{v} \rangle + b
\bigr)
\land
\Bigl(
\bigland_{0 \leq i < n, c_i = 0}
w_i = v_i
\Bigr).
\]](form_293.png)
When 






The operator unconstrain computes the cylindrification [HMT71] of a polyhedron with respect to one of its variables. Formally, the cylindrification 


![\[ \cQ
= \bigl\{\,
\vect{w} \in \Rset^n
\bigm|
\exists \vect{v} \in \cP \st
\forall j \in \{0, \ldots, n-1\} \itc
j \neq i \implies w_j = v_j
\,\bigr\}.
\]](form_302.png)
Cylindrification is an idempotent operation; in particular, note that the computed result has the same space dimension of the original polyhedron. A variant of the operator above allows for the cylindrification of a polyhedron with respect to a finite set of variables.
For dimension- and topology-compatible polyhedra 
![\[ \cP+\cQ=\{\,p+q\mid p\in\cP,\ q\in\cQ\,\}.
\]](form_304.png)
Empty is absorbing and the ambient dimension is unchanged. NNC operands retain the membership meaning of excluded boundary points. In a generator description, finite generators are paired by addition, with an included output point when both input generators are included points and a closure point otherwise. This pairing can produce as many candidate points as the product of the two finite generator counts. Obtaining the generator descriptions and minimizing the result can add further cost. Ray and line directions from both operands generate the resulting unbounded directions. The C++ operation is Polyhedron::minkowski_sum_assign(). See [4] for background on Minkowski addition of convex polytopes.
The time-elapse operator has been defined in [HPR97]. Actually, the time-elapse operator provided by the library is a slight generalization of that one, since it also works on NNC polyhedra. For any two NNC polyhedra 



![\[ \bigl\{\,
\vect{p} + \lambda \vect{q} \in \Rset^n
\bigm|
\vect{p} \in \cP, \vect{q} \in \cQ, \lambda \in \nonnegRset
\,\bigr\}.
\]](form_307.png)
Note that the above set might not be an NNC polyhedron.
The positive time-elapse operator has been defined in [BFM11,BFM13]. The operator provided by the library works on NNC polyhedra. For any two NNC polyhedra 



![\[ \bigl\{\,
\vect{p} + \lambda \vect{q} \in \Rset^n
\bigm|
\vect{p} \in \cP, \vect{q} \in \cQ, \lambda \in \Rset^{>0}
\,\bigr\},
\]](form_309.png)
where 



The exact version of the time-elapse operator 

Let 














Notice that an enlargement need not be a simplification, and vice versa; moreover, the identity function is (trivially) a meet-preserving enlargement and simplification.
The library provides a binary operator (simplify_using_context) for the domain of NNC polyhedra that returns a polyhedron which is a meet-preserving enlargement simplification of its first argument using the second argument as context.
The concept of meet-preserving enlargement and simplification also applies to the other basic domains (boxes, grids, BD and octagonal shapes). See below for a definition of the concept of meet-preserving simplification for powerset domains.
The library provides operators for checking the relation holding between an NNC polyhedron and either a constraint or a generator.
Suppose 



































The polyhedron 




The library provides two widening operators for the domain of polyhedra. The first one, that we call H79-widening, mainly follows the specification provided in the PhD thesis of N. Halbwachs [Hal79], also described in [HPR97]. Note that in the computation of the H79-widening 


The second widening operator, that we call BHRZ03-widening, is an instance of the specification provided in [BHRZ03a]. This operator also requires as a precondition that 
Both widening operators also support NNC polyhedra, using internal epsilon representations to handle excluded boundary points. Containment of the NNC pointsets need not imply containment of particular epsilon representations. H79 constraint selection uses the same normalized epsilon representations in both operators. Section NNC polyhedra and widening certificates explains the normalization and the certificate-compatibility argument.



p and q, respectively, then the call q.H79_widening_assign(p) will assign the polyhedron 
q. Namely, it is the bigger polyhedron 

p.contains(q)). Note that, in the above context, a call such as p.H79_widening_assign(q) is likely to result in undefined behavior, since the precondition 

This argument concerns nonempty polyhedra of a fixed ambient dimension n, the tokenless H79 widening with H79_Certificate or BHRZ03_Certificate, and the tokenless BHRZ03 widening with BHRZ03_Certificate. It extends the closed-polyhedron compatibility argument; it does not identify an arbitrary strict inclusion with certificate progress. Delayed widenings with tokens need the additional finite token budget. Limited extrapolations and arbitrary user-supplied widening callbacks are outside this argument.
The statements concern exact polyhedral operations, subject to the usual coefficient-intermediate and resource conditions. Empty arguments are handled by the widening before constructing a nonempty certificate.
Let C be the closure of a nonempty NNC polyhedron P, considered inside its affine hull. A strict supporting inequality removes a face of C. The excluded faces form a downward-closed family in the finite face lattice of C. A nonredundant visible constraint description has:
A facet inequality cannot be omitted without changing the closure. A maximal excluded face cannot be removed by strict inequalities excluding only proper subfaces, or by one excluding a larger face containing included points. Conversely, one supporting strict inequality per maximal excluded face suffices. Thus the number c of nonredundant visible constraints is geometric, even though the slopes chosen to exclude a higher-codimension face need not be unique. Strong minimization, rather than ordinary minimization of an epsilon representation, supplies this count. Positivity and epsilon bounds are implementation constraints and are not counted.
In the quotient by lineality, a nonredundant NNC generator description has a closure vertex for each vertex of the closed quotient and one actual point in each minimal face whose relative interior is included. A point at an included vertex replaces the coincident visible closure point. Consequently the public point-plus-closure-point count is the closed quotient's vertex count plus the number of minimal included faces of positive dimension. It does not depend on the chosen interior points. Recession rays and lineality are those of C; use the same orthogonal representatives as in the closed certificate argument for the ray coordinate counts.
Writing l for lineality dimension, p for the visible point/closure-point count, and r_i for the number of rays with i zero coordinates, progress is a strict lexicographic decrease of
H79: (n-d, c),
BHRZ03: (n-d, n-l, c, p, r_0, ..., r_(n-1)).These finite tuples of natural numbers admit no infinite strict descending chain. The compare(Polyhedron) overload returns 1 for precisely the examined progress conditions, assuming the argument contains the certified polyhedron. The certificate-to-certificate overload is the separately documented total ordering used by containers; its sign is not a containment query.
A nonempty epsilon representation has affine hull aff(P) x R: positive epsilon witnesses and their zero-epsilon closure points supply the extra direction. NNC inclusion P subseteq Q does not imply inclusion of particular epsilon representations.
Construct each lift from the facets of its closure, using primitive integer affine forms relative to the affine hull. Each maximal excluded face is the intersection of the closure with all facets containing that face. The sum of their forms is nonnegative on the closure and vanishes exactly on the face. Normalize the sum and impose it as a strict inequality in the lift. This determines the strict supporting half-spaces from the pointset, independent of which strict rows were recovered from intermediate generator descriptions. The lift still represents the original NNC pointset.
Before saturation selection, intersect the normalized previous lift with the normalized current lift. This preserves P, since P subseteq Q, and makes every current constraint valid on the intersection E. Ordinary minimization makes the visible surviving inequalities facets of E. Strong minimization removes epsilon-redundant constraints, retaining a nonredundant visible description of P. Ordinary minimization then refreshes generators if necessary. Let K denote the resulting epsilon representation.
A retained visible inequality b has a supporting face meeting epsilon = 0: for a strict inequality this is the excluded face of cl(P), and for a non-strict inequality it is its ordinary supporting face. It remains a facet of E after adding any auxiliary positive epsilon upper bound introduced by strong minimization. Indeed, interpolate a relative-interior point of that facet with a zero-epsilon point of the same face; the resulting points remain in its relative interior with arbitrarily small positive epsilon. Such a cap therefore cannot erase the visible facet. Let E' be E with that cap, if one was introduced. Then E' subseteq K and the affine hulls agree.
Selection matches complete saturation rows, not just saturator counts. If a current constraint a matches the row of b, it is nonpositive on every generator of the facet b = 0 of K. This formulation includes the implementation's possible negative epsilon scalar products at point generators: a nonpositive product is recorded in the same way as zero. On the other hand, a is valid on E', because it was a constraint of the current representation. Hence a vanishes on the full facet b = 0 of E'. Two affine forms vanishing on that facet are proportional modulo the common affine-hull equalities. The factor is positive, as the matching row also has the same positive nonsaturators. Thus a and b encode the same visible inequality on the common affine hull. In particular, a selected matching row cannot have a negative product on a point of K; negative products are possible only for rejected candidates.
A match to an equality row similarly supplies only an affine-hull consequence. Artificial positivity and epsilon-bounding rows are removed from the matching matrix and cannot supply visible constraints for the certificate count.
Let R be the result of widening P by a containing Q. It contains Q. If its affine dimension grows, both certificates report progress. Otherwise P and R have the same affine hull. By the argument in 2. Epsilon preparation and saturation matching, the selected constraints are, modulo that hull and duplicate rows, a subset of a nonredundant visible constraint description of P. If every constraint were retained, R would equal P. Therefore whenever R properly contains P, a proper subset is retained and its nonredundant visible constraint count is smaller. H79_Certificate reports progress; BHRZ03_Certificate also reports progress, since lineality cannot decrease under inclusion and its constraint-count comparison precedes its point/ray comparisons.
H79_widening_assign uses this normalized epsilon intersection before selecting rows for NNC inputs.
BHRZ03 first accepts the current polyhedron only if its certificate progresses or the two pointsets coincide. Each successful widening heuristic is likewise accepted only after is_stabilizing returns true. Otherwise its last resort is the H79 constraint selection.
For NNC inputs the same normalized lifts, intersection and saturation selection give BHRZ03 the H79 bound even after certificate queries have populated the operands' caches. The refinements remain inside that bound. The stored certificate remains valid because the intersection and normalization preserve P. The H79 compatibility argument in 3. H79 compatibility therefore supplies strict progress for the last resort too. Combined with the finite-growth argument in 1. Geometric meaning and finite growth, this gives compatibility for the tokenless BHRZ03 operator.
Strong constraint minimization can invalidate generators; strong generator minimization can invalidate constraints. The five certificate re-minimizations restore coherent dual descriptions and must not be deleted just because a warm call often has no conversion to perform. Ordinary minimize() checks the cache state and returns immediately when both descriptions are already minimal. The saturation selector uses this guarded operation instead of an unconditional update_generators() conversion.
Tests exercise compatibility, source pointset preservation and finite ascending histories across constraint/generator descriptions and pending redundant input. They check the implementation of this argument; a finite collection of passing histories is not the argument itself.
Let P be the nonnegative orthant in (x,y,z,w), excluding its origin, described by the four non-strict coordinate bounds and
x + 2y + 2z + 2w > 0.Let Q have y,z,w >= 0 and the three distinct strict facets
x + y + 2z + 2w > 0,
x + 2y + z + 2w > 0,
x + 2y + 2z + w > 0.P is properly contained in Q. P has five nonredundant visible constraints; Q has six. Taken as written, the strict epsilon facet of P has point saturators at the positive x-axis point and the half-unit points on the other three axes. Without first intersecting the epsilon representations, each new strict row has nonpositive products at all four points, including a negative product at one half-unit point, and positive products at the same rays as the old row. All three rows can therefore match the one old strict row. The alleged H79 last resort is then Q itself and the BHRZ03 certificate does not progress. No heuristic can repair this while both enclosing Q and being strictly more precise than that last resort.
Epsilon reconciliation before strong minimization prevents this match. With the canonical lifts of 2. Epsilon preparation and saturation matching, the strict row of P becomes x + y + z + w > 0, the normalized sum of the four facets through its excluded origin. None of the three strict facets of Q matches that row, so H79 returns the common facets y, z, w >= 0. Before its last resort, BHRZ03 then tries the strict facets of Q whose boundary contains the excluded origin of P, and keeps the first one whose addition to the H79 bound still makes its certificate progress; here it retains x + y + 2z + 2w > 0 for every representation history. The regression checks containment, certificate progress, preserved source pointsets, the retained strict bound, the inclusion of the BHRZ03 result in the H79 result and independence from the representation history.
R. Bagnara, P. M. Hill, E. Ricci and E. Zaffanella, "Precise Widening Operators for Convex Polyhedra", Science of Computer Programming 58 (2005), 28-56, Definition 8 and Theorem 12. The published polyhedral instance is closed. https://doi.org/10.1016/j.scico.2005.02.003
R. Bagnara, P. M. Hill and E. Zaffanella, "Not Necessarily Closed Convex Polyhedra and the Double Description Method", Formal Aspects of Computing 17 (2005), 222-257, Section 6 (epsilon-minimal forms). https://doi.org/10.1007/s00165-005-0061-1
R. Bagnara, P. M. Hill and E. Zaffanella, "Widening Operators for Powerset Domains", STTT 8 (2006), 449-466, Sections 2 and 7 (finite convergence certificates and the generic certificate-based construction). https://doi.org/10.1007/s10009-005-0215-8
When approximating a fixpoint computation using widening operators, a common tactic to improve the precision of the final result is to delay the application of widening operators. The usual approach is to fix a parameter 

The library also supports an improved widening delay strategy, that we call widening with tokens [BHRZ03a]. A token is a sort of wild card allowing for the replacement of the widening application by the exact upper bound computation: the token is used (and thus consumed) only when the widening would have resulted in an actual precision loss (as opposed to the potential precision loss of the classical delay strategy). Thus, all widening operators can be supplied with an optional argument, recording the number of available tokens, which is decremented when tokens are used. The approximated fixpoint computation will start with a fixed number 
The closed-polyhedron operation refine_with_chvatal_cuts first performs the existing integer-point tightening. It then examines a caller-bounded prefix of distinct inequality pairs from the minimized description. For 


Besides the two widening operators, the library also implements several extrapolation operators, which differ from widenings in that their use along an upper iteration sequence does not ensure convergence in a finite number of steps.
In particular, for each of the two widenings there is a corresponding limited extrapolation operator, which can be used to implement the widening "up to" technique as described in [HPR97]. Each limited extrapolation operator takes a constraint system as an additional parameter and uses it to improve the approximation yielded by the corresponding widening operator. Note that a convergence guarantee can only be obtained by suitably restricting the set of constraints that can occur in this additional parameter. For instance, in [HPR97] this set is fixed once and for all before starting the computation of the upward iteration sequence.
The bounded extrapolation operators further enhance each one of the limited extrapolation operators described above by intersecting the result of the limited extrapolation operation with the box obtained as a result of applying the CC76-widening to the smallest boxes enclosing the two argument polyhedra.
For nonempty closed polyhedra P and Q, form their closed hull H. Keep the affine-hull equalities and precisely the facet halfspaces of H whose boundary meets P. A valid facet meets P exactly when one of P's point generators saturates it. Empty is neutral. The resulting operator contains both operands, but does not guarantee convergence of an iteration. See [6], Section 3.3.
For nonempty closed polyhedra P and Q, form their closed hull H and factor out its lineality L. A vertex of the pointed quotient is old when it belongs to (P+L)/L. For every adjacent old/new vertex pair, add the direction from the old vertex to the new one to H. Choices of representatives differ only by a direction in L, which H already contains. Empty is neutral.
The operator does not guarantee convergence. Neither HH95 nor HPW01 universally dominates the other: for P = [0,1]^2 and Q = [-1,2]^2, HH95 returns Q while HPW01 returns the whole plane. Conversely, for P = [0,1]^2 and Q = {(2,0)}, HPW01 retains y >= 0, while HH95's direction from (1,1) to (2,0) crosses that boundary. See [5] for the edge construction; the quotient specifies its extension to hulls with lines.
The PPL provides support for computations on non-relational domains, called boxes, and also the interval domains used for their representation.
An interval in 














Letting 


















A convex polyhedron 












The library provides a widening operator for boxes. Given two sequences of intervals defining two 

The PPL provides support for computations on numerical domains that, in selected contexts, can achieve a better precision/efficiency ratio with respect to the corresponding computations on a "fully relational" domain of convex polyhedra. This is achieved by restricting the syntactic form of the constraints that can be used to describe the domain elements.
For each vector 








A convex polyhedron 



For each vector 







A convex polyhedron 



Note that, since any bounded difference is also an octagonal constraint, any BDS is also an OS. The name "octagonal" comes from the fact that, in a vector space of dimension 2, a bounded OS can have eight sides at most.
The rectilinear, Euclidean and 
BD_Shape and Octagonal_Shape use the following boundary conventions for all overloads. If the shapes have different space dimensions, the distance is undefined and the function returns false. For dimension-compatible shapes, two empty shapes have distance zero, whereas exactly one empty shape gives distance 
By construction, any BDS or OS is always topologically closed. Under the usual set inclusion ordering, the set of all BDSs (resp., OSs) on the vector space 



As far as the representation of the rational inhomogeneous term of each bounded difference or octagonal constraint is concerned, several rounding-aware implementation choices are available, including:
Constraint extraction describes the represented shape, including any outward rounding that occurred when constraints were added. In particular, minimized_constraints() does not recover the original input literals. Constraint systems should be interpreted geometrically: row order, positive scaling of inequalities, and the choice among equivalent irredundant bases do not change the represented set.
The user interface for BDSs and OSs is meant to be as similar as possible to the one developed for the domain of closed polyhedra: in particular, all operators on polyhedra are also available for the domains of BDSs and OSs, even though they are typically characterized by a lower degree of precision. For instance, the bds-difference and oct-difference operators return (the smallest) over-approximations of the set-theoretical difference operator on the corresponding domains. In the case of (generalized) images of affine relations, suitable (possibly not-optimal) over-approximations are computed when the considered relations cannot be precisely modeled by only using bounded differences or octagonal constraints. The precision of affine preimages is described in Approximation of Affine Preimages.
The generalized affine image and preimage overloads of Octagonal_Shape accept equality and non-strict inequality relations. A strict inequality or disequality relation causes std::invalid_argument, including when the receiver is empty. The rejected operation leaves the represented shape unchanged.
The exact preimage of the represented post-state set 

![\[ \{\vect{x} \in \Rset^n \mid
\exists \vect{x}' \in S': (\vect{x}, \vect{x}') \in \phi\}.
\]](form_365.png)
For a single-variable update, the other coordinates have equal pre-state and post-state values. An occurrence of the updated variable in the affine expression denotes its pre-state value; a constraint on that variable in 
The affine, generalized affine and bounded affine preimage operators on BDSs and OSs compute sound over-approximations of this set. Unless the method documents a stronger guarantee, the returned shape need not be the smallest BDS or OS containing the exact preimage. This limitation can apply even when the exact preimage is representable in the domain. Optimal support for individual bounded-difference or octagonal constraints does not by itself guarantee an optimal affine preimage. Outward rounding imposed by the coefficient type can cause further loss of precision.
For example, consider coordinates 






Octagonal_Shape affine preimage implementation can discard the postcondition on 
mpq_class coefficients. The same precision limitation applies when the assignment is passed to generalized_affine_preimage with the relation symbol EQUAL. The returned universe contains every exact predecessor, but is less precise than the representable preimage. This example records a current precision limitation; it does not require future implementations to retain that loss.
Another example is the bounded assignment 




Octagonal_Shape bounded affine preimage can retain the lower scalar bound while losing the upper one. The result is still sound, but the individually representable scalar bounds need not both survive the approximation of the nonoctagonal transition relation.
The stronger substitution guarantee documented for assignments of the form 
BD_Shape::affine_preimage still applies. In particular, a sound over-approximation does not permit excluding a valid predecessor in either domain.
For BDSs, the default widening is the standard H79 widening described in Direct standard widening of bounded-difference shapes. It is distinct from the BHMZ05 operator described below.
For the domains of BDSs and OSs, the library provides a variant of the widening operator for convex polyhedra defined in [CH78]. The implementation follows the specification in [BHMZ05a,BHMZ05b], resulting in an operator which is well-defined on the corresponding domain (i.e., it does not depend on the internal representation of BDSs or OSs), while still ensuring convergence in a finite number of steps.
The library also implements an extension of the widening operator for intervals as defined in [CC76]. The reader is warned that such an extension, even though being well-defined on the domain of BDSs and OSs, is not provided with a convergence guarantee and is therefore an extrapolation operator.
H79_widening_assign implements the standard polyhedral H79 widening of the represented entry sets Y subseteq X, followed by conversion to the requested bounded-difference profile. It is also the default widening_assign. It must remain distinct from both entrywise stable-bound filtering and the BHMZ05 widening, which has additional affine-dimension guards.
This section explains the graph implementation of PPL-SPEC-001126 and the exact intermediate limiting step of PPL-SPEC-001127. Their mathematical contracts, caller prerequisites and exception/lifetime provisions remain applicable.
Write d_Z(i,j) for the exact upper support of x_j-x_i in a nonempty shape Z, with x_0=0. A finite current constraint x_j-x_i <= d_X(i,j) can match a previous constraint's saturation face only when d_X(i,j)=d_Y(i,j). If the inequality is strict throughout Y, its saturation pattern cannot match a previous equality or facet, each of which has a saturating point generator.
The affine hull of a bounded-difference shape is generated by its zero-cycle equalities. Contracting each zero-equivalence class therefore removes exactly those equalities. When i and j lie in the same class, a stable current bound is tight throughout Y: its saturation face matches a previous equality.
Otherwise the stable bound supports a relative facet of Y precisely when the corresponding constraint between the two class leaders is nonredundant in the closed quotient graph. A shortest path through a third class would force two independent differences tight on that face, so it would have codimension at least two. Conversely, without such a third class, saturating the bound identifies only its two endpoint classes and lowers affine dimension by one. The existing exact shortest-path reduction supplies these quotient facets.
Selection uses the leaders' facet flag, rather than whether a particular original matrix entry belongs to the chosen irredundant basis. Multiple current constraints can match the same previous facet modulo its affine hull, especially when affine dimension grows. All must be retained. A stable bound supporting only a lower-dimensional previous face must be discarded.
These are exactly the equality/facet saturation patterns selected by the polyhedral standard widening. Applying the test to all finite closed current bounds is valid: adding redundant current constraints does not change H79 selection's represented result. This covers changing affine dimension, previous points and unbounded affine spaces as well as equal dimensions. Consequently the usual standard-widening convergence argument applies; this implementation does not substitute a closure-based entrywise extrapolation.
GMP integer and rational profiles have exact unbounded difference-graph arithmetic. Other supported profiles are embedded losslessly in a temporary rational matrix and closed/reduced there. Rounded native closure does not in general identify exact support faces. The final exact widening is converted outward only after the widening decision. No constraint export through the configured Coefficient type is needed for plain H79 widening.
A positive delay-token budget leaves the represented receiver unchanged and is decremented only when the exact undelayed result strictly enlarges X. This decision precedes both outward conversion and limiting intersections. Fixed-dimension exact iterations therefore retain the standard widening's finite-stabilization behavior; rounded profiles retain the stated contract under its arithmetic and conversion prerequisites.
Each non-strict supplied constraint is selected exactly when all of entry X satisfies it. Native unary/difference rows use exact graph queries. General linear inequalities first try an exact interval-support certificate; when that is inconclusive, general rows use one reusable exact simplex basis. Equality selection checks both optimization directions. Unbounded or violated objectives reject the corresponding constraint. No selection is made against the already widened set.
The exact widened matrix is intersected with all selected native rows. If selected general rows remain, a second reusable simplex basis projects the intersection's supports onto every unary and difference direction. This avoids constructing polyhedral generators, and preserves the influence of arbitrary linear limiting constraints. Conversion to the selected profile is the final step. Rounding individual limits before their intersection is incorrect: x<=1/2 and y>=1/2 imply x-y<=0, even when integer stored bounds would separately round the unary limits to x<=1 and y>=0.
With available tokens the widened result is X itself. Since all selected limits contain X, the limiting intersection is then an identity, but the undelayed widening may still consume one token. Validation of supplied constraint dimensions and strictness precedes every identity/empty case.
After closure/reduction and class-leader construction, H79 selection is a quadratic pass over the matrix. Exact unbounded profiles use no polyhedral conversion. Bounded and floating profiles additionally own exact rational matrix copies. General limiting rows can still require substantial simplex work; their selection and final support projection reuse their respective bases. Numerical/representation prerequisites of the configured Coefficient also apply when these general linear programs are built and solved.
The convergence oracle filters an independently irredundant previous halfspace system when affine dimensions agree. For affine-dimension changes, it forms current supporting faces of Y by exact elimination and computes their dimensions by rational rank. Neither model uses graph reduction or leader flags. Regression cases distinguish stable redundant faces, affine offsets, several current facets matching one previous facet, equality faces, native/general fractional limits and token decisions before limiting.
The limited CC76 and BHMZ05 extrapolation operators for BDSs and OSs improve the extrapolated shape using selected bounds derived from the additional constraint system. Selection uses the current shape before extrapolation. The bounds derive from the supplied constraints; they are not a promise to enforce every original constraint satisfied by that shape.
The supplied constraint system must contain no strict inequalities; all five operators reject strict constraints with std::invalid_argument. Its space dimension must not exceed that of the current shape, and both operand shapes must have the same space dimension. These invalid inputs are rejected, rather than ignored.
For BDSs, selection recognizes bounded-difference constraints, including scaled unary bounds and scaled differences with opposite coefficients of equal magnitude. Other constraint forms are ignored. An equality is used only if both of its normalized, outward-rounded inequalities are satisfied by the current shape.
For OSs, selection recognizes octagonal inequalities, including scaled unary bounds and two-variable bounds whose coefficients have equal absolute magnitude. Equalities and constraints outside this fragment are ignored by these limited CC76 and BHMZ05 operators.
The normalized bounds are rounded outward as required by the coefficient type and selected only if the resulting bounds are satisfied by the current shape. Consequently, even a selected bound may be weaker than the original constraint. Integral coefficient types describe bounds on real-valued points: they do not restrict the represented points to have integer coordinates.
For example, let the previous and current shapes be the rectangles ![$[0,3]\times[0,5]$](form_376.png)
![$[0,4]\times[0,6]$](form_377.png)



![$[0,5]\times[0,7]$](form_381.png)


Rounding can also relax a recognized constraint. For an OS with integral coefficients, consider the previous interval ![$[-1,-1/2]$](form_384.png)
![$[-1,0]$](form_385.png)




![$[-1,1/2]$](form_390.png)

The limited H79 operator for BDSs has the semantics of polyhedral limited H79 extrapolation followed by conversion to a BDS. The direct graph construction and exact optimization described in Direct standard widening of bounded-difference shapes compute this result without constructing polyhedral generators. Constraints outside the bounded-difference fragment can influence the intermediate intersection; they are not simply ignored. The final BDS abstraction may lose their facets and round numerical bounds outward, so the returned BDS need not satisfy every original limiting constraint.
For the same rectangles, supplying only 



![$[0,16]\times[0,8]$](form_395.png)


![$[0,5]\times[0,7]$](form_381.png)
These selection and conversion rules do not add a convergence guarantee to CC76 extrapolation. See limited_extrapolation for the restrictions on limiting constraint systems when reasoning about convergence.
In this section we introduce rational grids as provided by the library. See also [BDHetal05] for a detailed description of this domain.
The library supports two representations for the grids domain; congruence systems and grid generator systems. We first describe linear congruence relations which form the elements of a congruence system.
For any 


Let 




![\[ \bigl\{\,
\vect{v} \in \Rset^n
\bigm|
\exists \mu \in \Zset \st
\langle \vect{a}, \vect{v} \rangle = b + \mu f
\,\bigr\};
\]](form_406.png)
when 







![\[ \big\{\,
\bigl(\langle \vect{a}, \vect{x} \rangle = b + \mu f\bigr)
\bigm|
\mu \in \Zset
\,\bigr\};
\]](form_411.png)
if 


The set 






We also say that 



The grid domain 

If the congruence system 






When ordering grids by the set inclusion relation, the empty set 



In set theoretical terms, 
Let 



We denote by 


Let 















We can generate any rational grid in 
If 

![\[ \cL = \linearhull(L) + \inthull(Q) + \intaffinehull(P)
\]](form_436.png)
where the symbol ' 




Note that the grid 





A minimized congruence system 





Similarly, a minimized grid generator system 






As for convex polyhedra, any grid 





As for convex polyhedra, such changes of representation form a key step in the implementation of many operators on grids such as, for example, intersection and grid join.
The space dimension of a grid 


A non-empty grid 





In general, the operations on rational grids are the same as those for the other PPL domains and the definitions of these can be found in Section Operations on Convex Polyhedra. Below we just describe those operations that have features or behavior that is in some way special to the grid domain.
As for convex polyhedra (see Single-Update Affine Functions), the library provides affine image and preimage operators for grids: given a variable 




![\[ \Bigl(v_0, \ldots, \bigl(\textstyle{\sum_{i=0}^{n-1}} a_i v_i + b\bigr),
\ldots, v_{n-1}\Bigr)^\transpose.
\]](form_455.png)
The affine image operator computes the affine image of a grid 



















The affine preimage operator computes the affine preimage of a grid 










Observe that provided the coefficient 
Similarly to convex polyhedra (see Generalized Affine Relations), the library provides two other grid operators that are generalizations of the single update affine image and preimage operators for grids. The generalized affine image operator 



![\[ \forall \vect{v} \in \Rset^n, \vect{w} \in \Rset^n
\itc
(\vect{v}, \vect{w}) \in \phi
\iff
\bigl(
\langle \vect{c}, \vect{w} \rangle + d
\equiv_f \langle \vect{a}, \vect{v} \rangle + b
\bigr)
\land
\Bigl(
\bigland_{0 \leq i < n, c_i = 0}
w_i = v_i
\Bigr).
\]](form_469.png)
Note that, when 




Let 







The frequency operator provided by the library returns both the frequency 


![\[ \lvert\mathrm{val}\rvert
= \min\Bigl\{\,
\bigl\lvert\langle \vect{a}, \vect{v} \rangle + b \bigr\rvert
\Bigm|
\vect{v} \in \cL
\,\Bigr\}.
\]](form_476.png)
Observe that the above definition is also applied to other simple objects in the library like polyhedra, octagonal shapes, bd-shapes and boxes and in such cases the definition of frequency can be simplified. For instance, the frequency for an object 





For any two grids 



![\[ \bigl\{\,
\vect{p} + \mu \vect{q} \in \Rset^n
\bigm|
\vect{p} \in \cL_1, \vect{q} \in \cL_2, \mu \in \Zset
\,\bigr\}.
\]](form_481.png)
The displayed set need not itself be a grid. For example, if 





The library provides operators for checking the relation holding between a grid and a congruence, a grid generator, a constraint or a (polyhedron) generator.
Suppose 






























For the relation between 





















A grid 




A grid 







The operator wrap_assign provided by the library, allows for the wrapping of a subset of the set of space dimensions so as to fit the given bounded integer type and have the specified overflow behavior. In order to maximize the precision of this operator for grids, the exact behavior differs in some respects from the other simple classes of geometric descriptors.
Suppose 








If the value in 


































The library provides grid widening operators for the domain of grids. The congruence widening and generator widening follow the specifications provided in [BDHetal05]. The third widening uses either the congruence or the generator widening, the exact rule governing this choice at the time of the call is left to the implementation. Note that, as for the widenings provided for convex polyhedra, all the operations provided by the library for computing a widening 





This is as for widening with tokens for convex polyhedra.
Besides the widening operators, the library also implements several extrapolation operators, which differ from widenings in that their use along an upper iteration sequence does not ensure convergence in a finite number of steps.
In particular, for each grid widening that is provided, there is a corresponding limited extrapolation operator, which can be used to implement the widening "up to" technique as described in [HPR97]. Each limited extrapolation operator takes a congruence system as an additional parameter and uses it to improve the approximation yielded by the corresponding widening operator. Note that, as in the case for convex polyhedra, a convergence guarantee can only be obtained by suitably restricting the set of congruence relations that can occur in this additional parameter.
The PPL provides the finite powerset construction; this takes a pre-existing domain and upgrades it to one that can represent disjunctive information (by using a finite number of disjuncts). The construction follows the approach described in [Bag98], also summarized in [BHZ04] where there is an account of generic widenings for the powerset domain (some of which are supported in the pointset powerset domain instantiation of this construction described in Section The Pointset Powerset Domain).
The domain is built from a pre-existing base-level domain 




A set 








![\[ \nonredmap(\cS)
\defeq
\cS \setdiff \{\,
d \in \cS
\mid
d = \false \text{ or } \exists d' \in \cS \st d \sentails d'
\,\}.
\]](form_533.png)
where 

As the intended semantics of a powerset domain element 








The finite powerset domain over a domain 






![\[ \forall d_1 \in \cS_1 \itc
\exists d_2 \in \cS_2 \st
d_1 \entails d_2.
\]](form_544.png)
Therefore the top element is 
omega_reduce(), e.g., before performing the output of a powerset element. Note that all the documented operators automatically perform Omega-reductions on their arguments, when needed or appropriate.In this section we briefly describe the generic operations on Powerset Domains that are provided by the library for any given base-level domain 
Given the sets 



Given the powerset element 


If the given powerset element is not empty, then the collapse operator returns the singleton powerset consisting of an upper-bound of all the disjuncts.
The pointset powerset domain provided by the PPL is the finite powerset domain (defined in Section The Powerset Construction) whose base-level domain 
In addition to the operations described for the generic powerset domain in Section Operations on the Powerset Construction, the PPL provides all the generic operations listed in Generic Operations on Semantic Geometric Descriptors. Here we just describe those operations that are particular to the pointset powerset domain.
Let 




















The library provides a binary operator (simplify_using_context) for the pointset powerset domain that returns a powerset which is a powerset meet-preserving, powerset simplification and disjunct meet-preserving simplification of its first argument using the second argument as context.
Notice that, due to the powerset simplification property, in general a meet-preserving powerset simplification is not an enlargement with respect to the ordering defined on the powerset lattice. A source disjunct whose intersection with the context is empty may be removed: it contributes no point to the meet that must be preserved. For example, if a nonempty original powerset is disjoint from the context, returning the empty powerset preserves their meet without enlarging the original powerset. Because of this, the operator provided by the library is only well-defined when the base-level domain is not itself a powerset domain.
The Boolean result of simplify_using_context_assign provides a one-way certificate: false guarantees an empty intersection, whereas true does not in general guarantee a nonempty intersection.
Given the pointset powersets 








Given the pointset powerset 




upper_bound_assign() for 


The library implements a generalization of the extrapolation operator for powerset domains proposed in [BGP99]. The operator BGP99_extrapolation_assign is made parametric by allowing for the specification of any PPL extrapolation operator for the base-level domain. Note that, even when the extrapolation operator for the base-level domain 

BGP99_extrapolation_assign operator cannot guarantee the convergence of the iteration sequence in a finite number of steps (for a counter-example, see [BHZ04]).
The PPL library provides support for the specification of proper widening operators on the pointset powerset domain. In particular, this version of the library implements an instance of the certificate-based widening framework proposed in [BHZ03b].
A finite convergence certificate for an extrapolation operator is a formal way of ensuring that such an operator is indeed a widening on the considered domain. Given a widening operator on the base-level domain 

Being highly parametric, the BHZ03 widening framework can be instantiated in many ways. The current implementation provides the templatic operator BHZ03_widening_assign<Certificate, Widening> which only exploits a fraction of this generality, by allowing the user to specify the base-level widening function and the corresponding certificate. The widening strategy is fixed and uses two extrapolation heuristics: first, the upper bound operator for the base-level domain is tried; second, the BGP99 extrapolation operator is tried, possibly applying pairwise merging. If both heuristics fail to converge according to the convergence certificate, then an attempt is made to apply the base-level widening to the upper bound of the two arguments, possibly improving the result obtained by means of the difference operator for the base-level domain. For more details and a justification of the overall approach, see [BHZ03b] and [BHZ04].
The library provides several convergence certificates. Note that, for the domain of Polyhedra, while Parma_Polyhedra_Library::BHRZ03_Certificate the "BHRZ03_Certificate" is compatible with both the BHRZ03 and the H79 widenings, H79_Certificate is only compatible with the latter. Note that using different certificates will change the results obtained, even when using the same base-level widening operator. It is also worth stressing that it is up to the user to see that the widening operator is actually compatible with a given convergence certificate. If such a requirement is not met, then an extrapolation operator will be obtained.
This section describes the PPL abstract domains that are used for approximating floating point computations in software analysis. We follow the approach described in [Min04] and more detailedly in [Min05]. We will denote by 




Generic concrete floating point expressions on 
Floating_Point_Expression abstract class. Its concrete derivate classes are:
Cast_Floating_Point_Expression ,Constant_Floating_Point_Expression ,Variable_Floating_Point_Expression ,Opposite_Floating_Point_Expression , that is the negation (unary minus) of a floating point expression,Sum_Floating_Point_Expression , that is the sum of two floating point expressions,Difference_Floating_Point_Expression , that is the difference of two floating point expressions,Multiplication_Floating_Point_Expression , that is the product of two floating point expressions, andDivision_Floating_Point_Expression , that is the division of two floating point expressions.The set of all the possible values in 
![\[ i + \sum_{v \in \cV}i_{v}v,
\]](form_570.png)
where all 




Even though the intervals may be open, we will always use closed intervals in the documentation for the sake of simplicity, with the exception of unbounded intervals that have 


The Linear_Form class provides common algebraic operations on linear forms: you can add or subtract two linear forms, and multiply or divide a linear form by a scalar. We are writing only about interval linear forms in this section, so our scalars will always be intervals with floating point boundaries. The operations on interval linear forms are intuitively defined as follows:
![\[ \left(i + \sum_{v \in V}i_{v}v\right)
\aslf
\left(i' + \sum_{v \in V}i'_{v}v\right)
\defeq
\left(i \asifp i'\right) +
\sum_{v \in V}\left(i_{v} \asifp i'_{v}\right)v,
\]](form_576.png)
![\[ \left(i + \sum_{v \in V}i_{v}v\right)
\adlf
\left(i' + \sum_{v \in V}i'_{v}v\right)
\defeq
\left(i \adifp i'\right) +
\sum_{v \in V}\left(i_{v} \adifp i'_{v}\right)v,
\]](form_577.png)
![\[ i
\amlf
\left(i' + \sum_{v \in V}i'_{v}v\right)
\defeq
\left(i \amifp i'\right) +
\sum_{v \in V}\left(i \amifp i'_{v}\right)v,
\]](form_578.png)
![\[ \left(i + \sum_{v \in V}i_{v}v\right)
\adivlf
i'
\defeq
\left(i \adivifp i'\right) +
\sum_{v \in V}\left(i_{v} \adivifp i'\right)v.
\]](form_579.png)
Where 



A (composite) floating point abstract store is used to associate each floating point variable with its currently known approximation. The store is composed by two parts:


An interval abstract store is represented by a Box with floating point boundaries, while a linear form abstract store is a map of the Standard Template Library. The linearize method requires both stores as its arguments. Please see the documentation of floating point expression classes for more information.
The linearization of a floating point expression 





Three of the other abstract domains of the PPL ( BD_Shape , Octagonal_Shape , and Polyhedron ) provide a few optimized methods to be used in the analysis of floating point computations. They are recognized by the fact that they take interval linear forms and/or an interval abstract stores as their parameters.
Please see the methods' documentation for more information.
Operations on convex polyhedra may require converting between constraint and generator representations, with worst-case exponential complexity. The library performs these computations lazily and incrementally whenever possible, so a sequence of operations can share the required work.
When an application needs to detect an empty intersection early, it can call intersection_assign() followed by is_empty() after each step. This makes the emptiness check explicit while preserving the lazy behavior of the intersection operation.
Request a minimized representation through minimized_constraints() or minimized_generators() when the application needs it. These queries perform the required conversion and minimization. The former eager operators with names ending in _and_minimize have been removed; use the current operations and explicit queries instead.
Pointset_Powerset<PSET> and Partially_Reduced_Product<D1, D2, R> should only be used with the following instantiations for the disjunct domain template PSET and component domain templates D1 and D2: C_Polyhedron, NNC_Polyhedron, Grid, Octagonal_Shape<T>, BD_Shape<T>, Box<T>.The PPL library is mainly a collection of so-called "concrete data
types": while providing the user with a clean and friendly interface, these types are not meant to — i.e., they should not — be used polymorphically (since, e.g., most of the destructors are not declared virtual). In practice, this restriction means that the library types should not be used as public base classes to be derived from. A user willing to extend the library types, adding new functionalities, often can do so by using containment instead of inheritance; even when there is the need to override a protected method, non-public inheritance should suffice.
Most operators of the library depend on one or more parameters that are declared "const", meaning that they will not be changed by the application of the considered operator. Due to the adoption of lazy computation techniques, in many cases such a const-correctness guarantee only holds at the semantic level, whereas it does not necessarily hold at the implementation level. For a typical example, consider the extraction from a polyhedron of its constraint system representation. While this operation is not going to change the polyhedron, it might actually invoke the internal conversion algorithm and modify the generators representation of the polyhedron object, e.g., by reordering the generators and removing those that are detected as redundant. Thus, any previously computed reference to the generators of the polyhedron (be it a direct reference object or an indirect one, such as an iterator) will no longer be valid. For this reason, code fragments such as the following should be avoided, as they may result in undefined behavior:
As a rule of thumb, if a polyhedron plays any role in a computation (even as a const parameter), then any previously computed reference to parts of the polyhedron may have been invalidated. Note that, in the example above, the computation of the constraint system could have been placed after the uses of the iterator i and the reference p. Anyway, if really needed, it is always possible to take a copy of, instead of a reference to, the parts of interest of the polyhedron; in the case above, one may have taken a copy of the generator system by replacing the second line of code with the following:
The same observations, modulo syntactic sugar, apply to borrowed handles returned by the C interface. Reading a borrowed system, traversing its iterators and reading its elements are permitted without copying, provided no intervening operation invalidates the owning domain or any enclosing owner. The C interface distinguishes these borrowed getters from constructors that return independent, caller-owned systems. Each C accessor documents ownership and invalidation; a const handle alone does not imply either ownership or an unlimited lifetime.
C. Ancourt. Génération automatique de codes de transfert pour multiprocesseurs à mémoires locales. PhD thesis, Université de Paris VI, Paris, France, March 1991.
J. M. Bjorndalen and O. Anshus. Lessons learned in benchmarking - Floating point benchmarks: Can you trust them? In Proceedings of the Norsk informatikkonferanse 2005 (NIK 2005), pages 89-100, Bergen, Norway, 2005. Tapir Akademisk Forlag.
R. Bagnara. Data-Flow Analysis for Constraint Logic-Based Languages. PhD thesis, Dipartimento di Informatica, Università di Pisa, Pisa, Italy, March 1997. Printed as Report TD-1/97.
R. Bagnara. A hierarchy of constraint systems for data-flow analysis of constraint logic-based languages. Science of Computer Programming, 30(1-2):119-155, 1998.
B. Blanchet, P. Cousot, R. Cousot, J. Feret, L. Mauborgne, A. Miné, D. Monniaux, and X. Rival. Design and implementation of a special-purpose static program analyzer for safety-critical real-time embedded software. In T. Æ. Mogensen, D. A. Schmidt, and I. Hal Sudborough, editors, The Essence of Computation, Complexity, Analysis, Transformation. Essays Dedicated to Neil D. Jones [on occasion of his 60th birthday], volume 2566 of Lecture Notes in Computer Science, pages 85-108. Springer-Verlag, Berlin, 2002.
R. Bagnara, K. Dobson, P. M. Hill, M. Mundell, and E. Zaffanella. A linear domain for analyzing the distribution of numerical values. Report 2005.06, School of Computing, University of Leeds, UK, 2005.
R. Bagnara, K. Dobson, P. M. Hill, M. Mundell, and E. Zaffanella. A practical tool for analyzing the distribution of numerical values, 2006. Archived abstract.
R. Bagnara, K. Dobson, P. M. Hill, M. Mundell, and E. Zaffanella. Grids: A domain for analyzing the distribution of numerical values. In G. Puebla, editor, Logic-based Program Synthesis and Transformation, 16th International Symposium, volume 4407 of Lecture Notes in Computer Science, pages 219-235, Venice, Italy, 2007. Springer-Verlag, Berlin.
M. Benerecetti, M. Faella, and S. Minopoli. Towards efficient exact synthesis for linear hybrid systems. In Proceedings of 2nd International Symposium on Games, Automata, Logics and Formal Verification (GandALF 2011), volume 54 of Electronic Proceedings in Theoretical Computer Science, pages 263-277, Minori, Amalfi Coast, Italy, 2011.
M. Benerecetti, M. Faella, and S. Minopoli. Automatic synthesis of switching controllers for linear hybrid systems: Safety control. Theoretical Computer Science, 493:116-138, 2013.
A. Bemporad, K. Fukuda, and F. D. Torrisi. Convexity recognition of the union of polyhedra. Report AUT00-13, Automatic Control Laboratory, ETHZ, Zurich, Switzerland, 2000.
A. Bemporad, K. Fukuda, and F. D. Torrisi. Convexity recognition of the union of polyhedra. Computational Geometry: Theory and Applications, 18(3):141-154, 2001.
T. Bultan, R. Gerber, and W. Pugh. Model-checking concurrent systems with unbounded integer variables: Symbolic representations, approximations, and experimental results. ACM Transactions on Programming Languages and Systems, 21(4):747-789, 1999.
R. Bagnara, P. M. Hill, E. Mazzi, and E. Zaffanella. Widening operators for weakly-relational numeric abstractions. Report arXiv:cs.PL/0412043, 2004. Extended abstract. Contribution to the International workshop on “Numerical & Symbolic Abstract Domains” (NSAD'05, Paris, January 21, 2005). Available at https://arxiv.org/abs/cs/0412043 and https://bugseng.com/ppl/documentation/BagnaraHMZ04EA.pdf.
R. Bagnara, P. M. Hill, E. Mazzi, and E. Zaffanella. Widening operators for weakly-relational numeric abstractions. Quaderno 399, Dipartimento di Matematica, Università di Parma, Italy, 2005. Available at https://bugseng.com/ppl/documentation/BagnaraHMZ05TR.pdf.
R. Bagnara, P. M. Hill, E. Mazzi, and E. Zaffanella. Widening operators for weakly-relational numeric abstractions. In C. Hankin and I. Siveroni, editors, Static Analysis: Proceedings of the 12th International Symposium, volume 3672 of Lecture Notes in Computer Science, pages 3-18, London, UK, 2005. Springer-Verlag, Berlin.
R. Bagnara, P. M. Hill, E. Ricci, and E. Zaffanella. Precise widening operators for convex polyhedra. In R. Cousot, editor, Static Analysis: Proceedings of the 10th International Symposium, volume 2694 of Lecture Notes in Computer Science, pages 337-354, San Diego, California, USA, 2003. Springer-Verlag, Berlin.
R. Bagnara, P. M. Hill, E. Ricci, and E. Zaffanella. Precise widening operators for convex polyhedra. Quaderno 312, Dipartimento di Matematica, Università di Parma, Italy, 2003. Available at https://bugseng.com/ppl/documentation/BagnaraHRZ03TR.pdf.
R. Bagnara, P. M. Hill, E. Ricci, and E. Zaffanella. Precise widening operators for convex polyhedra. Science of Computer Programming, 58(1-2):28-56, 2005.
R. Bagnara, P. M. Hill, and E. Zaffanella. A new encoding and implementation of not necessarily closed convex polyhedra. Quaderno 305, Dipartimento di Matematica, Università di Parma, Italy, 2002. Available at https://bugseng.com/ppl/documentation/BagnaraHZ02TR.pdf.
R. Bagnara, P. M. Hill, and E. Zaffanella. A new encoding of not necessarily closed convex polyhedra. In M. Carro, C. Vacheret, and K.-K. Lau, editors, Proceedings of the 1st CoLogNet Workshop on Component-based Software Development and Implementation Technology for Computational Logic Systems, pages 147-153, Madrid, Spain, 2002. Published as TR Number CLIP4/02.0, Universidad Politécnica de Madrid, Facultad de Informática.
R. Bagnara, P. M. Hill, and E. Zaffanella. A new encoding and implementation of not necessarily closed convex polyhedra. In M. Leuschel, S. Gruner, and S. Lo Presti, editors, Proceedings of the 3rd Workshop on Automated Verification of Critical Systems, pages 161-176, Southampton, UK, 2003. Published as TR Number DSSE-TR-2003-2, University of Southampton.
R. Bagnara, P. M. Hill, and E. Zaffanella. Widening operators for powerset domains. In B. Steffen and G. Levi, editors, Verification, Model Checking and Abstract Interpretation: Proceedings of the 5th International Conference (VMCAI 2004), volume 2937 of Lecture Notes in Computer Science, pages 135-148, Venice, Italy, 2003. Springer-Verlag, Berlin.
R. Bagnara, P. M. Hill, and E. Zaffanella. Widening operators for powerset domains. Quaderno 349, Dipartimento di Matematica, Università di Parma, Italy, 2004. Available at https://bugseng.com/ppl/documentation/BagnaraHZ04TR.pdf.
R. Bagnara, P. M. Hill, and E. Zaffanella. Not necessarily closed convex polyhedra and the double description method. Formal Aspects of Computing, 17(2):222-257, 2005.
R. Bagnara, P. M. Hill, and E. Zaffanella. The Parma Polyhedra Library: Toward a complete set of numerical abstractions for the analysis and verification of hardware and software systems. Quaderno 457, Dipartimento di Matematica, Università di Parma, Italy, 2006. Available at https://bugseng.com/ppl/documentation/BagnaraHZ06TR.pdf. Also published as arXiv:cs.MS/0612085, available from https://arxiv.org/abs/cs/0612085.
R. Bagnara, P. M. Hill, and E. Zaffanella. Widening operators for powerset domains. Software Tools for Technology Transfer, 8(4/5):449-466, 2006. In the printed version of this article, all the figures have been improperly printed (rendering them useless). See [BHZ07c].
R. Bagnara, P. M. Hill, and E. Zaffanella. Applications of polyhedral computations to the analysis and verification of hardware and software systems. Quaderno 458, Dipartimento di Matematica, Università di Parma, Italy, 2007. Available at https://bugseng.com/ppl/documentation/BagnaraHZ07TRa.pdf. Also published as arXiv:cs.CG/0701122, available from https://arxiv.org/abs/cs/0701122v1.
R. Bagnara, P. M. Hill, and E. Zaffanella. An improved tight closure algorithm for integer octagonal constraints. Quaderno 467, Dipartimento di Matematica, Università di Parma, Italy, 2007. Available at https://bugseng.com/ppl/documentation/BagnaraHZ07TRb.pdf. Also published as arXiv:0705.4618v2 [cs.DS], available from https://arxiv.org/abs/0705.4618v2.
R. Bagnara, P. M. Hill, and E. Zaffanella. Widening operators for powerset domains. Software Tools for Technology Transfer, 9(3/4):413-414, 2007. Erratum to [BHZ06b] containing all the figures properly printed.
R. Bagnara, P. M. Hill, and E. Zaffanella. An improved tight closure algorithm for integer octagonal constraints. In F. Logozzo, D. Peled, and L. Zuck, editors, Verification, Model Checking and Abstract Interpretation: Proceedings of the 9th International Conference (VMCAI 2008), volume 4905 of Lecture Notes in Computer Science, pages 8-21, San Francisco, USA, 2008. Springer-Verlag, Berlin.
R. Bagnara, P. M. Hill, and E. Zaffanella. The Parma Polyhedra Library: Toward a complete set of numerical abstractions for the analysis and verification of hardware and software systems. Science of Computer Programming, 72(1-2):3-21, 2008.
R. Bagnara, P. M. Hill, and E. Zaffanella. Applications of polyhedral computations to the analysis and verification of hardware and software systems. Theoretical Computer Science, 410(46):4672-4691, 2009.
R. Bagnara, P. M. Hill, and E. Zaffanella. Exact join detection for convex polyhedra and other numerical abstractions. Quaderno 492, Dipartimento di Matematica, Università di Parma, Italy, 2009. Available at https://bugseng.com/ppl/documentation/BagnaraHZ09TRa.pdf. A corrected and improved version (corrected an error in the statement of condition (3) of Theorem 3.6, typos corrected in statement and proof of Theorem 6.8) has been published in [BHZ09c].
R. Bagnara, P. M. Hill, and E. Zaffanella. Exact join detection for convex polyhedra and other numerical abstractions. Report arXiv:cs.CG/0904.1783, 2009. Available at https://arxiv.org/abs/0904.1783 and https://bugseng.com/ppl/documentation/BagnaraHZ09TRb.pdf.
R. Bagnara, P. M. Hill, and E. Zaffanella. Weakly-relational shapes for numeric abstractions: Improved algorithms and proofs of correctness. Formal Methods in System Design, 35(3):279-323, 2009.
R. Bagnara, P. M. Hill, and E. Zaffanella. Exact join detection for convex polyhedra and other numerical abstractions. Computational Geometry: Theory and Applications, 43(5):453-473, 2010.
F. Besson, T. P. Jensen, and J.-P. Talpin. Polyhedral analysis for synchronous languages. In A. Cortesi and G. Filé, editors, Static Analysis: Proceedings of the 6th International Symposium, volume 1694 of Lecture Notes in Computer Science, pages 51-68, Venice, Italy, 1999. Springer-Verlag, Berlin.
V. Balasundaram and K. Kennedy. A technique for summarizing data access and its use in parallelism enhancing transformations. In B. Knobe, editor, Proceedings of the ACM SIGPLAN'89 Conference on Programming Language Design and Implementation (PLDI), volume 24(7) of ACM SIGPLAN Notices, pages 41-53, Portland, Oregon, USA, 1989. ACM Press.
R. Bagnara, F. Mesnard, A. Pescetti, and E. Zaffanella. The automatic synthesis of linear ranking functions: The complete unabridged version. Quaderno 498, Dipartimento di Matematica, Università di Parma, Italy, 2010. Superseded by [BMPZ12a].
R. Bagnara, F. Mesnard, A. Pescetti, and E. Zaffanella. The automatic synthesis of linear ranking functions: The complete unabridged version. Report arXiv:cs.PL/1004.0944v2, 2012. Available at https://arxiv.org/abs/1004.0944v2. Improved version of [BMPZ10].
R. Bagnara, F. Mesnard, A. Pescetti, and E. Zaffanella. A new look at the automatic synthesis of linear ranking functions. Information and Computation, 215:47-67, 2012.
R. Bagnara, E. Ricci, E. Zaffanella, and P. M. Hill. Possibly not closed convex polyhedra and the Parma Polyhedra Library. In M. V. Hermenegildo and G. Puebla, editors, Static Analysis: Proceedings of the 9th International Symposium, volume 2477 of Lecture Notes in Computer Science, pages 213-229, Madrid, Spain, 2002. Springer-Verlag, Berlin.
R. Bagnara, E. Ricci, E. Zaffanella, and P. M. Hill. Possibly not closed convex polyhedra and the Parma Polyhedra Library. Quaderno 286, Dipartimento di Matematica, Università di Parma, Italy, 2002. See also [BRZH02c]. Available at https://bugseng.com/ppl/documentation/BagnaraRZH02TR.pdf.
R. Bagnara, E. Ricci, E. Zaffanella, and P. M. Hill. Errata for technical report “Quaderno 286”. Available at https://bugseng.com/ppl/documentation/BagnaraRZH02TRerrata.pdf, 2002. See [BRZH02b].
P. Cousot and R. Cousot. Static determination of dynamic properties of programs. In B. Robinet, editor, Proceedings of the Second International Symposium on Programming, pages 106-130, Paris, France, 1976. Dunod, Paris, France.
P. Cousot and R. Cousot. Systematic design of program analysis frameworks. In Proceedings of the Sixth Annual ACM Symposium on Principles of Programming Languages, pages 269-282, San Antonio, TX, USA, 1979. ACM Press.
P. Cousot and R. Cousot. Comparing the Galois connection and widening/narrowing approaches to abstract interpretation. In M. Bruynooghe and M. Wirsing, editors, Proceedings of the 4th International Symposium on Programming Language Implementation and Logic Programming, volume 631 of Lecture Notes in Computer Science, pages 269-295, Leuven, Belgium, 1992. Springer-Verlag, Berlin.
P. Cousot and N. Halbwachs. Automatic discovery of linear restraints among variables of a program. In Conference Record of the Fifth Annual ACM Symposium on Principles of Programming Languages, pages 84-96, Tucson, Arizona, 1978. ACM Press.
N. V. Chernikova. Algorithm for finding a general formula for the non-negative solutions of system of linear equations. U.S.S.R. Computational Mathematics and Mathematical Physics, 4(4):151-158, 1964.
N. V. Chernikova. Algorithm for finding a general formula for the non-negative solutions of system of linear inequalities. U.S.S.R. Computational Mathematics and Mathematical Physics, 5(2):228-233, 1965.
N. V. Chernikova. Algorithm for discovering the set of all solutions of a linear programming problem. U.S.S.R. Computational Mathematics and Mathematical Physics, 8(6):282-293, 1968.
G. B. Dantzig. Linear Programming and Extensions. Princeton University Press, Princeton, NJ, 1963.
P. Feautrier, J.-F. Collard, and C. Bastoul. PIP/PipLib: A Solver for Parametric Integer Programming Problems, 5.0 edition, July 2007. Distributed with PIP/PipLib 1.4.0.
P. Feautrier. Parametric integer programming. RAIRO Recherche Opérationnelle, 22(3):243-268, 1988.
K. Fukuda and A. Prodon. Double description method revisited. In M. Deza, R. Euler, and Y. Manoussakis, editors, Combinatorics and Computer Science, 8th Franco-Japanese and 4th Franco-Chinese Conference, Brest, France, July 3-5, 1995, Selected Papers, volume 1120 of Lecture Notes in Computer Science, pages 91-111. Springer-Verlag, Berlin, 1996.
K. Fukuda. Polyhedral computation FAQ. Swiss Federal Institute of Technology, Lausanne and Zurich, Switzerland, 1998. Author's online edition.
D. Gopan, F. DiMaio, N. Dor, T. W. Reps, and M. Sagiv. Numeric domains with summarized dimensions. In K. Jensen and A. Podelski, editors, Tools and Algorithms for the Construction and Analysis of Systems, 10th International Conference, TACAS 2004, volume 2988 of Lecture Notes in Computer Science, pages 512-529, Barcelona, Spain, 2004. Springer-Verlag, Berlin.
E. Gawrilow and M. Joswig. polymake: A framework for analyzing convex polytopes. In G. Kalai and G. M. Ziegler, editors, Polytopes - Combinatorics and Computation, pages 43-74. Birkhäuser, 2000.
E. Gawrilow and M. Joswig. polymake: An approach to modular software design in computational geometry. In Proceedings of the 17th Annual Symposium on Computational Geometry, pages 222-231, Medford, MA, USA, 2001. ACM.
D. Goldfarb and J. K. Reid. A practical steepest-edge simplex algorithm. Mathematical Proramming, 12(1):361-371, 1977.
P. Granger. Static analysis of linear congruence equalities among variables of a program. In S. Abramsky and T. S. E. Maibaum, editors, TAPSOFT'91: Proceedings of the International Joint Conference on Theory and Practice of Software Development, Volume 1: Colloquium on Trees in Algebra and Programming (CAAP'91), volume 493 of Lecture Notes in Computer Science, pages 169-192, Brighton, UK, 1991. Springer-Verlag, Berlin.
P. Granger. Static analyses of congruence properties on rational numbers (extended abstract). In P. Van Hentenryck, editor, Static Analysis: Proceedings of the 4th International Symposium, volume 1302 of Lecture Notes in Computer Science, pages 278-292, Paris, France, 1997. Springer-Verlag, Berlin.
N. Halbwachs. Détermination Automatique de Relations Linéaires Vérifiées par les Variables d'un Programme. Thèse de 3ème cycle d'informatique, Université scientifique et médicale de Grenoble, Grenoble, France, March 1979.
N. Halbwachs. Delay analysis in synchronous programs. In C. Courcoubetis, editor, Computer Aided Verification: Proceedings of the 5th International Conference (CAV'93), volume 697 of Lecture Notes in Computer Science, pages 333-346, Elounda, Greece, 1993. Springer-Verlag, Berlin.
T. A. Henzinger and P.-H. Ho. A note on abstract interpretation strategies for hybrid automata. In P. J. Antsaklis, W. Kohn, A. Nerode, and S. Sastry, editors, Hybrid Systems II, volume 999 of Lecture Notes in Computer Science, pages 252-264. Springer-Verlag, Berlin, 1995.
L. Huelsbergen, D. Hahn, and J. Larus. Exact dependence analysis using data access descriptors. Technical Report 945, Department of Computer Science, University of Wisconsin, Madison, 1990.
N. Halbwachs, A. Kerbrat, and Y.-E. Proy. POLyhedra INtegrated Environment. Verimag, France, version 1.0 of POLINE edition, September 1995. Documentation taken from source code.
V. Van Dongen H. Le Verge and D. K. Wilde. Loop nest synthesis using the polyhedral library. Publication interne 830, IRISA, Campus de Beaulieu, Rennes, France, 1994.
L. Henkin, J. D. Monk, and A. Tarski. Cylindric Algebras: Part I. North-Holland, Amsterdam, 1971.
N. Halbwachs, Y.-E. Proy, and P. Raymond. Verification of linear hybrid systems by means of convex approximations. In B. Le Charlier, editor, Static Analysis: Proceedings of the 1st International Symposium, volume 864 of Lecture Notes in Computer Science, pages 223-237, Namur, Belgium, 1994. Springer-Verlag, Berlin.
N. Halbwachs, Y.-E. Proy, and P. Roumanoff. Verification of real-time systems using linear relation analysis. Formal Methods in System Design, 11(2):157-185, 1997.
T. A. Henzinger, J. Preussig, and H. Wong-Toi. Some lessons from the hytech experience. In Proceedings of the 40th Annual Conference on Decision and Control, pages 2887-2892. IEEE Computer Society Press, 2001.
B. Jeannet. Convex Polyhedra Library, release 1.1.3c edition, March 2002. Documentation of the “New Polka” library.
J. Jaffar, M. J. Maher, P. J. Stuckey, and R. H. C. Yap. Beyond finite domains. In A. Borning, editor, Principles and Practice of Constraint Programming: Proceedings of the Second International Workshop, volume 874 of Lecture Notes in Computer Science, pages 86-94, Rosario, Orcas Island, Washington, USA, 1994. Springer-Verlag, Berlin.
L. Khachiyan, E. Boros, K. Borys, K. Elbassioni, and V. Gurvich. Generating all vertices of a polyhedron is hard. Discrete and Computational Geometry, 39:174-190, 2008. DOI: 10.1007/s00454-008-9050-5. Invited contribution.
H. W. Kuhn. Solvability and consistency for linear equations and inequalities. American Mathematical Monthly, 63:217-232, 1956.
92 H. Le Verge. A note on Chernikova's algorithm. Publication interne 635, IRISA, Campus de Beaulieu, Rennes, France, 1992.
V. Loechner. PolyLib: A library for manipulating parameterized polyhedra. Available at http://icps.u-strasbg.fr/~loechner/polylib/, March 1999. Declares itself to be a continuation of [Wil93].
V. Loechner and D. K. Wilde. Parameterized polyhedra and their vertices. International Journal of Parallel Programming, 25(6):525-549, 1997.
F. Masdupuy. Array operations abstraction using semantic analysis of trapezoid congruences. In Proceedings of the 6th ACM International Conference on Supercomputing, pages 226-235, Washington, DC, USA, 1992. ACM Press.
F. Masdupuy. Array Indices Relational Semantic Analysis Using Rational Cosets and Trapezoids. Thèse d'informatique, École Polytechnique, Palaiseau, France, December 1993.
A. Miné. A new numerical abstract domain based on difference-bound matrices. In O. Danvy and A. Filinski, editors, Proceedings of the 2nd Symposium on Programs as Data Objects (PADO 2001), volume 2053 of Lecture Notes in Computer Science, pages 155-172, Aarhus, Denmark, 2001. Springer-Verlag, Berlin.
A. Miné. The octagon abstract domain. In Proceedings of the Eighth Working Conference on Reverse Engineering (WCRE'01), pages 310-319, Stuttgart, Germany, 2001. IEEE Computer Society Press.
A. Miné. A few graph-based relational numerical abstract domains. In M. V. Hermenegildo and G. Puebla, editors, Static Analysis: Proceedings of the 9th International Symposium, volume 2477 of Lecture Notes in Computer Science, pages 117-132, Madrid, Spain, 2002. Springer-Verlag, Berlin.
A. Miné. Relational abstract domains for the detection of floating-point run-time errors. In D. Schmidt, editor, Programming Languages and Systems: Proceedings of the 13th European Symposium on Programming, volume 2986 of Lecture Notes in Computer Science, pages 3-17, Barcelona, Spain, 2004. Springer-Verlag, Berlin.
A. Miné. Weakly Relational Numerical Abstract Domains. PhD thesis, École Polytechnique, Paris, France, March 2005.
T. S. Motzkin, H. Raiffa, G. L. Thompson, and R. M. Thrall. The double description method. In H. W. Kuhn and A. W. Tucker, editors, Contributions to the Theory of Games - Volume II, number 28 in Annals of Mathematics Studies, pages 51-73. Princeton University Press, Princeton, New Jersey, 1953.
T. Nakanishi and A. Fukuda. Modulo interval arithmetic and its application to program analysis. Transactions of Information Processing Society of Japan, 42(4):829-837, 2001.
T. Nakanishi, K. Joe, C. D. Polychronopoulos, and A. Fukuda. The modulo interval: A simple and practical representation for program analysis. In Proceedings of the 1999 International Conference on Parallel Architectures and Compilation Techniques, pages 91-96, Newport Beach, California, USA, 1999. IEEE Computer Society.
G. Nelson and D. C. Oppen. Fast decision algorithms based on Union and Find. In Proceedings of the 18th Annual Symposium on Foundations of Computer Science (FOCS'77), pages 114-119, Providence, RI, USA, 1977. IEEE Computer Society Press. The journal version of this paper is [NO80].
G. Nelson and D. C. Oppen. Fast decision procedures based on congruence closure. Journal of the ACM, 27(2):356-364, 1980. An earlier version of this paper is [NO77].
S. P. K. Nookala and T. Risset. A library for Z-polyhedral operations. Publication interne 1330, IRISA, Campus de Beaulieu, Rennes, France, 2000.
G. L. Nemhauser and L. A. Wolsey. Integer and Combinatorial Optimization. Wiley Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons, 1988.
V. R. Pratt. Two easy theories whose combination is hard. Memo sent to Nelson and Oppen concerning a preprint of their paper [NO77], September 1977.
C. H. Papadimitriou and K. Steiglitz. Combinatorial Optimization: Algorithms and Complexity. Dover Publications, second edition, 1998.
P. Quinton, S. Rajopadhye, and T. Risset. On manipulating Z-polyhedra. Technical Report 1016, IRISA, Campus Universitaire de Bealieu, Rennes, France, July 1996.
P. Quinton, S. Rajopadhye, and T. Risset. On manipulating Z-polyhedra using a canonic representation. Parallel Processing Letters, 7(2):181-194, 1997.
F. Quilleré, S. V. Rajopadhye, and D. Wilde. Generation of efficient nested loops from polyhedra. International Journal of Parallel Programming, 28(5):469-498, 2000.
T. W. Reps, G. Balakrishnan, and J. Lim. Intermediate-representation recovery from low-level code. In J. Hatcliff and F. Tip, editors, Proceedings of the 2006 ACM SIGPLAN Workshop on Partial Evaluation and Semantics-based Program Manipulation, pages 100-111, Charleston, South Carolina, USA, 2006. ACM Press.
E. Ricci. Rappresentazione e manipolazione di poliedri convessi per l'analisi e la verifica di programmi. Laurea dissertation, University of Parma, Parma, Italy, July 2002. In Italian.
A. Schrijver. Theory of Linear and Integer Programming. Wiley Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons, 1999.
R. E. Shostak. Deciding linear inequalities by computing loop residues. Journal of the ACM, 28(4):769-779, 1981.
A. Simon and A. King. Taming the wrapping of integer arithmetic. In H. Riis Nielson and G. Filé, editors, Static Analysis: Proceedings of the 14th International Symposium, volume 4634 of Lecture Notes in Computer Science, pages 121-136, Kongens Lyngby, Denmark, 2007. Springer-Verlag, Berlin.
D. Srivastava. Subsumption and indexing in constraint query languages with linear arithmetic constraints. Annals of Mathematics and Artificial Intelligence, 8(3-4):315-343, 1993.
R. Sen and Y. N. Srikant. Executable analysis using abstract interpretation with circular linear progressions. In Proceedings of the 5th IEEE/ACM International Conference on Formal Methods and Models for Co-Design (MEMOCODE 2007), pages 39-48, Nice, France, 2007. IEEE Computer Society Press.
R. Sen and Y. N. Srikant. Executable analysis with circular linear progressions. Technical Report IISc-CSA-TR-2007-3, Department of Computer Science and Automation, Indian Institute of Science, Bangalore, India, 2007.
J. Stoer and C. Witzgall. Convexity and Optimization in Finite Dimensions I. Springer-Verlag, Berlin, 1970.
H. S. Warren, Jr. Hacker's Delight. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2003.
H. Weyl. Elementare theorie der konvexen polyeder. Commentarii Mathematici Helvetici, 7:290-306, 1935. English translation in [Wey50].
H. Weyl. The elementary theory of convex polyhedra. In H. W. Kuhn, editor, Contributions to the Theory of Games - Volume I, number 24 in Annals of Mathematics Studies, pages 3-18. Princeton University Press, Princeton, New Jersey, 1950. Translated from [Wey35] by H. W. Kuhn.
D. K. Wilde. A library for doing polyhedral operations. Master's thesis, Oregon State University, Corvallis, Oregon, December 1993. Also published as IRISA Publication interne 785, Rennes, France, 1993.