Manuscript Offprint
arXiv:2610.11913Formally Certifying the Vertex Set of a Polyhedron Faster than Informal Enumeration
Xavier Allamigeon
Inria
CMAP, CNRS, École polytechnique,
Institut Polytechnique de Paris
France
Yazid Id-Sahra
École Normale Supérieure de Lyon
France
Pierre-Yves Strub
PQShield
France
pierre-yves.strub@pqshield.com
Abstract
The computation of the vertices of a polyhedron described by a system of linear inequalities is a central problem in polyhedral computation. It is a fundamental step in the conversion between H-representations, by linear inequalities, and V-representations, by vertices and extreme rays. This operation plays an important role both in the study of polyhedra and their combinatorics in mathematics and in applications to software and system verification.
We present a certificate-based approach for formally verifying the computation of the vertices of a polyhedron. Given an informally computed list of vertices, our method allows to certify in the proof assistant Rocq that the list is complete, or even exact. The cornerstone of the method is a new completeness criterion based on an abstract simplicial complex that generalizes a triangulation of the normal fan of the polyhedron. A significant advantage over previous approaches is that the usually expensive numerical computations are essentially reduced to membership tests to the polyhedron, while the other steps are cheap combinatorial tests.
We implement the certification method and prove its correctness in the proof assistant Rocq. We experiment with it on a variety of polyhedra, including Birkhoff polytopes, cross-polytopes, cubes, permutahedra, hypersimplices, and high-dimensional polytopes involved in the disproof of the Hirsch conjecture. Our experiments show that certification with the Rocq-to-OCaml extracted checker is typically 1.5x to over 5x faster than vertex enumeration by the state-of-the-art informal C implementation lrslib of the reverse search method.
1 Introduction
Minkowski–Weyl Theorem states that convex polyhedra, i.e., sets of defined by finitely many linear inequalities, are precisely the convex hulls of finitely many points and rays (i.e., halflines). This statement establishes the existence of a double representation for polyhedra, by means of a system of linear inequalities (H-representation) or by a finite collection of points and rays (V-representation). Some operations over polyhedra, such as intersections of two polyhedra, or testing the membership of a point, can be straightforwardly done over H-representations. Other operations, such as projections, image under linear maps, or convex unions, are immediate over V-representations. This makes the computation of one representation from another a prominent problem in polyhedral computations, which appears in many applications. As an example, in applications to static analysis by abstract interpretation [Bagnara et al. 2008; Cousot and Halbwachs 1978], neural network verification [Müller et al. 2022; Tran et al. 2020], or dynamical system analysis [Guglielmi et al. 2017], it is generally acknowledged that the H- vs V-conversion is one of the main bottleneck steps; see e.g. [Maréchal et al. 2017; Singh et al. 2017].
In this setting, the computation of the vertices of a polyhedron, or even more specifically, of a polytope (i.e., a bounded polyhedron) plays a central role. Indeed, the vertex set of a polytope provides the smallest (inclusionwise) V-representation, and H- vs V-conversion problems for general polyhedra can be reduced to it (as we recall in Section 6). For this reason, the computation of the vertex set, commonly referred to as the vertex enumeration problem, is one of the most fundamental computational problems over polyhedra. It is also closely connected to long-standing questions in combinatorics and optimization involving graphs of polytopes and their diameters. In more details, the (vertex-edge) graph of a polytope is the graph whose vertices are the vertices of the polytope and whose edges are its one-dimensional faces. The diameter is the maximum graph distance between any two vertices. Diameters of graphs of polytopes provide lower bounds on the worst-case number of steps performed by the simplex method (as the latter actually traces a path to an optimal vertex in such graphs). The Hirsch conjecture asserted that the diameter of the vertex-edge graph of a d-dimensional polytope with n facets is at most n - d. Although this precise bound was disproved by Santos [2012], the central question remains whether polytope diameters admit a polynomial bound in n and d, which is known as the polynomial Hirsch conjecture. This provides an additional motivation for the development of formally verified methods computing vertex sets and vertex-edge graphs, especially in the context of an increasing use of computer-assisted and AI-assisted methods in the study of open problems.
The state-of-the-art approaches to the vertex enumeration problem are the double description method [Motzkin et al. 1953] and the more recent reverse-search method [Avis and
Fukuda 1992]. The double description method takes a system of n linear inequalities, and incrementally computes (minimal) V-representations of the polyhedra defined by the first k inequalities for . Despite being very simple to implement, the major drawback of this approach is that the intermediate polyhedra may have very large (e.g., exponentially large) V-representations compared to that of the final polyhedron. The reverse-search approach is based on the simplex method. It relies on the fact that every vertex corresponds to at least one basis in the sense of the simplex method. It then enumerates all such bases, by reversing the path followed by the simplex method. In non-degenerate situations, i.e., when every vertex corresponds to exactly one simplex basis, the reverse-search method is linear in the number of vertices (up to polynomial factor in the dimension d of the ambient space and the number n of defining inequalities). This applies in particular to simple polytopes, which form a “dense” class in the sense that any polytope can be made simple by an arbitrarily small generic perturbation of its defining inequalities. Another advantage of the reverse-search method is that it can be implemented in a memoryless way, and can be parallelized [Avis and Jordan 2018]. The double description and the reverse-search methods have proofread and highly optimized implementations, respectively the C libraries cddlib and lrslib, which are interfaced to various programming languages (e.g., Rust, Julia, Python) and are widely used in mathematical software (e.g., SageMath, Polymake or OSCAR).
Contribution. We present a certification method for checking that an informally computed list of vertices contains or is equal to the vertex set of a polytope. In addition, it can certify that an informally computed graph is the vertex-edge graph of the polytope. The method takes as input a description of the polytope by inequalities as well as a certificate that is built from the output of the reverse-search method C library lrslib.
The main novelty of our method is the way the completeness of the informal list of vertices is verified. It makes use of the normal fan of the polytope, which is a collection of cones called normal cones, each cone corresponding to a face of the polytope. A basic fact is that the list is complete if and only if the normal cones of the candidate vertices cover the whole space . In order to check this covering property, we incorporate in the certificate an abstract simplicial complex, i.e., a collection of subsets of (where is the number of defining inequalities), which define elementary (conical) tiles contained in these normal cones. These tiles act as a relaxation of a triangulation of the normal cones, in the sense that they are allowed to overlap and may have arbitrary dimension. We establish an odd-covering criterion (Theorem 4) which guarantees that the tiles cover under a purely combinatorial condition on the abstract simplicial complex and the existence of a (generic) vector covered by an odd number of tiles. As a result, most of the certificate can be checked combinatorially, while the numerical computations are reduced to the verification that candidate vertices belong to the polytope (a rather unavoidable step), and that a given vector is oddly covered.
We implement the certificate checker in the proof assistant Rocq and formally prove its correctness up to two ingredients: the odd-covering criterion (Theorem 4) and the correctness statement for vertex-edge graph certification (Theorems 13 and 14). Both involve topological and homological arguments that are not yet available in the Rocq mathematical libraries we use in our development. We therefore provide self-contained pen-and-paper proofs of these results in the present paper and leave their formalization for future work. The correctness of the checker is proved by using proof-oriented types, and relies on the libraries Mathematical Components and Coq-Polyhedra for the formalization of the mathematical notions used (fields, vector spaces, polyhedra, faces, etc). This “high-level” implementation of the checker is then proved to be equivalent to a “low-level” one. The latter involves types made for efficient computations, such as persistent arrays, native binary integers, and the multiprecision arithmetics provided by the Rocq library bignums.
We experiment the resulting checker on several classical families of polytopes, namely Birkhoff polytopes, cross-polytopes, cubes, (dual) cyclic polytopes, permutahedra and hypersimplices. Cross-polytopes put aside, each class exhibits an exponentially (or subexponentially) growing number of vertices as the dimension scales up, which make them relevant test cases. We also consider the 20- and 23-dimensional polytopes provided as counterexamples to the Hirsch conjecture by [Matschke et al. 2015].
We report on two execution modes of the checker. In the first one, the checker runs inside Rocq using its bytecode virtual machine through the tactics vm_compute, as in the previous work of Allamigeon et al. [2023] on the graph certification problem. On their benchmark instances, our method improves the graph certification time by a factor ranging from 15 to 1000. To give an order of magnitude, we are now able to verify each of the two counterexamples to the Hirsch conjecture, including the violation of the Hirsch bound, in resp. 30 and 70 seconds on a standard laptop, compared to more than an hour in their work. In the second execution mode, the checker is obtained through Rocq extraction mechanism to OCaml code, which we compile to native code. We directly compare its performance to that of lrslib. We find that the vertex set certification time is typically 1.5x to over 5x (and up to 50x) faster than the vertex enumeration time. This demonstrates that our certification method could be used on top of lrslib in order to provide a formal guarantee at an acceptable overhead.
Related Work. The closest work to ours is that of Allamigeon et al. [2023], who provide a method for certifying the vertex-edge graph of a polytope and apply it to the formal verification of counterexamples to the Hirsch conjecture. Their method builds on the enumeration of lexicographically feasible bases (lex-feasible bases for short) performed by the reverse-search implementation lrslib. As explained in Section 4.3, we also use lex-feasible bases to construct our certificates, as a post-processing step applied to the output of lrslib. The performance gap between the two approaches can be explained from what is actually certified. As discussed in Section 4.3, the lex-feasible bases correspond to a particular triangulation of the normal cones called the lexicographic triangulation. The method of [Allamigeon et al. 2023] implicitly amounts to certifying that this specific triangulation is correct. In our implementation, we use the same lexicographic triangulation to generate the abstract simplicial complex contained in the certificate, but the checker does not verify that the complex represents the lexicographic triangulation. Instead, it only checks the weaker properties of the odd-covering criterion to certify the vertex-set and the graph correctness. This saves a substantial amount of numerical computations, most notably matrix-rank tests, as explained in Section 3. It also results in significantly smaller certificates, as reported in Section 5.3.
Out of the aforementioned work, we are not aware of any formally proven methods for computing or certifying vertex sets or vertex-edge graphs of polyhedra. To our knowledge, the majority of prior works that use formally verified polyhedral computations avoid dealing directly with H- vs V-representation problems, and reduce the verification of polyhedral operations to solving basic linear inequality problems such as infeasibility or logical implication problems. This is the approach followed by the Verified Polyhedra Library [Boulmé et al. 2018], where computational polyhedral operators are implemented in OCaml, and the verification of Farkas certificates (nonnegative combinations of linear inequalities) underlying to the correctness of the polyhedral computations done are discharged to Rocq. Similarly, the formally verified neural network prover Rocq-NN-Roll [Aleksandrov et al. 2026] relies on solving (in)feasibility problems over linear inequality systems. In practice, rather than exploiting a certification method, they directly do a formal proof of the Fourier–Motzkin elimination method.
Beyond the context of formal proof, the complexity of the certification problems related to H-/V-representations of polyhedra is an active topic where several questions remain unsolved. In more details, given a polytope described by some linear inequalities, and finite set of points, the complexity of deciding if , or even , is known to be in coNP. However, the membership to NP or, equivalently, the existence of a polynomial time certification method for the vertex-set exactness or completeness, is still an open question. We refer to [Kaibel and Pfetsch 2003], in which a broader discussion on the complexity status of problems related to H- vs V-representations can also be found. To our knowledge, Joswig and Ziegler [2004] is one of the few works to address vertex-set certification from an algorithmic perspective. Their completeness criterion is stated as the nontriviality of the th homology group over (the field of order 2) of a crosscut complex generated by the sets of vertices incident to each facet. They propose to check this criterion by computing ranks of boundary matrices (of exponential size in the worst case). We are not aware of any implementation (even informal) of this approach. Our odd-covering criterion is also homological in nature, and we provide in Remark 1 an interpretation of the conditions of the criterion in terms of homology over .
Outline. The preliminary Section 2 introduces the key notions underlying to this work, such as polyhedra and their faces, normal cones and normal fans. Section 3 deals with the presentation and the proof of the odd-covering criterion. In Section 4, we present the certification method for vertex sets and vertex-edge graphs of polytopes (Section 4.1 and Section 4.2). We also show how a certificate can be systematically built from the output of the library lrslib, thus establishing the completeness of the certification method (Section 4.3). The formal proof of the method and its experimental evaluation are covered in Section 5. Proofs and extra statements are provided in appendix.
Source Code of the Formalization. The Rocq formalization is available in the repository https://github.com/Coq-Polyhedra/homology-checker. The README.md file describes how to compile it from dependencies, run the checker, and reproduce the experiments reported in Section 5 (a Dockerfile replaying the whole set of benchmarks is also provided in the directory benchmarks). Certificates can be built from the Rust generator provided in the repository https://github.com/Coq-Polyhedra/lrs-postprocess. The generator works from the output of a patched version of lrslib available in https://github.com/Coq-Polyhedra/lrslib.
Use of AI. Generative AI tools were used to assist the implementation, primarily in two specific contexts. First, they assisted in developing the Rust certificate generator, which lies outside the trusted computing base. Second, they were used to develop the refinement proofs bridging the low- and high-level certificate checkers (see Section 5.2), whose correctness is then checked by the proof assistant. AI-assisted tools were also used for minor supporting tasks, notably writing benchmark scripts or documentation, and producing the TikZ code of the pictures in the paper.
the Euclidean scalar product of two vectors .
A polyhedron of is a set formed by the points satisfying a finite system of linear (affine) inequalities , where , and , for all .
Minkowski–Weyl Theorem entails that bounded polyhedra in are precisely the sets of the form for being a finite set, where stands for the set of convex combinations of the points in ( for all , ). Sets of the form for finite are called polytopes. This is why we use the more standard term “polytope” to designate a bounded polyhedron. However, we confirm that the polytopes dealt with in the paper will be all described by inequalities as input (while the goal will be to compute or certify a corresponding set ).
We also extensively use polyhedral cones. A polyhedral cone is a set of satisfying a finite system of linear inequalities where , and . Polyhedral cones are special cases of polyhedra. (A polyhedral cone is nothing but a polyhedron closed under the scaling by all scalar ). Minkowski–Weyl Theorem states that polyhedral cones are precisely the sets of the form cone( ) for being a finite set, where cone( ) stands for the set of nonnegative combinations of the vectors in ( for all ).
An important notion is that of the dimension of a polyhedron. The latter is defined as the dimension of the affine hull of the polyhedron, i.e., of the smallest (inclusionwise) affine subspace of containing the polyhedron. For example, a polyhedron reduced to a single point has dimension 0, a line segment has dimension 1, etc. In the case of a polytope under the form where for , the dimension is given by the rank of family of vectors where . Analogously, the dimension of a polyhedral cone under the form cone( ) for finite is given by the rank of the family . We denote by the dimension of a polyhedron .
Let be a polytope. We recall that a vertex of is a point arising as the unique maximizer of some linear function over (where ), i.e.,
We refer to Figure 1 for an example. We denote by the set of vertices of . As discussed in Section 1, the vertex set is the minimal (inclusionwise) set such that . This explains the term “V-representation” in which the letter “V” refers to vertices (while the H in “H-representation” refers to halfspaces, i.e., sets defined by a single affine inequality ).
More generally, a set of points maximizing some linear function over is called a (nonempty) face of . Faces are polytopes as well. The vertices of correspond to the faces of dimension 0. The edges are the faces of dimension 1. The vertex-edge graph of is the combinatorial graph whose vertices correspond to the vertices of , and there is an edge between two vertices in if and belong to a common edge in the polytope . The facets of are the faces of dimension .
Following the definition of a vertex, a natural approach to check if some informally computed set contains all vertices of is to check that for every linear function with a unique point as maximizer, the latter belongs to . While apparently this would need to examine infinitely many vectors , the notion of normal fan yields a finite discretization making this approach applicable.
In more details, the normal cone of a point is defined as the set of vectors such that is maximizing the function over , i.e.,
Now, suppose that is defined by the inequalities where and for all . Let . It is well known (see Proposition 19 in Appendix A) that the normal cone is the cone generated by the vectors of the inequalities active at , i.e., satisfying . Formally, we have
where . We refer again to Figure 1 for an illustration, where we observe that the normal cone of every vertex is indeed generated by the normal vectors of two corresponding active inequalities.
The normal fan is the collection of normal cones for . Observe that the characterization given in (1) in terms of a subset shows that the normal fan consists of finitely many cones. The term fan refers to the fact that the faces of every cone in the collection also belong to the collection, and that the intersection of any two cones is a common face of the two.
We are now ready to state the proposition that will be at the core of the certification of vertex-set completeness.
Proposition 1. Suppose that P is a nonempty polyhedron, and let . The following two properties are equivalent:
• P is a polytope and V contains all vertices of P;
• .
3 Odd-Covering Criterion
3.1 Overview: the Role of Triangulations
The criterion provided by Proposition 1 turns the vertex-set completeness problem into a covering of the whole space by the normal cones of the points . Equivalently, as normal cones are invariant by scaling by a positive scalar, we can visualize this problem as a covering problem of the -dimensional unit sphere by the spherical polytopes for , as illustrated in the middle of Figure 2 with the normal fan of the three-dimensional cross-polytope. (We recall that the


Figure 1. A two-dimensional polytope (left) and its normal fan (right). Each colored vector defines a linear function uniquely maximized at the associated vertex; the same vector is shown inside the corresponding normal cone. The generating rays in the normal fan are labeled by the corresponding outer normal vector of the polytope.
d-dimensional cross-polytope is the set of the points satisfying , or, equivalently, the linear inequalities where .
The approach to such covering problems is to check that the whole boundary of every normal cone — here, the sets — is fully covered by the boundary of other normal cones. However, in general, the boundary of a normal cone, as described by its facets, may be arbitrarily complex. While the normal cones are naturally given by some V-representation (see (1)), enumerating their facets falls in the same family of problems as the vertex enumeration (see Section 6). Triangulations, i.e., decomposition in triangles in dimension 2, or simplices in higher dimension, are of the main techniques to overcome such issues. For cones, such triangulations are stated in terms of simplicial cones. A (k-dimensional) simplicial cone is a cone of the form cone generated by k linearly independent vectors . Checking if a collection of simplicial cones forms a complete triangulation of (i.e., covering all ) is made easier by the fact that every d-dimensional simplicial cone has precisely d facets, and each facet can be found out by solving a linear system. These are the foundations of the criteria developed in [De Loera et al. 2010, Corollary 4.5.20] or [Pilaud 2025, Proposition 3.1]. They can be informally described as follows:
Theorem 2 (Informal statement). A finite collection C of d-dimensional simplicial cones in is a complete triangulation of if and only if
-
each facet of a cone in C is a facet of precisely two cones in C, one of each side of the facet;
-
there is a vector contained in the interior of one cone of C and which does not belong to any other cone in C.
The right-hand side of Figure 2 illustrates this criterion by depicting a decomposition of the normal fan into simplicial cones which, when intersected with , provides a triangulation of the sphere. As an illustration of Condition 1, the darker spherical edge depicted in the foreground is contained in exactly two triangles, one on each side.
The drawback of the criterion of Theorem 2 is that Condition 1 requires a significant amount of numerical computations. Indeed, we need to compute every facet of each normal cone, which is done by solving a linear system. Hence, the number of such systems to be solved is proportional to the number of simplicial cones in the triangulation, which may be very large, as explained in Section 5.3.
As discussed in Section 1, we propose a significant relaxation of the conditions of Theorem 2 that allows to replace a large part of the numerical burden by combinatorial tests, thus reducing the impact of a large size triangulation. To this aim, we rely on abstract simplicial complexes, which will encode decompositions in which the elementary cells are not required to be d-dimensional anymore, nor to intersect only on their boundaries.
3.2 The Statement
An abstract simplicial complex over a finite set E is a collection K of finitely many sets contained in E and closed under subsets. The sets constituting K are called the (abstract) simplices. The closedness property of simplices under subsets is analogous to that exhibited by simplicial cones and their faces: given a k-dimensional simplicial cone generated by the vectors , its faces are precisely the cones generated by the subsets of . The dimension of an abstract simplex is defined as , where is the cardinality of the set . The dimension of an abstract simplicial complex K, denoted dim K is defined as the maximum dimension of its simplices. In the sequel, we restrict to the case where K



Figure 2. The three-dimensional cross-polytope (left), its normal fan intersected with the sphere (middle), and a triangulation of the normal fan (right).
is pure, i.e., all maximal (inclusionwise) simplices have the same dimension (equal to dim K). Under this assumption, a simplex of dimension dim K is called a facet of K, and a simplex of dimension (dim K) - 1 is called a ridge.
In our setting, we use pure abstract simplicial complexes over the ground set of dimension (i.e., the dimension of the sphere rather than that of , due to homogeneity). Thus, facets are subsets of with cardinality , and ridges have cardinality . Such an abstract complex K can be realized geometrically into a collection of cones by mapping every element to the vector , and, by extension, every simplex to the cone . The dimension of the cone is upper bounded by . Equality holds if and only if the for are linearly independent, i.e., is a simplicial cone. Simpliciality will not be required in general in the conditions of the odd-covering criterion below. We also point out a subtle terminology discrepancy between polyhedral fans and abstract simplicial complexes that may be a source of confusion: in the case the cone is a -dimensional simplicial cone, the simplex is a facet of the abstract simplicial complex, while the facets of correspond to cones where is a ridge. We recommend the reader to think of the ridges as the analogous of the facets of cones discussed in Section 3.1.
Example 3. Figure 3 can be used to illustrate a case where , . The abstract simplicial complex K is given by the facets for and their subsets. All four facets share the ridge . Cones are again represented by the intersection with the sphere . As expected from the generality of the setting, the cones for facets may intersect over their interiors (e.g., , and ). To keep the illustration readable, we do not depict the case in which some of these cones are not 3-dimensional.
We start by stating a covering result for -generic vectors (Theorem 4). A vector is -generic if does not belong to any cone satisfying . The set of -generic vectors is open dense in , as shown in Lemma 24 in Appendix B. Moreover, as the boundary of cones is made of cones of dimension less than , a -generic vector can only belong to the interior of -dimensional) cones .
The main result of this section is the following:
Theorem 4. Let K be a pure -dimensional abstract simplicial complex over the set , and a collection of nonzero vectors . Suppose that
-
each ridge of K is contained in an even number of facets;
-
there is a -generic vector such that for an odd number of facets of K;
-
for all facet of K, is a pointed cone, i.e., .
Then, every -generic vector satisfies for an odd number of facets of K.
As outlined above, the conditions of Theorem 4 generalize those of Theorem 2. (As we shall see in Section 4, Condition 3 of Theorem 4 is a technical condition that will be automatically fulfilled thanks to a global condition on the dimension of the polytope P to which we will apply the certification method.) A first difference is that the conditions of Theorem 4 only involve the parity of incidence numbers, rather than an exact counting. A much more significant difference is that Condition 1 in Theorem 4 is only stated in terms of the abstract simplicial complex, i.e., in terms of combinatorial conditions over the incidence of abstract ridges and facets, rather than resorting to a geometric condition like Condition 1 in Theorem 2 involving the solutions of linear systems.
We now give an overview of the proof provided in Appendix B. We consider a -generic vector , and a path from a vector satisfying Condition 2 to the vector , i.e., and . We require this path to be generic, in the sense that it only intersects cones () of dimension or , and the intersection with

