Abstract
Faces are fundamental to the combinatorial and computational study of polyhedra. This paper presents the first formalization of the face lattice of polyhedra within the Coq proof assistant. By developing a library for basic polyhedral operations and implementing a mechanism to automatically manage mathematical representations, the authors establish key combinatorial properties. These include the proof that faces form graded atomistic and coatomistic lattices and a formal verification of Balinski’s Theorem on the $d$-connectedness of polytope adjacency graphs.
The Challenge of Geometric Representation
In mathematical optimization, polyhedra—the feasible regions of linear programs—are ubiquitous. While their "faces" (vertices, edges, facets) form an intuitive hierarchical structure known as a face lattice, formalizing this in a proof assistant like Coq is notoriously difficult.
The primary hurdle is the "representation tax." A single polyhedron can be defined by infinitely many systems of linear inequalities. Human mathematicians fluidly transition between these systems, but a computer-verified proof typically requires explicit lemmas for every such transformation. This paper addresses this by minimizing the administrative overhead required to reason about geometric objects.
Methods: Automation via Canonical Structures
The authors built their formalization on the Mathematical Components (MathComp) library for Coq, introducing several technical innovations to streamline proofs:
- Quotient Types: By defining polyhedra independently of specific inequality systems, the authors allow reasoning about them as sets of points rather than just matrices and vectors.
- Canonical Structures: This mechanism acts as the "secret sauce," enabling Coq to automatically detect the context of a proof and introduce the most appropriate representation (e.g., H-representation vs. V-representation) of a polyhedron or face.
- The "Base" Strategy: To manage the recursive nature of faces (where a face of a face is also a face of the original polyhedron), they introduced a method to fix an "ambient representation" locally, simplifying lattice traversal.
Key Insights: Bridging Geometry and Combinatorics
A central contribution of the work is bridging the gap between the geometric definition of a face (points minimizing a linear function) and the combinatorial definition (subsets of inequalities satisfied as equalities).
As shown in the figure above, a face can be identified by the set of indices of the constraints it saturates. For instance, a vertex might be the intersection of constraints {4, 5}, while an edge corresponds to the single constraint {4}. The formalization ensures that these two perspectives—the set of points and the set of indices—are handled consistently and automatically by the proof assistant.
Landmark Results in Polyhedral Theory
The library was used to formalize several foundational results:
- Lattice Properties: The authors proved that the faces of a polyhedron form a finite, graded, atomistic, and coatomistic lattice. This means the hierarchy of faces is well-behaved and follows strict structural rules.
- The Diamond Property: They verified that any interval of height two in the face lattice of a polytope is isomorphic to a "diamond," a key structural result in combinatorics.
- Minkowski’s Theorem: A formal proof was provided showing that every compact polyhedron is the convex hull of its vertices.
- Balinski’s Theorem: The authors successfully formalized the proof that the adjacency graph of a $d$-dimensional polytope remains connected even after the removal of $d-1$ vertices.
Future Directions
While this work establishes a robust structural foundation, several avenues remain open. The current formalization focuses on qualitative structure rather than "f-vector theory" (the count of faces at each dimension). Additionally, while the library is optimized for proving theorems, future work could involve "reflection tactics" to create verified, high-performance algorithms for computing face lattices directly within Coq. This would bridge the gap between formal verification and practical geometric computation.
The code for this project is open-source and available in the Coq-Polyhedra repository on GitHub.
Summary updated