ppl: Parma Polyhedra Library#


The Parma Polyhedra Library (PPL) provides numerical abstractions especially targeted at applications in the field of analysis and verification of complex systems. These abstractions include convex polyhedra, defined as the intersection of a finite number of (open or closed) halfspaces, each described by a linear inequality (strict or non-strict) with rational coefficients; some special classes of polyhedra shapes that offer interesting complexity/precision tradeoffs; and grids which represent regularly spaced points that satisfy a set of linear congruence relations. The library also supports finite powersets and products of (any kind of) polyhedra and grids, a mixed integer linear programming problem solver using an exact-arithmetic version of the simplex algorithm, a parametric integer programming solver, and primitives for the termination analysis via the automatic synthesis of linear ranking functions.

It is written in C++, but comes with interfaces to C, Java, OCaml, and Prolog. PPL is one of the fastest implementations of polyhedral computations.

Benchmarks are included in this paper: arXiv cs/0612085


GPL v3+

Upstream Contact#

Core Development Team

  • Roberto Bagnara (University of Parma)

  • Patricia M. Hill (University of Parma)

  • Enea Zaffanella (University of Parma)




Version Information#



Equivalent System Packages#

$ sudo pacman -S ppl
$ conda install ppl
$ sudo apt-get install libppl-dev ppl-dev
$ sudo yum install ppl ppl-devel
$ sudo pkg install devel/ppl
$ sudo emerge dev-libs/ppl
$ brew install ppl
$ sudo port install ppl
$ nix-env --install ppl
$ sudo zypper install ppl-devel
$ sudo xbps-install ppl-devel

See https://repology.org/project/ppl/versions

If the system package is installed, ./configure will check if it can be used.