Figure 3. An illustration of the odd-covering criterion and its proof, in the case . The only cone (for being a ridge) met by the path at is . The number of cones for facet of K containing the path point varies from 1 at to 3 at .
every -dimensional such cone is transversal (i.e., the tangent vector of the path at the intersection point is not parallel to the affine hull of the -dimensional cone). Under such assumptions, intersects -dimensional cones only at finitely many values of (Lemma 25). At these values, the vector is -generic. Out of these values, i.e., on open intervals of , the vector is -generic. We show (Lemma 26) that such a generic path can be built from a linear path up to slightly perturbing the vector (which is possible since Condition 2 still holds after such a perturbation).
Then, we keep track of the parity of the cardinality of the set by continuously increasing from 0 to 1. On every open interval where remains -generic, the path does not cross the boundary of any cone (as such boundary consists of union of lower-dimensional cones), and thus remains constant. The only changes on may appear at a value where is -generic but not -generic. At such a breakpoint, lies on the facets of some cones that the path is leaving or entering. Such facets are of the form where is a ridge of . The fact that every such ridge appears in an even number of facets of allows to show that the symmetric difference has even cardinality. We refer to Figure 3 for an illustration (which must be now understood as the illustration of only a part of a larger abstract simplicial complex than the one described in Example 3). Proceeding in this way up to , we obtain that has odd cardinality like .
Remark 1. We can interpret the conditions of Theorem 4 in homological terms as follows. (We refer to [Hatcher 2002; Munkres 1984] for definitions and notation.) Condition 1 amounts to the fact that the -chain
is a cycle. Recall that we can also think of every as a singular simplex, i.e., as the map sending to (where is the ith unit vector, and ). By extension, can be seen a singular chain in where . In this setting, is still a cycle.
Condition 3 ensures that the map associating the point to where , is well-defined (i.e., ). As a consequence, the push-forward chain is a cycle on .
The interpretation of Condition 2 involves local homology groups on ; see [Munkres 1984, §35] for a definition. We recall that the elements of are represented by local cycles, i.e., chains of whose boundary consists of singular simplices whose image does not contain y. We denote by the homology class of such cycles.
Then, Condition 2 states that is not trivial. Indeed, let be a d-generic point. As shown in Lemma 29, for all facet of K, we have if and only if . Therefore, if and only if belongs to an odd number of cones for facet of K.
By Lemma 28, the inclusion maps from to the local homology groups are isomorphisms. Hence, implies for all . We deduce that every d-generic point belongs to an odd number of cones for facet of K. This yields an alternative (though not self-contained) proof of Theorem 4.
Remark 2. The assumption that K is pure was made only to make the presentation easier. It is not needed in the proof given in Appendix B (nor in the alternative argument of Remark 1).
The following result about the covering of (and not only -generic vectors) is an immediate corollary. It is a consequence of the density of -generic vectors in (Lemma 24) and the closedness of the cones .
Corollary 5. Under the assumptions of Theorem 4, the cones where ranges over the facets of K cover the space .
4 The Certification Method
Throughout this section, we suppose that is a nonempty polyhedron defined by inequalities where , , and for . Without loss of generality, we assume that the vectors are nonzero. (This condition is used to apply Theorem 4.)
4.1 Vertex-Set Completeness
Let V be a finite set of points of . The certificate that we use to prove consists of the following components:
The case where corresponds either to a tautological inequality when , in which case it can be eliminated from the system, or to a invalid inequality when , in which case the polyhedron is trivially empty.
-
for each , a set ;
-
a collection of subsets of with cardinality , and a mapping ;
-
a (undirected) graph G with vertex set F;
-
a special subset associated to , a collection of vectors , and for all , a vector .
The verification of the certificate consists of the following steps:
T1. for all , if , and otherwise;
T2. for all , is a subset of ;
T3. every has degree at most in , and, for each , there is a neighbor satisfying and ;
T4. setting , if , and otherwise;
T5. for all , , , and for every , .
In order to prove that the vertex-set completeness property is implied by Conditions T1 to T5, we use the abstract simplicial complex K generated by the elements in F, i.e., consisting of the subsets of for all . As every has cardinality , the complex K is pure and -dimensional, and F is precisely the set of its facets. Our goal is to show that we can apply Theorem 4 to K and deduce that the cones cover the whole space. Given , the normal cone is intended to be covered by the cones for the elements mapped to by . In this case, we will be able to conclude that thanks to Proposition 1.
We start with two lemmas showing that , and relating each cone with the normal cone of the associated point .
Lemma 6. Under Condition T1, we have , , and for all .
Lemma 7. Under Conditions T1 and T2, belongs to P and for every .
We now study the properties of the graph G induced by Condition T3. As shown in Lemmas 30 and 31, the condition first implies that G is a simple graph (i.e., without loops nor multiple edges) in which every has precisely neighbors , one per element . These neighbors satisfy for all . The set is a ridge of K, and every ridge of K arises in this way (for some ). Moreover, it is contained in the two facets and .
Given a ridge of K, we show that every facet containing comes by pairs of adjacent facets in the graph G (here, i is the unique element of such that ). This is the idea underlying to the proof of the next statement, which establishes that Condition T3 entails Condition 1 of Theorem 4. The complete proof is provided in Appendix C.
Proposition 8. Under Condition T3, every ridge of K appears in an even number of facets.
Next, we show that Condition 2 of Theorem 4 holds. To this aim, we use the special facet involved in Conditions T4 and T5. The idea is the following. Condition T4 implies that the cone is a simplicial cone of dimension . In fact, it can be shown that the vectors represents (inner) normal vectors to its facets, i.e., the cone is the set of vectors such that for all . We then pick an arbitrary vector , for instance , in the interior of . By the property of the normal fan (Corollary 21), cannot lie in any normal cone for , hence, not in any cone satisfying by Lemma 7. Thanks to Condition T5, we show that is the only cone in containing by exhibiting a hyperplane separating from any cone satisfying , . In this way, we arrive at the following statement.
Proposition 9. Under Conditions T1, T2, T4 and T5, the vector is d-generic, and the only cone ( ) containing it is .
In order to fulfill Condition 3 of Theorem 4, it suffices to assume that P is a full-dimensional. Indeed, under this assumption, every normal cone is pointed (see Lemma 32), and so are the cones owing the inclusion (Lemma 7). We are now ready to show the correctness of our certification method.
Theorem 10. Let P be a full-dimensional polyhedron.
If Conditions T1 to T5 are satisfied, P is a polytope and the set V contains all its vertices.
Remark 3. We briefly discuss the complexity of the certification method. All basic operations involved, namely computing scalar products in Conditions T1, T4 and T5 and subset tests in Conditions T2 and T3, can be done in polynomial time in d and n. Since , it follows that the verification of Conditions T1 to T5 can be carried out in time where denotes some polynomial factor in d and n. As we shall see in Section 4.3, in practice we take and F a triangulation of the normal fan of P. In this setting, we have (i.e., there is at least one facet per vertex), so that the total complexity simply writes as . If, moreover, the polytope P is simple, all normal cones are simplicial, and F consists of exactly one facet per vertex. In this case, the certification method becomes polynomial in d, n and .
As explained in Section 5.3 in the case of cross-polytopes, there may be exponentially many more simplices in F than vertices. In this situation, as remarked in [Joswig and Ziegler 2004], a possibly better approach consists in applying the certification method to the polar polytope [Ziegler 1995, § 2.3]. In more details, up to replacing the full-dimensional polytope
by where is an interior point, the inequalities defining can be put under the form where , . We claim that it suffices to apply Theorem 10 to the polyhedron (which is full-dimensional as 0 is an interior point), and certify that is a polytope and the points contain its vertices. Indeed, the latter two properties are equivalent to . The polar of the polytope is conv , and the polar of conv is the polyhedron . Since passing to polars reverses set inclusion, we obtain that , which is equivalent to and being a polytope. This proves the claim. The polar-based approach is especially useful when is a simplicial polytope (like in the case of cross-polytopes). Indeed, under this assumption, the (candidate) polar is a simple polytope. Following the discussion in the previous paragraph, the complexity of the certification method then becomes .
4.2 Vertex Set and Vertex-Edge Graph
In order to certify that from the results of Section 4.1, it suffices to verify that every point is a vertex of . The standard way of certifying that a point is a vertex is to show that there are linearly independent vectors among the vectors for , i.e., satisfying (see e.g. [Schrijver 1986, Chapter 8]). However, this would reintroduce an expensive rank-based condition that we managed to avoid in the certification . Instead, we propose a purely combinatorial approach that uses the following extra component in the certificate
- for each , a sequence and points ,
for which we verify the condition:
T6. for all , we have
Proposition 11. Suppose that Condition T1 holds, and let satisfying Condition T6. Then the polyhedron P is full-dimensional and v is a vertex of P.
While the proof we provide in appendix is purely algebraic, we shall see in Section 4.3 that Condition T6 is related to the existence of a flag above the point v of P, i.e., a chain of faces such that for all i. The points can be built from vertices of the faces , and the fact that the chain has length d ensures .
The following result is an immediate consequence.
Theorem 12. If Conditions T1 to T6 are satisfied, P is a full-dimensional polytope and the set V is precisely the set of vertices of P.
We now describe the certification of the vertex-edge graph of . The candidate graph is the image of the graph by the mapping , i.e., the non-directed graph with vertex set and whose edges are the pairs such that and there is an edge in such that and .
Theorem 13. If Conditions T1 to T6 are satisfied, is a subgraph of .
Theorem 13 entails that and have the same vertex set (since ), and the edge set of is contained in that of . We point out that even though it does not certify that is exactly vertex-edge graph of , it shows that the diameter of is lower bounded by that of (as the two graphs have the same vertices, and the latter have more edges). Consequently, Theorem 13 can be already used to certify lower bounds on diameters like in the disproof of the Hirsch conjecture.
Finally, we introduce the following condition to ensure that every edge of is an actual edge of .
T7. for every , the sets for adjacent to in are incomparable.
Theorem 14. If Conditions T1 to T7 are satisfied, the graph is precisely the vertex-edge graph of P.
4.3 Building a Certificate from Lex-Feasible Bases
We show that the previously described certificate can always be built in the case where P is a full-dimensional polytope, proving that our certification method is complete for this class. We recall that, given a general polytope P, we can always reduce to the full-dimensional setting by eliminating variables in the inequality system.
The construction we propose actually makes use of the enumeration of the so-called lexicographically feasible bases (or lex-feasible bases for short), as described in [Avis 2000] and computed by 1rslib. Consider the perturbation of the polyhedron defined as , where . As shown in [Avis 2000], assuming that is small enough, every vertex of activates precisely inequalities. Moreover, assuming below some threshold values, the sets of active inequalities for ranging over the vertices of are independent of the choice of . These sets are called the lex-feasible bases. As proved in [Avis 2000], every lex-feasible basis is a feasible basis of , meaning that the linear system for has a unique solution, say , and this solution belongs to . Thus, is a vertex of , and . In short, every lex-feasible basis corresponds to a vertex of . The following statement extends this relationship to normal fans. We recall that a simplicial fan is a fan consisting of simplicial cones.
Proposition 15. The normal fan of is a simplicial fan which refines the normal fan of P, i.e., every cone in the normal fan of is contained in some cone of the normal fan of P.
It can be shown that the refinement provided by the normal fan corresponds to a lexicographic triangulation of the normal fan of P, which is a special case of a regular triangulation (see [De Loera et al. 2010, Chapters 2 and 4]).
We now build as the set of lex-feasible bases. We define as the mapping which associates a feasible basis to the (unique) vertex of such that . We take for the adjacency graph of lex-feasible bases, i.e., there is an edge between two bases if and differ by only one element. We set , and for .
Proposition 16. The previously described components ( ), , and satisfy Conditions T1 to T3.
We are free to choose as an arbitrary lex-feasible basis, and we set . Let us write where . By definition of a basis, the matrix has rank . It then suffices to take as the transposed inverse matrix. As we already explained in the description of Proposition 9, the simplicial cone is then defined by the inequalities . Besides, for each , , the existence of a hyperplane weakly separating and is a classic separation result related to Farkas Lemma, that applies because and can only meet in lower dimensional cones (as a consequence of the structure of the normal fan of ; see Corollary 21). In our case, we can actually build the weights from the vertex of corresponding to the lex-feasible basis respectively:
Proposition 17. Let be an arbitrary lex-feasible basis, the transposed inverse matrix of and .
Then, Conditions T4 and T5 are satisfied.
The completeness of Condition T6 follows from the existence of a flag above every vertex of (we refer to [Ziegler 1995]). For every , is a proper face of , and so there is a vertex of that does not belong to . The point is a vertex of , thus it belongs to . We take for any index of inequality active over the face but not at , i.e., for all and . In this way, . Moreover, for all and , we have since . The same argument shows that . We readily get the following result:
Proposition 18. For each , every sequence and vertices built from a flag as above satisfy Condition T6.
We finally deal with Condition T7. As proved in [Allamigeon et al. 2023], the image by of the adjacency graph of lex-feasible bases of coincides with the vertex-edge graph of . With this setting, Condition T7 is then equivalent to the fact that for every vertex of , the sets for adjacent to in is adjacent are incomparable. Equivalently, the sets for adjacent to in are incomparable. Notice that is precisely the set of inequalities active over the edge of . As these sets of active inequalities uniquely characterizes the faces of (see [Schrijver 1986, Chapter 8]), that of edges must be incomparable. We deduce that Condition T7 is satisfied.
5 Efficient Implementation and Experiments
The formalization of the certification method is provided in the project homology-checker (see Section 1 for a link to the repository). The main dependencies are the Rocq libraries Coq-Polyhedra (which provides a formalization of the theory of convex polyhedra and their faces [Allamigeon et al. 2022]) and Mathematical Components.
The certification method is formalized into two versions of a checker, one which uses “high-level” proof-oriented types provided by Coq-Polyhedra and Mathematical Components, and another based on “low-level” computation-oriented types. The former is used to carry out a correctness proof of the certification method (Section 5.1), whereas the latter is meant to be executed directly in Rocq or via extraction to OCaml. An equivalence proof between the high-level and the low-level is done; see Section 5.2.
5.1 Correctness Proof of the Certification Method
The high-level version of the checker is implemented in the file src/HighLevelCertificate.v. The certificate is formalized by means of a record type Certificate that follows the description given in Section 4. Conditions T1 to T7 are implemented through functions of type Certificate -> bool. There are also a number of additional test functions which verify the “well-formedness” of the components of the certificate that are implicit in the presentation of Section 4: for instance, the fact that the graph G has vertex set F, the membership of to the set F, and the membership of the points to V for each .
Some preliminary notions and properties introduced in Section 2, in particular normal cones, are formalized in the file src/covering_criterion.v, where Proposition 1 is proved. The odd-covering criterion of Section 3 is stated in the file src/odd_covering_theorem.v, together with the definition and basic properties of abstract simplicial complexes. It reproduces the statement of Theorem 4 (more precisely, of its generalization, Corollary 5) as follows:
Definition ridgesHaveEvenIncidence K :=
forall R : simplex_n, R \in ridgesOf K
-> even #|[set F in facetsOf K | R \subsetset F]|.
The Coq-Polyhedra library currently depends on versions 1.x of Mathematical Components, which are not available for Rocq 9.x. We have updated Mathematical Components and Coq-Polyhedra to support the most recent version 8.x of Rocq, i.e., Coq 8.20.1. The patched Mathematical Components library and related packages are available at https://github.com/Coq-Polyhedra.
Definition existsSpecialPoint K := exists z : 'cV[R]_d, isKGeneric (d.+1) z /\ odd #|[set F in facetsOf K | z \in coneOf F]|.
Definition conesArePointed K := forall F : simplex_n, F \in facetsOf K -> polyhedron.pointed (coneOf F).
Theorem odd_covering_theorem K : ridgesHaveEvenIncidence K -> existsSpecialPoint K -> conesArePointed K -> forall x : 'cV[R]_d, exists F : simplex_n, F \in facetsOf K / \ x \in coneOf F.
The variable K represents the abstract simplicial complex K (the hypothesis on the fact that it is pure d-dimensional here is not reported here). The sets of facets and ridges are respectively provided by the terms facetsOf K and ridgesOf K. If a facet is represented by the variable F, the cone is given by the term coneOf F. Condition 2 on corresponds to the property isKGeneric (d.+1) z. (The use of the term d.+1 instead of d is due to the shift by 1 of the dimension of polyhedra and cones in Coq-Polyhedra.)
As explained in Section 1, the statement odd_covering_theorem is still admitted. From this theorem, we formalize the proofs of the correctness of the vertex-set completeness certification (Theorem 10) and that of the vertex-set certification (Theorem 12). This is done in the file src/CertificateCorrectness.v. The final statement there is:
Theorem certificate_correctness cert : well_formedness cert -> full_dim_check cert -> feasibility_check cert (* T1 ) -> mapping_check cert ( T2 ) -> graph_check cert ( T3 ) -> inversibility_check cert ( T4 ) -> separability_check cert ( T5 ) -> flag_check cert ( T6 *) -> vertex_set ['polytope cert] = points cert.
where ['polytope cert] and points cert respectively extract the polytope P and the set V of points from the certificate. The correctness proof of the graph certification method (Theorems 13 and 14) is still work-in-progress.
5.2 Efficient Implementation and Refinement Proof
The low-level checker (src/LowLevelChecker.v) implements the same test functions as the high-level one, but using computation-oriented types: primitive 63-bit integers and persistent arrays, and arbitrary-precision integers and rationals of the Rocq library bignums. Arrays are used almost exclusively in a read-only way (the only exception is the BFS algorithm to compute graph diameters); therefore, we avoid the overhead associated with persistence.
This checker relies on a low-level certificate that encodes the components of Section 4. An interpretation function assigns to such a certificate the high-level certificate it denotes, each rational denoting an element of the field, each array a finite set, each adjacency table a graph. The certificate is stored as a compact binary serialization and is loaded inside Rocq by binreader, a plugin that allows to build low-level records directly in memory from this format.
The proof relating the low-lever and high-lever versions of the checker (src/Refinement.v) consists of two layers of a different nature. The lower layer is relational: to each core functionality of the checker (bounded scans, folds, binary search) corresponds a reflection lemma, stating that the boolean computation holds if and only if its mathematical counterpart holds. The arithmetic tests on arbitrary-precision integers and rationals are similarly related, in both directions, to the operations of the ordered field. On the other hand, the upper layer is refinement based: for each boolean check, we prove a one-directional statement, namely that if the low-level check is validated, then the interpreted high-level certificate satisfies the corresponding conditions of src /HighLevelCertificate.v. This direction is the only one that certification requires. Combined with the high-level statements proved in src/CertificateCorrectness.v., we obtain end-to-end statements such as
Corollary vertex_equality cert : VtxContainment.check_certificate cert -> VtxEquality.check_certificate cert -> vertex_set ['hpoly_of cert] = points_of cert.
where hpoly_of cert and points_of cert are the polytope and the point set described by the low-level certificate.
Finally, the extracted OCaml version of the checker (provided in the directory ocaml of homology-checker) is obtained from the same low-level functions, with primitive integers and arrays realized by native OCaml ones, and arbitrary precision numbers handled by the zarith library.
5.3 Experimental Results
We give a brief description of the instances used for the experiments, and refer to Appendix D for a more detailed presentation. The -Birkhoff polytope (birkhoff_n) is the polytope of -doubly stochastic matrices. It has dimension and vertices. The -dimensional cross-polytope (cross_d) was already defined in Section 3, and its vertices are the points (), where denotes the canonical basis of . The -dimensional cube (cube_d) is the polytope . The -dual cyclic polytope (cyclic_d_n) is known to maximize the number of vertices among -dimensional polytopes with facets. The -hypersimplex is defined as
https://github.com/rocq-community/bignums
https://github.com/Coq-Polyhedra/coq-binreader
https://ocaml.org/p/zarith/latest the set of points satisfying . The instance hypersimplex stands for the -hypersimplex with and . The permutahedron of order (instance permutahedron) is the convex hull of all permutations of the vector . All these instances have (sub)exponentially many vertices as the associated parameter grows, except the cross-polytopes. The instances poly20dim21 and poly23dim24 are the two counterexamples to the Hirsch conjecture from [Matschke et al. 2015]. They are respectively 20- and 23-dimensional polytopes defined 40 and 46 inequalities with large rationals coefficients, and have 36 425 and 73 224 vertices.
Benchmarks can be run from the benchmarks directory of the project homology-checker (we refer to the README.md file for detailed instructions). Instances are provided in the subdirectory benchmarks/data under the form of lrslib input files. The pipeline first invokes lrslib in order to generate the list of lex-feasible bases (which is part of the usual vertex enumeration procedure). The list is then post-processed by the certificate generator implemented in Rust to produce the certificate under the form of a binary file (project lrs-postprocess; see Section 1). The certificate generation follows the construction described in Section 4.3. The time taken by the generation step is less than 20% of the lrslib time (except for cubes where it is around 40%). The resulting certificate is finally loaded into Rocq through the binreader plugin.
We consider two execution modes of the checker: one running directly inside Rocq via its bytecode virtual machine (the vm_compute tactic), and one obtained by extracting the low-level checker to OCaml and compiling it to native code. Measurements are carried out on a 12th Gen Intel Core i7-12700H with 32 GB of memory, with every benchmark pinned to a performance core, turbo mode and C-states disabled. For both sets of experiments, we report the lrslib vertex-enumeration time and the checker running time in seconds. We also report the checker time as a factor of the lrslib time (columns ×lrslib). This relative measure makes the comparison less dependent on the experimental setup and provides a direct measure of the cost of formal certification relatively to informal vertex enumeration. The lrslib reference times are single-threaded runs of lrsgmp, the GMP-based build of lrslib.
Table 1 reports the performance of the certification method inside Rocq and compares it with that of [Allamigeon et al. 2023]. Since the latter work deals with certification of the vertex-edge graph only, the time reported for our checker corresponds to a single vm_compute evaluation verifying Conditions T1 to T7. The time reported includes the loading time of the certificate, like in [Allamigeon et al. 2023]. For every instance, we also report the running time of the approach of [Allamigeon et al. 2023], normalized by the lrslib time, as given in [Canu 2025, Table 5.3]. On the two counterexamples
Table 1. Performance of the Rocq certification, compared to the approach of Allamigeon et al. [2023].
| Instance | lrslib(s) | checker | [Canu 2025]×lrslib | Improvement factor | |
|---|---|---|---|---|---|
| (s) | ×lrslib | ||||
| poly20dim21 | 10.90 | 69.7 | 6.4 | 467 | 73× |
| poly23dim24 | 15.14 | 159.7 | 10.6 | 656 | 62× |
| cube_15 | 1.12 | 34.6 | 31.1 | 471 | 15× |
| cube_16 | 2.41 | 78.0 | 32.3 | 515 | 16× |
| cube_18 | 11.75 | 368.9 | 31.4 | - | - |
| cube_19 | 25.40 | 809.5 | 31.9 | - | - |
| cube_20 | 55.33 | 1770.4 | 32.0 | - | - |
| cross_6 | 0.05 | 0.1 | 2.5 | 353 | 141× |
| cross_7 | 0.71 | 1.2 | 1.7 | 370 | 221× |
| cross_8 | 11.27 | 12.2 | 1.1 | 1185 | 1091× |
| cross_9 | 207.63 | 144.6 | 0.7 | † | † |
| cross_10 | 4287.48 | 2123.8 | 0.5 | † | † |
| cyclic_9_18 | 0.05 | 0.8 | 14.9 | 407 | 27× |
| cyclic_10_20 | 0.20 | 2.5 | 12.5 | 336 | 27× |
| cyclic_11_22 | 0.59 | 6.2 | 10.4 | 433 | 42× |
| cyclic_12_24 | 2.06 | 19.6 | 9.5 | 472 | 49× |
| cyclic_13_26 | 6.10 | 46.7 | 7.7 | 550 | 72× |
| cyclic_14_28 | 23.00 | 148.4 | 6.5 | † | † |
| cyclic_15_30 | 66.30 | 368.6 | 5.6 | † | † |
| cyclic_16_32 | 225.23 | 1249.5 | 5.5 | † | † |
| permutahedron_7 | 0.36 | 4.1 | 11.2 | 263 | 23× |
| permutahedron_8 | 6.79 | 59.9 | 8.8 | 371 | 42× |
| permutahedron_9 | 126.67 | 1086.2 | 8.6 | † | † |
| hypersimplex_17 | 19.05 | 316.8 | 16.6 | - | - |
| hypersimplex_18 | 44.30 | 721.2 | 16.3 | - | - |
| hypersimplex_19 | 95.54 | 1646.3 | 17.2 | - | - |
| birkhoff_5 | 0.61 | 5.4 | 8.8 | - | - |
| birkhoff_6 | 69.72 | 634.0 | 9.1 | - | - |
'-': instance not part of the benchmarks of [Canu 2025]. †: instance beyond the reach at that time.
to the Hirsch conjecture, the evaluation additionally includes the computation of the eccentricity of a distinguished vertex in the certified graph (i.e., the maximum graph distance from this vertex to any other vertex), which allows us to verify that the Hirsch bound is violated. The last column of Table 1 shows speedups ranging from to more than over [Allamigeon et al. 2023]. Our checker also scales to larger cubes, cross-polytopes, dual cyclic polytopes, and permutahedra for which no timings were reported in their experiments. As extra measurements, we have run the certification method for the two counterexamples to the Hirsch conjecture (poly20dim21 and poly23dim24) on a standard laptop not configured for stable benchmarking (an Apple M4 Pro with 24 GB of memory). It respectively takes 31 and 72 seconds. This is to be compared with more than one and two hours reported in [Allamigeon et al. 2023]. The size of the certificates also benefit from a major improvement. For instance, the certificate for poly20dim21 with our method only takes 67 MB vs more than 1.2 GB in [Allamigeon et al. 2023].
Table 2 reports the performance of the checker extracted to OCaml, with the same lrslib reference times. The loading time (parsing the binary certificate into memory) is reported separately. The last two columns give the time of the vertex-set certification alone (Conditions T1 to T6), and of
Table 2. Performance of the extracted checker, relative to the lrslib vertex enumeration time.
| Instance | lrslib(s) | checker | ||
|---|---|---|---|---|
| load (s) | vertices×lrslib | graph×lrslib | ||
| poly20dim21 | 10.90 | 0.26 | 0.16 | 0.19 |
| poly23dim24 | 15.14 | 0.51 | 0.18 | 0.24 |
| cube_20 | 55.33 | 6.61 | 0.58 | 0.76 |
| cube_21 | 118.86 | 13.69 | 0.58 | 0.76 |
| cube_22 | 254.51 | 28.20 | 0.58 | 0.76 |
| cross_8 | 11.27 | 0.08 | 0.03 | 0.03 |
| cross_9 | 207.63 | 0.62 | 0.02 | 0.02 |
| cross_10 | 4287.48 | 7.64 | 0.02 | 0.02 |
| cyclic_16_32 | 225.23 | 5.43 | 0.17 | 0.20 |
| cyclic_17_34 | 708.99 | 12.69 | 0.15 | 0.17 |
| cyclic_18_36 | 2535.86 | 40.09 | 0.13 | 0.16 |
| permutahedron_8 | 6.79 | 0.14 | 0.23 | 0.25 |
| permutahedron_9 | 126.67 | 1.33 | 0.22 | 0.23 |
| permutahedron_10 | 2958.84 | 15.69 | 0.19 | 0.19 |
| hypersimplex_19 | 95.54 | 4.37 | 0.23 | 0.46 |
| hypersimplex_20 | 217.99 | 9.33 | 0.22 | 0.45 |
| hypersimplex_21 | 466.56 | 19.63 | 0.23 | 0.47 |
| birkhoff_5 | 0.61 | 0.02 | 0.16 | 0.21 |
| birkhoff_6 | 69.72 | 1.51 | 0.15 | 0.20 |
the vertex-edge graph certification (Conditions T1 to T7), loading included in both. The vertex-set certification is faster than the enumeration on every instance, by a factor ranging from 1.7 on the cubes to 50 on the cross-polytopes. The latter instances constitute extreme test cases, since, for the -dimensional cross-polytope, the number of facets in the abstract simplicial complex (or equivalently, the number of lex-feasible bases) equals , which is exponentially larger than the number of vertices. The speedup over lrslib illustrates the computational savings allowed by the combinatorial criterion of Theorem 4 over a purely numerical computation of lex-feasible bases in such a setting.
Finally, regarding the performance of the graph certification, the full check remains faster than the enumeration (by a factor of 1.25 in the worst case).
6 Conclusion and Future Work
We have presented a new method for certifying vertex sets and vertex-edge graphs of polyhedra. It is based on an odd-covering criterion which relaxes the conditions required to certify a triangulation of the normal fan. We have implemented the resulting checker in the proof assistant Rocq and formally proved its correctness up to two ingredients: the odd-covering criterion and the correctness argument underlying to vertex-edge graph certification. For both, we provide self-contained pen-and-paper proofs in this paper, leaving their formalization for future work. We have evaluated the method on several representative families of polyhedra, including ones involved in the disproof of the Hirsch conjecture. We have shown that our method outperforms the previous work of [Allamigeon et al. 2023] by several order of magnitudes, and that the OCaml version of the checker obtained by extraction from the implementation in Rocq is faster than the state-of-the-art library lrslib for vertex enumeration. These results show that formal guarantees for one of the most fundamental operations on polyhedra can now be obtained at only a modest additional cost compared to informal computation. The mathematical principles underlying our approach are not specific to Rocq, and could be used in other proof assistants.
This work opens several perspectives. First, we plan to extend the certification method to arbitrary polyhedra (taking into account vertices and extreme rays), and to address the converse V-to-H conversion problem. This does not require any fundamentally new ideas. The treatment of general polyhedra can be done by that of pointed polyhedral cones and their extreme rays, which is equivalent to the vertex enumeration of polytopes (by compactification). Similarly, the V-to-H conversion is simply the dual counterpart of the H-to-V problem considered here, as outlined in Remark 3.
On the formalization side, we would like to substitute the current refinement proof relating the high-level and low-level checkers (generated with the assistance of AI) by a proof obtained using dedicated tools for refinements, such as the one described in [Cohen et al. 2024]. The implementation could also benefit from a tighter integration between lrslib and the certificate checker. The computations done within lrslib could be indeed directly used to produce a substantial part of the certificate. Besides, an improvement of the pipeline between lrslib and the checker could remove a part of the time currently taken by the generation and loading of binary certificate files.
From a theoretical perspective, we would also like to replace Condition T7 on edges by a criterion based on flags. Given the possibly large number of edges, this requires identifying a compact representation in which flags are shared.
Acknowledgments
Part of this work was done while the second author was at Inria and CMAP, Ecole polytechnique. The first author thanks Frédéric Meunier for many helpful discussions and valuable pointers on simplicial homology.
References
Andrei Aleksandrov, Malte Jackisch, and Kim Völlinger. 2026. The Rocq-NN-Roll Prover: Soundly Verifying Hyperproperties of Neural Networks in Rocq. In Computer Aided Verification (Lecture Notes in Computer Science,
More realistically, cross-polytopes should be handled via the polar-based approach described in Remark 3, which would allow to scale to larger dimensions like for cubes (the polar of the d-dimensional cross-polytope is the d-cube ).
Vol. 16683), Eva Darulova, Anthony W. Lin, and Philipp Rümmer (Eds.). Springer Nature Switzerland, 480–503. https://doi.org/10.1007/978-3-032-32526-6_23
Xavier Allamigeon, Quentin Canu, and Pierre-Yves Strub. 2023. A Formal Disproof of Hirsch Conjecture. In Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2023). ACM, 17–29. https://doi.org/10.1145/3573105.3575678
Xavier Allamigeon, Ricardo D. Katz, and Pierre-Yves Strub. 2022. Formalizing the Face Lattice of Polyhedra. Logical Methods in Computer Science 18, 2 (2022), 10:1–10:23. https://doi.org/10.46298/lmcs-18(2:10)2022
David Avis. 2000. A Revised Implementation of the Reverse Search Vertex Enumeration Algorithm. In Polytopes—Combinatorics and Computation. DMV Seminar, Vol. 29. Birkhäuser, 177–198.
David Avis and Komei Fukuda. 1992. A Pivoting Algorithm for Convex Hulls and Vertex Enumeration of Arrangements and Polyhedra. Discrete & Computational Geometry 8, 3 (1992), 295–313. https://doi.org/10.1007/BF02293050
David Avis and Charles Jordan. 2018. mplrs: A Scalable Parallel Vertex/Facet Enumeration Code. Mathematical Programming Computation 10, 2 (2018), 267–302. https://doi.org/10.1007/s12532-017-0129-y
Roberto Bagnara, Patricia M. Hill, and Enea Zaffanella. 2008. 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 (2008), 3–21. https://doi.org/10.1016/j.scico.2007.08.001
Sylvain Boulmé, Alexandre Maréchal, David Monniaux, Michaël Périn, and Hang Yu. 2018. The Verified Polyhedron Library: An Overview. In 20th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing. IEEE, 9–17. https://doi.org/10.1109/SYNASC.2018.00014
Quentin Canu. 2025. Formalization of Efficient Polyhedral Computations. Ph. D. Dissertation. Université Paris-Saclay. https://theses.hal.science/tel-05495841v1
Cyril Cohen, Enzo Crance, and Assia Mahboubi. 2024. Trocq: Proof Transfer for Free, With or Without Univalence. In Programming Languages and Systems (Lecture Notes in Computer Science, Vol. 14576), Stephanie Weirich (Ed.). Springer, 239–268. https://doi.org/10.1007/978-3-031-57262-3_10
Patrick Cousot and Nicolas Halbwachs. 1978. Automatic Discovery of Linear Restraints Among Variables of a Program. In Proceedings of the 5th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages. 84–96.
Jesús A. De Loera, Jörg Rambau, and Francisco Santos. 2010. Triangulations: Structures for Algorithms and Applications. Algorithms and Computation in Mathematics, Vol. 25. Springer Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-12971-1
Nicola Guglielmi, Linda Laglia, and Vladimir Protasov. 2017. Polytope Lyapunov Functions for Stable and for Stabilizable LSS. Foundations of Computational Mathematics 17, 2 (2017), 567–623. https://doi.org/10.1007/s10208-015-9301-9
Allen Hatcher. 2002. Algebraic Topology. Cambridge University Press.
Michael Joswig and Günter M. Ziegler. 2004. Convex Hulls, Oracles, and Homology. Journal of Symbolic Computation 38, 4 (2004), 1247–1259. https://doi.org/10.1016/j.jsc.2003.08.006
Volker Kaibel and Marc E. Pfetsch. 2003. Some Algorithmic Problems in Polytope Theory. In Algebra, Geometry and Software Systems, Michael Joswig and Nobuki Takayama (Eds.). Springer, 23–47. https://doi.org/10.1007/978-3-662-05148-1_2
Alexandre Maréchal, David Monniaux, and Michaël Périn. 2017. Scalable Minimizing-Operators on Polyhedra via Parametric Linear Programming. In Static Analysis (Lecture Notes in Computer Science, Vol. 10422), Francesco Ranzato (Ed.). Springer International Publishing, Cham, 212–231. https://doi.org/10.1007/978-3-319-66706-5_11
Benjamin Matschke, Francisco Santos, and Christophe Weibel. 2015. The width of five-dimensional prismatoids. Proceedings of the London Mathematical Society 110, 3 (2015), 647–672. https://doi.org/10.1112/plms/pdu064
Theodore S. Motzkin, Howard Raiffa, Gerald L. Thompson, and Robert M. Thrall. 1953. The Double Description Method. In Contributions to the Theory of Games, Volume II, Harold W. Kuhn and Albert W. Tucker (Eds.). Annals of Mathematics Studies, Vol. 28. Princeton University Press, Princeton, NJ, 51–73.
Mark Niklas Müller, Gleb Makarchuk, Gagandeep Singh, Markus Püschel, and Martin T. Vechev. 2022. PRIMA: General and Precise Neural Network Certification via Scalable Convex Hull Approximations. Proceedings of the ACM on Programming Languages 6, POPL (2022), 1–33. https://doi.org/10.1145/3498704
James R. Munkres. 1984. Elements of Algebraic Topology. Addison-Wesley Publishing Company, Menlo Park, CA.
Vincent Pilaud. 2025. Pebble Trees. Canadian Journal of Mathematics (2025), 1–28. https://doi.org/10.4153/S0008414X25000094
R. Tyrrell Rockafellar. 1970. Convex Analysis. Princeton Mathematical Series, Vol. 28. Princeton University Press, Princeton, NJ.
Francisco Santos. 2012. A Counterexample to the Hirsch Conjecture. Annals of Mathematics 176, 1 (2012), 383–412. https://doi.org/10.4007/annals.2012.176.1.7
Alexander Schrijver. 1986. Theory of Linear and Integer Programming. John Wiley & Sons, Inc., New York, NY, USA.
Gagandeep Singh, Markus Püschel, and Martin Vechev. 2017. Fast Polyhedra Abstract Domain. In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages (POPL '17). Association for Computing Machinery, 46–59. https://doi.org/10.1145/3009837.3009885
Hoang-Dung Tran, Xiaodong Yang, Diego Manzanas Lopez, Patrick Musau, Luan Viet Nguyen, Weiming Xiang, Stanley Bak, and Taylor T. Johnson. 2020. NNV: The Neural Network Verification Tool for Deep Neural Networks and Learning-Enabled Cyber-Physical Systems. In Computer Aided Verification (Lecture Notes in Computer Science, Vol. 12224), Shuvendu K. Lahiri and Chao Wang (Eds.). Springer International Publishing, Cham, 3–17. https://doi.org/10.1007/978-3-030-53288-8_1
Günter M. Ziegler. 1995. Lectures on Polytopes. Graduate Texts in Mathematics, Vol. 152. Springer-Verlag, New York. https://doi.org/10.1007/978-1-4613-8431-1
A Properties of the Normal Fan
We review basic properties on normal cones used thereafter. To begin with, we recall that the relative interior relint Q of a polyhedron Q is defined as the interior relatively to its affine hull, and that
Moreover, we recall that a convex set has dimension if and only if it has nonempty interior [Rockafellar 1970].
Proposition 19. Suppose that is defined by the inequalities where and for all . Then, for all ,
Proof. The inclusion is a direct consequence of the fact that, for all , . For the symmetric inclusion, take . By Strong Duality Theorem (that we can apply is nonempty), there exists such that , and, by the complementary slackness conditions, or for all . We deduce that for all , which completes the proof.
Normal cones apply more generally to faces of . Given a nonempty face of , we set where is an arbitrary point of relint . This definition is valid since the set is constant over . We analogously set for .
Proposition 20. (i) For each face Q of P, .
(ii) If are two nonempty faces of such that , then is a face .
(iii) If be a nonempty face of , and , the set of maximizers of the linear function over is precisely the face .
Proof. (i) This is a consequence of the fact that (see [Schrijver 1986, Chapter 8])
(ii) We have . As the normal cones form a fan, must be a face of .
(iii) Let be the face formed by the maximizers of the linear function over . As , we have . Suppose that , so that [Ziegler 1995, Theorem 2.7]. Then is a proper face of , and thus is a proper face of by (i) and (ii). Thus, , which contradicts the fact that .
Corollary 21. For every nonempty face Q of P and , unless .
Proof. Let . Then belongs to the set of maximizers of over , which is exactly the face by Proposition 20(iii).
In the next statement, we recall that the recession cone of P is the cone defined as
where is an arbitrary element of P. The polar cone of rec P is defined as
Equivalently, consists of the vectors such that the supremum of over is finite.
Proposition 22. The support of the normal fan of P, i.e., the union of all normal cones, is the polar cone of the recession cone of P. In particular, it is equal to if and only if P is a polytope.
Proof of Proposition 1. Suppose that is a polytope and . By Proposition 20(ii), the normal cones for are maximal inclusionwise (among all normal cones), so that the support of the normal fan is the union of these cones. We deduce from Proposition 22 and that .
Conversely, suppose that . By Proposition 22, is a polytope. Let , and take . Let such that . Then , which implies by Corollary 21. We conclude that .
B Odd-Covering Criterion: Extra Statements and Proofs
Given an abstract simplicial complex K, we denote by the simplices of K of dimension p. In the case of a pure -dimensional abstract simplicial complex, represents the set of faces, and the set of ridges.
Lemma 23. Let such that . Then, the -dimensional faces of are precisely the cones such that and . Moreover, .
Proof. The first part is a consequence of the fact that is a simplicial cone. By (2), the boundary of is the union of its facets, which are precisely the cones for .
Lemma 24. The set of d-generic vectors is open dense.
Proof. For every satisfying , the complement set is an open dense set. The set of -generic vectors is the intersection of these complement sets.
Lemma 25. Let be a generic path. Then belongs to a -dimensional cone ( ) only at finitely many values of .
Proof. The set , , is discrete, as each of its points is isolated by the transversality property. Moreover, it is closed (as the are closed and is continuous). Thus, as a discrete compact set, it is finite.
Lemma 26. Given two -generic vectors and , a linear path is generic as soon as:
-
for all such that ;
-
for all such that .
Proof. First, let such that . By Condition 1, we have for all , since . Thus, for all , . As is a cone and (recall that is -generic), we deduce that for all .
Second, let such that . Suppose that the path intersects . As a linear path, the tangential direction is the same at any point of the path and equal to , and the intersection is transversal if and only if , which is exactly Condition 2.
Lemma 27. Let such that is a pointed cone of dimension less than , and a -generic point in . Then, there are precisely two cones for containing .
Proof. We must have as is -generic and by assumption. By Carathéodory Theorem, there exists such that and . Thus, , and (as is -generic). Let be unique element of such that . As , we have , thus there exist scalars ( ) such that . As and is pointed, there exists at least one such that . Let ( ) such that . Then, for all , we have
Taking and , we deduce that for . Hence, and .
Conversely, let such that and . We must have since otherwise, while . Let such that . We have (otherwise, which is impossible as is -generic). As the scalars are uniquely defined (since ), the relation (3) holds for . We deduce that there exists such that . Hence, . In the case where , we would obtain that , which is impossible by the -genericity of . We conclude that and .
Proof of Theorem 4. Let be a d-generic vector. Let (resp. ) be the set of such that (resp. ) belongs to (or, equivalently, , as both vectors are generic).
We note that the conditions of Lemma 26 can be fulfilled for up to perturbing the vector (since the set of vectors satisfying the conditions is dense). On top of making the linear path generic, such a perturbation preserves the -genericity of (Lemma 24), leaves the set unchanged (since is an open set containing , and any point in it belongs to precisely the cones for ).
We set . Let such that is -generic, and such that and is -generic over and . Then is constant over and . Indeed, over these intervals, only meet -dimensional cones (as is -generic), and it cannot meet their boundaries, since the latter are included in the set (Lemma 23) and for all .
Let us show that and have the same parity. To this purpose, we set . We claim that
Indeed, implies that (as is -generic) and , so that, by Lemma 23, for some . Conversely, let and such that and . Firstly, as is a simplicial cone, is a facet of . Secondly, as is -generic (owing to (2)). Thirdly, the path transversally crosses at . As a consequence, when grows from to , either leaves or enters the cone at . We deduce that .
The union in (4) is disjoint. Indeed, for all such that , we cannot have for two distinct , since by the simpliciality of , and is a face of dimension less than while is -generic. Thus, we obtain that
by Condition 1
by Lemma 27 and Condition 3.
The previous argument shows that and have the same parity. Moreover, and . Consequently, as is odd (Condition 2), so is .
Lemma 28. Let and . The inclusion map from to is an isomorphism.
Proof. We recall the following exact sequence
See [Hatcher 2002, p. 115]. The homology group is trivial as is contractible. This shows that the second inclusion map is injective. The last inclusion is an isomorphism (if , the two groups are trivial, while if , both are isomorphic ). We deduce that the third map is trivial, which ensures that the second map is surjective.
Lemma 29. Suppose . Let be a facet of K, and y be a d-generic point of . Then is a local cycle (w.r.t. y), and if and only if .
Proof. We recall that is the spherical polytope . Moreover, , and by Lemma 23. As is -generic, , and so . We deduce that
. Thus, is a local cycle w.r.t. y.
By genericity of , either or . In the first case, is a chain of and so . In the second case, is homeomorphic to a -simplex. The inclusion maps then induce the following isomorphisms:
where the first one follows from the fact that is a retract of , and the second one from the Excision Theorem (see [Hatcher 2002, Th. 2.20] with , and ). All groups are isomorphic to (by Lemma 28), and the first one is generated by the class of . We deduce that is generated by .
C Certification Method: Extra Statements and Proofs
Proof of Lemma 6. The first part of the statement is immediate from Condition T1. The second part follows from the characterization of given in (1) and the fact that .
Proof of Lemma 7. Let . By Lemma 6, we have . By Condition T2, we have , hence
by Lemma 6 again and the characterization (1).
When Condition T3 holds, for every and , we set to an arbitrary neighbor of satisfying and .
Lemma 30. Under Condition T3, each has exactly neighbors in , given by the for .
Proof. Let . We claim that the for are pairwise distinct. By contradiction, suppose that for some , . As , we get that . Thus, , which leads to since both sets have cardinality , a contradiction.
We deduce that has at least pairwise distinct neighbors ( ). As the degree of in is at most , the are precisely the neighbors of .
Lemma 31. The graph G is simple.
Proof. The graph G has no loop as, for all , its neighbors are the for (Lemma 30), and . Moreover, given , there are no multiple edges incident to as has exactly neighbors (Lemma 30) and degree at most .
Proof of Proposition 8. We label every edge of G between and by the set .
Let , and . We claim that is precisely the set of vertices of the edges of labeled by . Indeed, let and such that . We have . Thus, (as , and has cardinality since ), so the edge between and is labeled by . Conversely, if an edge between and of is labeled by , then, by definition of the labels, , thus , and, subsequently, , . This proves the claim.
We now claim that the edges labeled by form a matching, i.e., a set of edges whose vertices are pairwise disjoint. Indeed, by Lemma 30, every vertex in is incident to precisely edges labeled by for . Thus, two edges labeled by a ridge cannot intersect (recall that there are no multiple edges by Lemma 31).
As a consequence, S has even cardinality, as the set of the vertices of a matching.
Proof of Proposition 9. By Condition T4, setting , the matrix is a diagonal matrix with positive diagonal entries. Thus, the family of vectors for has rank . Consequently, is a -dimensional (simplicial) cone. This implies that has dimension (as it contains by Lemma 7), and thus is a vertex of (Proposition 20(i)).
The vector obviously belongs to ; in fact, it belongs to its interior, as a positive combination of all for , and thanks to the fact that these form a family of rank . Second, let , . We first deal with the case where . In this case, we have for all , thanks to Condition T5. In contrast, for all (as a consequence of Condition T4), and, since (Condition T5 again), we get that . Thus, . It remains to consider the case where . Recall that (Lemma 7), and as (Corollary 21). We deduce that .
Finally, we argue that is a -generic vector. To this purpose, it suffices to prove that is the only cone for containing (since is -dimensional). By contradiction, let , . If for some , then as and by the previous argument. Suppose now that . As is a -dimensional simplicial cone, the cone is a face of of dimension less than , and thus it is included in the boundary of . However, , hence .
Lemma 32. Suppose that is full-dimensional polyhedron. For every point , the cone is pointed.
Proof. Suppose that is not pointed, and take . Set . Then, for all , and . Thus, is contained in the hyperplane
, and thus, its dimension is less than .
Proof of Theorem 10. Condition 1 of Theorem 4 holds thanks to Proposition 8, and Condition 2 thanks to Proposition 9. As the polyhedron has dimension , is pointed for all (Lemma 32). Thus, for all , is a pointed cone, as a subset of (Lemma 7). We deduce that Condition 3 holds.
We can now apply Corollary 5, and we get that . Since for all and (Lemma 7), we deduce that . This proves that by Proposition 1, and that is a polytope.
Proof of Proposition 11. We first note that by Condition T1, the points all belong to and and for all (Lemma 6).
We claim that the product M of matrices
is an upper triangular matrix with positive diagonal entries. Indeed, for all , as and . Similarly, if , as . We deduce that has rank , and so has the matrix . This ensures that vectors are linearly independent. As and , we deduce that is a vertex of . Similarly, we get that the matrix has rank . As , we conclude (see the characterization of discussed in Section 2).
In the sequel, we suppose that Conditions T1 to T6 are met. Recall that K is the (pure -dimensional) abstract simplicial complex generated by the elements of F. In the following, given , we denote the (mod-2) chain of facets F associated with v via the mapping . Recall that its boundary is .
Lemma 33. Let v be a vertex of P. Every -generic vector x in the relative interior of a facet of satisfies for an odd number of .
Proof. Let be a -generic vector in the relative interior of a facet of . As a face of , is the normal cone of some face of , and this face have dimension 1 (Proposition 20(i)). Since is a polytope (by Theorem 10), the edge is a line segment between and an (adjacent) vertex of . In consequence, .
We build a generic path from int and int passing through as follows. The path is linear and directed along vector that we choose to be “generic”, in the sense that it is not parallel to any cone () of dimension , and not parallel to (such a choice is possible as these conditions define the complement set of a finite union of hyperplanes of ). Given , the vectors and are -generic vectors lying respectively in int and int , up to assuming that is small enough and changing into . Moreover, up to taking smaller, the line segments and do not meet any cone () of dimension less than . In this way, the only element of the path which is not -generic is the vector , and the latter is -generic as required. On top of that, the intersection with any cone () of dimension is transversal, owing to the genericity of the direction vector . We deduce that is a generic path from to passing through .
Since Conditions T1 to T5 are satisfied, the hypotheses of Theorem 4 hold, as shown in the proof of Theorem 10. Thus, we can proceed as in the proof of Theorem 4, and we introduce . As shown there, we have
where . We claim that and , so that both sets are disjoint. Indeed, let . Then, , and thus , which implies by Corollary 21. Symmetrically, we can show .
We deduce that
As shown in the proof of Theorem 4, the union in (5), and subsequently in (6), is disjoint. We deduce that
as the union in (6) is disjoint,
by Lemma 27
and the pointedness of the ,
= 1 mod 2 by Theorem 4 and the d-genericity of z. □
Lemma 34. Let . For all , there is a pair of facets adjacent in such that .
Proof. We proceed analogously to the proof of Proposition 8 and label every edge of between and by .
Let and . As shown in the proof of Proposition 8, the set is precisely the set of vertices of the edges of labeled by . Thus, the set is precisely the set of the vertices of the edges of labeled by that belong to . Moreover, the set of edges labeled by in form a matching, as shown in the proof of Proposition 8. Let be the submatching formed by the edges incident to . If the vertices of all belong to , then coincides with the vertices of . Thus, has even cardinality, and .
Proof of Theorem 13. We already know that by Theorem 12. We claim that . Let be a vertex of , and such that is the unique maximizer of the linear map over . As shown in the proof of Theorem 10, . Let and such that . As (Lemma 7) and for all , , we deduce that . Thus, .
Now, let be two adjacent vertices in . The normal cone of is a facet of the normal cone of (Proposition 20). Let be a -generic vector (the existence of is guaranteed because the dimension of is ). By Lemma 33, we deduce that there exists such that . By Lemma 34, there is a pair of facets adjacent in such that . Let . By definition, and are adjacent in the graph . We observe that since (Lemma 7). Thus, contains , which implies that belongs to the edge (Corollary 21). As, by Theorem 12, is a vertex of , it is a vertex of the edge . Thus, . We cannot have as . We deduce that . As a result, and are adjacent in .
Proof of Theorem 14. Throughout the proof, we use the fact that for all (as a consequence of Lemma 6).
Let be a vertex of . By Theorem 13, we already know that all vertices of adjacent to in are also adjacent to in . Conversely, let be a point of adjacent to in . Let be the minimal face of containing the line segment . The point is a vertex of (since it is a vertex of contained in ). Since is not reduced to (we have ), we can consider an edge of incident to . The point is a vertex of , and is also an edge of (faces of are faces of ). Moreover, by Theorem 13, is adjacent to in . Note that , as is the minimal face the segment and the set of inequalities activated by all points of is . As contains the edge , we have . Thus, . By Condition T7, we deduce that . We conclude that is a vertex of adjacent to .
Proof of Proposition 15. By abuse of notation, given a point of , we denote by , the set of active inequalities at in the inequality system defining .
Let be a vertex of . The vectors for are linearly independent vectors. Thus, the normal cone is a simplicial cone. This proves that the normal fan of is a simplicial fan.
In order to prove the refinement property, it suffices to prove to consider maximal cones in the normal fan of , i.e., normal cones of vertices of . Let be a vertex of . As explained earlier, there is a vertex of such that . By the characterization (1) applied to and , we deduce that the normal cone of (w.r.t. ) is given by cone , while that of (w.r.t. ) by cone . We deduce that the former is included in the latter.
Proof of Proposition 16. Conditions T1 and T2 trivially hold by construction. As shown in [Allamigeon et al. 2023], the graph G is d-regular, i.e., every lex-feasible basis has precisely d neighbors in the adjacency graph G. Let I be a lex-feasible basis, and . The fact that there exists an adjacent lex-feasible basis such that can be shown constructively by applying one pivot step the simplex method from the basis I of the perturbed polytope ; see [Schrijver 1986, Chapter 11]. This proves Condition T3.
Proof of Proposition 17. Condition T4 has already been discussed, so we focus on Condition T5. First, as belongs to , we have . This ensures that . Let be the vertex of corresponding to the lex-feasible basis . For all , we have , and so
Let . We get as and belongs to . Finally, if , we would have , which would imply (as the are linearly independent). This is impossible because lex-feasible bases are not degenerate [Avis 2000].
D Description of the Instances
The instances used for the experiments are the following:
-
the n-Birkhoff polytope (instance birkhoff_n) is the polytope of doubly stochastic matrices. More precisely, it is the set of points such that for every and for every . Its dimension is , and its vertices are precisely the permutation matrices.
-
the -dimensional cross-polytope (instance cross_d) is the convex hull of the points , where denotes the canonical basis of . Equivalently, this is the unit ball for norm . It is defined by the inequalities . It has dimension and vertices.
-
the -dimensional cube (instance cube_d) is the polytope . It has dimension and vertices, corresponding to the vectors of .
-
the -dual cyclic polytope (instance cyclic_d_n) is defined by means of the moment curve . This is a -dimensional polytope given by inequalities where are fixed parameters, and . The -dual cyclic polytope is known to maximize the number of vertices among -dimensional polytopes with facets. Here, we focus on the case where , where the number of vertices grows exponentially in .
-
the -hypersimplex is defined as the set of points satisfying . For , it has dimension , and its vertices are the vectors of having exactly nonzero coordinates. The instance hypersimplex_d stands for the -hypersimplex with and .
-
the permutahedron of order (instance permutahedron_n) is the convex hull of all permutations of the vector . It lies in the affine hyperplane , and therefore has dimension . Its vertices are precisely the permutations of .
-
the instances poly20dim21 and poly23dim24 are the two counterexamples to the Hirsch conjecture from [Matschke et al. 2015]. They are respectively 20- and 23-dimensional polytopes defined by 40 and 46 inequalities involving very large rationals.