The number of realizations of a Laman graph
Jose Capco, Matteo Gallet, Georg Grasegger, Christoph Koutschan, Niels, Lubbes, Josef Schicho

TL;DR
This paper develops a recursive algebraic and tropical geometric method to count the number of complex realizations of Laman graphs, which model rigid planar frameworks, up to isometries.
Contribution
It introduces a novel recursive formula for counting complex solutions of the distance systems defining Laman graphs using algebraic and tropical geometry techniques.
Findings
Provides a recursive formula for the number of realizations
Connects algebraic and tropical geometry methods
Advances understanding of Laman graph realizations
Abstract
Laman graphs model planar frameworks that are rigid for a general choice of distances between the vertices. There are finitely many ways, up to isometries, to realize a Laman graph in the plane. Such realizations can be seen as solutions of systems of quadratic equations prescribing the distances between pairs of points. Using ideas from algebraic and tropical geometry, we provide a recursive formula for the number of complex solutions of such systems.
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| # | 1 | 1 | 1 | 3 | 13 | 70 | 608 | 7222 | 110132 | 2039273 | 44176717 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
|---|---|---|---|---|---|---|---|
| min | 16 | 32 | 164 | 128 | 256 | 2512 | 1024 |
| max | 24 | 56 | 136 | 344 | 880 | 2288 | 6180 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
The number of realizations of a Laman graph
Jose Capco*†,∗*
,
Matteo Gallet*∗,∘*
,
Georg Grasegger
,
Christoph Koutschan*∗,‡*
,
Niels Lubbes*∘*
and
Josef Schicho*∗,∘*
Research Institute for Symbolic Computation (RISC), Johannes Kepler University
{jcapco, jschicho}@risc.jku.at
Johann Radon Institute for Computational and Applied Mathematics (RICAM), Austrian Academy of Sciences
[{matteo.gallet, georg.grasseger,
mmmmmmmmmmmmmmmmm christoph.koutschan, niels.lubbes}@ricam.oeaw.ac.at](mailto:%7Bmatteo.gallet,%20georg.grasseger,%0A)
Abstract.
Laman graphs model planar frameworks that are rigid for a general choice of distances between the vertices. There are finitely many ways, up to isometries, to realize a Laman graph in the plane. Such realizations can be seen as solutions of systems of quadratic equations prescribing the distances between pairs of points. Using ideas from algebraic and tropical geometry, we provide a recursive formula for the number of complex solutions of such systems.
Key words and phrases:
Laman graph, Minimally rigid graph, Tropical geometry, Euclidean embedding, Puiseux series, Graph realization, Graph embedding
The final version of this paper will appear in SIAM Journal on Applied Algebra and Geometry (SIAGA). A short summary of this paper previously appeared in the conference proceedings [CGG*+*17].
† Supported by the Austrian Science Fund (FWF): P28349
∗ Supported by the Austrian Science Fund (FWF): W1214-N15, Project DK9
∘ Supported by the Austrian Science Fund (FWF): P26607
Supported by the Austrian Science Fund (FWF): F5011-N15
Introduction
For a graph with edges , we consider the set of all its realizations in the plane, such that the lengths of the edges coincide with some prescribed edge labeling . Edges and vertices are allowed to overlap in such a realization. For example, suppose that is the complete graph on four vertices minus one edge. Figure 1 shows all possible realizations of up to rotations and translations, for a particular given edge labeling.
We say that a property holds for a general edge labeling if it holds for all edge labelings belonging to the complement of a proper algebraic subset of the set of all edge labelings. In this paper we address the following problem:
For a given graph, determine the number of realizations, up to rotations and translations, for a general edge labeling.
The realizations of a graph can be considered as structures in the plane, which are comprised of rods connected by rotational joints. If a graph with an edge labeling admits infinitely (finitely) many realizations up to rotations and translations, then the corresponding planar structure is flexible (rigid), see Figure 2.
Historical notes
The study of rigid structures, also called frameworks, was originally motivated by mechanics and architecture, and goes back as early as the 19th century to the works of James Clerk Maxwell, August Ritter, Karl Culmann, Luigi Cremona, August Föppl, and Lebrecht Henneberg. Nowadays, there is still a considerable interest in rigidity theory [GSS93, Con93] due to various applications in natural science and engineering; for an exemplary overview, see the conference proceedings “Rigidity Theory and Applications” [TD02]. Let us just highlight three application areas that are covered there: In materials science the rigidity of crystals, non-crystalline solids, glasses, silicates, etc. is studied; among the numerous publications in this area we can mention [BS13, JH97]. In biotechnology one is interested in possible conformations of proteins and cyclic molecules [JRKT01], in particular to the enumeration of such conformations [LML*+*14, EM99]. In robotics, one aims at computing the configurations of mechanisms, such as 6R chains or Stewart-Gough platforms. For the former, the 16 solutions of the inverse kinematic problem have been found by using very elegant arguments from algebraic geometry [Sel05, Section 11.5.1]. For the latter, the 40 complex assembly modes have been determined by algebraic geometry [RV95] or by computer algebra [FL95]; Dietmaier [Die98] showed that there is also an assignment of the parameters such that all solutions are real. Recently, connections between rigidity theory and incidence problems have been established [Raz17].
Pollaczek-Geiringer’s and Laman’s characterization
A graph is called generically rigid (or isostatic) if a general edge labeling yields a rigid realization. No edge in a generically rigid graph can be removed without losing rigidity. This is why such graphs are also called minimally rigid in the literature. Note that the graph in Figure 2(c) is not generically rigid, while the one in Figure 2(b) is. Hilda Pollaczek-Geiringer [Pol27] characterized this property in terms of the number of edges and vertices of the graph and its subgraphs. The same characterization can be found in a paper of Gerard Laman [Lam70] more than 40 years later. Unfortunately, the results of Pollaczek-Geiringer have been unnoticed until recently. Nowadays, these objects are known as Laman graphs; since this terminology is well-known, we stick to it in this paper.
State of the art
All realizations of a Laman graph with an edge labeling can be recovered as the solution set of a system of algebraic equations, where the edge labels can be seen as parameters. Here, we are interested in the number of complex solutions of such a system, up to an equivalence relation coming from direct planar isometries; this number is the same for any general choice of parameters, so we call it the Laman number of the graph. For some graphs up to vertices, this number has been computed using random values for the parameters [JO12] — this means that it is very likely, but not absolutely certain, that these computations give the true numbers. Upper and lower bounds on the maximal Laman number for graphs with up to vertices were found by analyzing the Newton polytopes of the equations and their mixed volumes [ETV09] using techniques from [ST10]. It has been proven [BS04] that the Laman number of a Laman graph with vertices is at most .
Our contribution
Our main result is a combinatorial algorithm that computes the number of complex realizations of any given Laman graph. This is much more efficient than just solving the corresponding nonlinear system of equations.
We found it convenient to see systems of equations related to Laman graphs as special cases of a slightly more general type of systems, determined by bigraphs. Roughly stated, a bigraph is a pair of graphs whose edges are in bijection. Every graph can be turned into a bigraph by duplication and it is possible to extend the notion of Laman number also to bigraphs. The majority of these newly introduced systems do not have geometric significance: they are merely introduced to have a suitable structure to set up a recursive strategy. Our main result (Theorem 4.7) is a recursive formula expressing the Laman number of a bigraph in terms of Laman numbers of smaller bigraphs. Using this formula we succeeded in computing the exact Laman numbers of graphs with up to vertices — a task that was absolutely out of reach with the previously known methods.
The idea for proving the recursive formula is inspired by tropical geometry (see [MS15] or [Stu02, Chapter 9]): we consider the system of equations over the field of Puiseux series, and the inspection of the valuations of the possible solutions allows us to endow every bigraph with some combinatorial data that prescribes how the recursion should proceed. This gives, therefore, a recursive formula for the right hand side of Corollary 3.6.16 in [MS15] in our particular case. Notice that the Laman number of a graph can be understood as the base degree (as defined at the end of Section of [Ros14]) of the algebraic matroid associated to the variety parametrized by the square distances of the pairs of points prescribed by the edges of the Laman graph.
Structure of the paper
Section 1 contains the statement of the problem and a proof of the equivalence of generic rigidity and Laman’s condition in our setting. This section is meant for a general mathematical audience and requires almost no prerequisite. Section 2 analyzes the system of equations defined by a bigraph, and Section 3 provides a general formulation for a recursive formula for the number of solutions of the system. Here, we employ some standard techniques in algebraic geometry, so the reader should be acquainted with the basic concepts in this area. In Section 4, we specialize the general result provided at the end of Section 3 and we give a recursive formula for the Laman number. It leads to an algorithm that is employed in Section 5 to derive some new results on the number of realizations of Laman graphs. These last two sections are again meant for a general audience, and they require only the knowledge of the objects and the results in Sections 2 and 3, but not of the proof techniques used there. For a condensed and streamlined version of this paper, we refer to the extended abstract [CGG*+*17].
Acknowledgments
We thank Jan Peter Schäfermeyer for making us aware of the work by Hilda Pollaczek-Geiringer. We are grateful for the careful proofreading of the two anonymous referees, and for their encouraging and constructive suggestions. We also thank Bill Jackson for his careful reading resulting in an improvement of some technical aspects.
1. Laman graphs
In this section, by a graph we mean a finite, connected, undirected graph without self-loops or multiple edges. We write to denote a graph with set of vertices and set of edges . An (unoriented) edge between vertices and is denoted by .
Definition 1.1**.**
A labeling of a graph is a function ; the pair is called a labeled graph. A realization of is a function . We say that a realization is compatible with a labeling if for each edge the Euclidean distance between its endpoints agrees with its label:
[TABLE]
A labeled graph is realizable if and only if there is a realization compatible with .
Definition 1.2**.**
We say that two realizations and of a graph are equivalent if and only if there exists a direct Euclidean isometry of such that ; a direct Euclidean isometry is an affine-linear map that preserves distance and orientation in .
Definition 1.3**.**
A labeled graph is called rigid if it satisfies the following properties:
is realizable;
there are only finitely many realizations compatible with , up to equivalence.
Our main interest is to count the number of realizations of generically rigid graphs, namely graphs for which almost all realizable labelings induce rigidity. Unfortunately, in the real setting, this number is not well-defined, since it may depend on the actual labeling and not only on the graph. In order to define a number that depends only on the graph, we switch to the complex setting. By this we mean that we allow complex labelings and complex realizations . In this case, the compatibility condition Equation 1 becomes
[TABLE]
where . Moreover, we consider “direct complex isometries”, namely maps
[TABLE]
where is an orthogonal matrix with determinant . Here, the word “isometries” is an abuse of language, since in this case is not an inner product. Notice that if we are given a labeling for a graph and two realizations of into that are not equivalent under real direct isometries, then they are also not equivalent under complex isometries. This means that counting the number of non-equivalent realizations in delivers an upper bound for the number of non-equivalent realizations in .
Terminology**.**
Given a graph , the set of possible labelings forms a vector space, that we denote by . In this way we are able to address the components of a vector in by edges , namely by writing . Since is a vector space, it is meaningful to speak about properties holding for a general labeling: a property holds for a general labeling if the set
[TABLE]
is contained in a proper algebraic subset of , i.e. a subset strictly contained in and defined by polynomial equations.
Definition 1.4**.**
A graph is called generically realizable if for a general labeling the labeled graph is realizable. A graph is called generically rigid if for a general labeling the labeled graph is rigid.
Remark 1.5**.**
If a graph is generically realizable, then every subgraph of is generically realizable. Every general labeling for can be extended to a general labeling for . Since by hypothesis has a compatible realization, the subgraph admits such a realization as well.
Definition 1.6**.**
A Laman graph is a graph such that , and for every subgraph it holds .
We are going to see (Theorem 1.8) that Laman graphs are exactly the generically rigid ones. Many different characterizations of this property have appeared in the literature, for example by construction steps [Hen03] (see Theorem 1.8), or in terms of spanning trees after doubling one edge [LY82] or after adding an edge [Rec84], or in terms of three trees such that each vertex of the graph is covered by two trees [Cra06]. These characterizations can be used for decision algorithms on the minimal rigidity of a given graph [Ber05, JH97, DK09, GHT10].
For any graph , there is a natural map from the set of its realizations to the set of its labelings:
[TABLE]
Each fiber of , i.e. a preimage of a single point , is invariant under the group of direct complex isometries. We define a subspace as follows: choose two distinguished vertices and with , and consider the linear subspace defined by the equations and . In this way, the subspace intersects every orbit of the action of isometries on a fiber of in exactly two points: in fact, the equations do not allow any further translation or rotation; however, for any labeling and for every realization in compatible with there exists another realization, obtained by multiplying the first one by , which is equivalent, but gives a different point in . The restriction of to gives the map
[TABLE]
The following statement follows from the construction of ; notice that the choice of and has no influence on the result. Recall that a map between algebraic sets is called dominant if is contained in an algebraic proper subset of .
Lemma 1.7**.**
A graph is generically rigid if and only if is dominant and a general fiber of is finite. This is equivalent to saying that is dominant and .
Proof.
It is enough to notice that if is dominant, then the dimension of the general fiber is . ∎
We state Laman’s theorem characterizing generically rigid graphs. A proof, which closely follows Laman’s original argument in his paper [Lam70], can be found in Appendix A. For our purposes, we need a result that implies the existence of only a finite number of complex realizations, while the original statement deals with the real setting and proves that a given realization does not admit infinitesimal deformations.
Theorem 1.8**.**
Let be a graph. Then the following three conditions are equivalent:
- (a)
* is a Laman graph;* 2. (b)
* is generically rigid;* 3. (c)
* can be constructed by iterating the two Henneberg rules (see Figures 3(a) and 3(b)), starting from the graph that consists of two vertices connected by an edge.*
Given a Laman graph, we are interested in the number of its realizations in that are compatible with a general labeling, up to equivalence. As we have already pointed out, the degree of the map (namely, the cardinality of a fiber over a general point ) is twice the number of realizations of compatible with a general labeling, up to equivalence. Lemma 1.7 and Theorem 1.8 imply that the map is dominant and its degree is finite.
We now construct a map whose degree is exactly the number of equivalence classes. For this purpose, we employ a different way than in to get rid of complex “translations” and “rotations”: first, for the translations, we take a quotient of vector spaces, which can be interpreted as setting as for , or alternatively as moving the barycenter of a realization to the origin; second, we use projective coordinates to address the rotations. More precisely, in order to study the system of equations
[TABLE]
which defines a realization of a Laman graph, we can regard the vectors and as elements of the space . In this way, we are allowed to add arbitrary constants to all components or to all components without changing the representative in the quotient; hence these vectors are invariant under translations. Moreover, if one performs the change of variables
[TABLE]
then the previous system of equations becomes
[TABLE]
and the action of a complex rotation turns into the multiplication of the -coordinates by a scalar in , and of the -coordinates by its inverse. Thus, by considering and as coordinates in two different projective spaces, the points we obtain are invariant under complex rotations. In order to employ these two strategies, we define
[TABLE]
and the map
[TABLE]
where denotes the point in determined by a vector in . Notice that the map is well-defined, because the quantities depend, up to scalars, only on the points , and not on the particular choice of representatives (and similarly for ). Note that may not be defined everywhere, which is conveyed by the notation .
Lemma 1.9**.**
For any Laman graph the equality holds.
Proof.
Recall that the degree is computed by counting the number of preimages of a general point in the codomain. Let therefore be a general labeling and let be the edge used to define , so in particular we can suppose . We show that there is a 2:1 map from to , where is the point defined by the values of as projective coordinates. The map is defined according to the change of variables Equation 2:
[TABLE]
In other words, we just take the coordinates of the embedded vertices as projective coordinates and make a complex coordinate transformation, namely one that diagonalizes the linear part of the isometries. The map is well-defined, since the quantities and are never all zero because of the definition of the map . For of the form q=\bigl{(}[(\widehat{x}_{v})_{v\in V}],[(\widehat{y}_{v})_{v\in V}]\bigr{)} and such that and , we choose coordinates such that , , and . This is possible because we can add a constant vector to any of or without changing the point in . When , every point in is of the form \bigl{(}(x_{v})_{v\in V},(y_{v})_{v\in V}\bigr{)}, where and (recall the definition of the map ). By definition of , we have that for all :
[TABLE]
for some constants . Thus, for , we get the equation , which in turn implies that every point in determines a realization of the form
[TABLE]
that must be compatible with . By construction, the constant must satisfy , since . There are exactly two such numbers , and this proves the statement. ∎
Corollary 1.10**.**
The number of realizations of a Laman graph, compatible with a general labeling and counted up to equivalence, is equal to the degree of the map .
2. Bigraphs and their equations
In this section we introduce the main concept of the paper, the one of bigraph. Bigraphs are pairs of graphs whose edges are in bijection. Every graph determines a bigraph by simply duplicating it and considering the natural bijection between the edges. It is possible to associate to any bigraph a rational map as we did with the map in Equation 3. The reason for this duplication is that, in order to set up a recursive formula for the degree of , we want to be able to handle independently the two factors and that appear in its specification. To do this, we have to allow disconnected graphs with multiple edges.
Notice that if we allow graphs with multiedges, then we have to give away the possibility to encode an edge via an unordered pair of vertices. Instead, we consider the sets and of vertices and edges, respectively, to be arbitrary sets, related by a function , where denotes the power set, assigning to each edge its corresponding vertices. The image of an element via can be either a set of cardinality two, when connects two distinct vertices, or a singleton, when is a self-loop. This way of encoding graphs allows to use the same set for the edges of two graphs; this realizes formally the idea of prescribing a bijection between the edges of two graphs.
Definition 2.1**.**
A bigraph is a pair of finite undirected graphs — allowing several components, multiple edges and self-loops — where and . We denote by and the two maps assigning to each edge its vertices. The set is called the set of biedges. For technical reasons, we need to order the vertices of edges in or ; therefore, we assume that there is a total order given on the sets of vertices and . An example of a bigraph is provided in Figure 5.
Notice that a single graph can be turned into a bigraph by considering the pair , and by taking the set of biedges to be ; the total order is obtained by fixing any total order on and duplicating it. Next, we extend a weakened version of the Laman condition to bigraphs.
Definition 2.2**.**
For a graph we define the dimension of as
[TABLE]
Remark 2.3**.**
Since a Laman graph is connected by assumption, the condition can be rewritten as .
Definition 2.4**.**
Let be a bigraph with biedges , then we say that is pseudo-Laman if
[TABLE]
It follows from Remark 2.3 that for a Laman graph the bigraph is pseudo-Laman.
We introduce two operations that can be performed on a graph, starting from a subset of its edges: the subtraction of edges and the quotient by edges. We are going to use these constructions several times in our paper: subtraction is first used at the end of this section, while the quotient operation is mainly utilized starting from Section 3.
Definition 2.5**.**
Let be a graph, and let . We define two new graphs, denoted and , as follows. An example for the operations is provided in Figure 4.
Let be the subgraph of determined by . We define to be the graph obtained as follows. Its vertices are the equivalence classes of the vertices of modulo the relation dictating that two vertices and are equivalent if there exists a path in connecting them. Its edges are determined by edges in , more precisely an edge in such that defines an edge in the quotient connecting the equivalence classes of and if and only is not an edge of .
Let be the set of vertices of that are endpoints of some edge in . Define .
Via Definitions 2.6 and 2.7 we associate to each bigraph a rational map , as we did in Section 1 for graphs.
Definition 2.6**.**
Let be a bigraph, where and . We set
[TABLE]
where
[TABLE]
and are the standard coordinates of and similarly for .
Definition 2.7**.**
Let be a bigraph, where and . Define
[TABLE]
where , , and , , with and as in Definition 2.1. Here and in the rest of the paper, if is a self-loop say in , then the corresponding polynomial in the definition of is considered to be . As in Section 1, the square brackets denote points in or determined by vectors in or . As for the map , the map is well-defined because the quantities and depend only, up to scalars, on points in and , and not on the chosen representatives. We call the map the rational map associated to .
In Definition 2.7 we impose and in the equations defining the map . The reason for this is that we want , when is of the form , to coincide with defined at the end of Section 1. If we do not specify the order in which the vertices appear in the expressions and , we could end up with a map for which one component is of the form , and not as we would expect. As in Section 1, we are mainly interested in the degree of the rational map associated to a bigraph.
Definition 2.8**.**
Let be a bigraph. If is dominant, we define the Laman number of , , as , which can hence be either a positive number, or . Otherwise we set to zero.
Remark 2.9**.**
Notice that if is pseudo-Laman and , then .
If a bigraph has a self-loop or it is particularly simple, then its Laman number is zero or one, as shown by the following proposition.
Proposition 2.10**.**
Let be a bigraph.
If or has a self-loop, then .
If both and consist of a single edge that joins two vertices, then .
Proof.
If or has a self-loop, a direct inspection of the map shows that the defining polynomial corresponding to the self-loop is zero, hence cannot be dominant. If both and consist of a single edge that joins two vertices, then the map reduces to the map , which has degree . ∎
By simply unraveling the definitions, we see that the number of realizations of a Laman graph, up to equivalence, can be expressed as a Laman number.
Proposition 2.11**.**
Let be a Laman graph, then the Laman number of the bigraph — where biedges are the edges of — is equal to the number of different realizations compatible with a general labeling of , up to direct complex isometries.
Due to Proposition 2.11, the problem we want to address in this work is a special instance of the problem of computing the Laman number of a bigraph. Notice, however, that the Laman number of an arbitrary bigraph does not have an immediate geometric interpretation.
Remark 2.12**.**
Let be a bigraph with biedges such that and fix a biedge . Since is a rational dominant map between varieties over , there is a Zariski open subset such that the preimage of any point under consists of distinct points. In particular, we can suppose that is of the form with and a general point of .
In the following we find it useful to work in an affine setting: this is why in Definition 2.14 we introduce the sets . We are going to use the language of affine schemes, mainly to be able to manipulate the equations freely without being concerned about the reducedness of the ideal they generate. The reader not acquainted with scheme theory can harmlessly think about classical affine varieties, and indeed we are going to prove that the ideals we are concerned with are reduced. We first need to set some notation.
Definition 2.13**.**
Let be a bigraph, where and . Define
[TABLE]
Notice that the elements of and are ordered pairs (and this is conveyed also by the different notation used). In particular, from the definition we see that if , then also , and similarly for . Moreover, we require the two elements in each pair to be different, and this is crucial in view of Definition 3.6.
Definition 2.14**.**
Let be a bigraph with biedges without self-loops. Fix a biedge . For a general point in , we define as the subscheme of defined by
[TABLE]
where we take and as coordinates and where
[TABLE]
Here and in the following, when we write for a cycle in we mean the expression (and similarly for cycles in ). Notice that in cycles we allow repetitions of edges. In particular, if , one can always consider the cycle , which implies the relation . We drop the dependence of on and in the notation, since in the following it is clear from the context.
Example 2.15**.**
Consider the bigraph with set of biedges as in Figure 5, that consists of two copies of the only Laman graph with vertices. Fix the biedge to be the one associated to the two edges connecting and . If is a general point, then the scheme is defined by the following equations:
[TABLE]
Note that we did not include redundant equations coming from cycles such as .
In the following lemma we show that the sets can be used to compute the degree of .
Lemma 2.16**.**
Let be a bigraph with biedges without self-loops. Fix a biedge . Let be given by and for all . Then the schemes and are isomorphic. In particular, consists of distinct points.
Proof.
Write with and with . We define a morphism from to by sending a point
[TABLE]
to the point whose -coordinate is , where , for all , and whose -coordinate is , where , for all .
We define a morphism from to as follows. For every component of , fix a rooted spanning tree and denote its root by ; similarly for . We send a point \bigl{(}(x_{uv})_{(u,v)\in P},(y_{tw})_{(t,w)\in Q}\bigr{)}\in Z_{\mathbb{C}}^{B} to the point \bigl{(}[(x_{u})_{u\in V}],[(y_{t})_{t\in W}]\bigr{)}\in f^{-1}_{B}(p) such that if a vertex belongs to the connected component , then , where is the unique path in from to , and similarly for the vertices . A direct computation shows that both maps are well-defined, and are each other’s inverse. From this the statement follows. ∎
We conclude the section by proving a few results about the Laman number of a special kind of bigraph, that are used in Section 4 to obtain the final algorithm.
Definition 2.17**.**
Let be a graph and let be an edge of . We say that is a bridge if removing increases the number of connected components of .
Lemma 2.18**.**
Let be a pseudo-Laman bigraph with biedges without self-loops and fix . If is a bridge in both and , then .
Proof.
Suppose for a contradiction . Consider the equations defining . Since is a bridge in both and , the variables and , where and , do not appear in any of the equations defined by cycles in or in except for the equations and . Hence, the system of equations
[TABLE]
defines an affine scheme isomorphic to . One notices, however, that if is a point in , then for every also the point is in . This implies that has infinite cardinality, which contradicts the pseudo-Laman assumption on . ∎
Lemma 2.19**.**
Let be a pseudo-Laman bigraph with biedges without self-loops and fix . If is a bridge in , but not in , then
[TABLE]
Proof.
Consider another biedge and use it to define the scheme . Its equations are:
[TABLE]
Now consider the bigraph \widetilde{B}=\bigl{(}G\mathop{\backslash}\{\bar{e}\},H\mathop{\backslash}\{\bar{e}\}\bigr{)}. Notice that we can still use to define the scheme . Its equations are:
[TABLE]
We are going to prove that and are isomorphic, concluding the proof. Since is a bridge in , the coordinate appears in the equations of only in , and in . This means that the image of under the projection from the coordinates , , and coincides with . Moreover, the projection is an isomorphism on : in fact, the -coordinate can be recovered by a cycle condition (recall that is not a bridge in , so it appears in a cycle different from the trivial cycle ). Then the -coordinate can be recovered from the equation . ∎
Definition 2.20**.**
Let be a bigraph with biedges without self-loops and let be fixed. Suppose that the graph splits into disconnected subgraphs , and that splits into disconnected subgraphs , . Suppose further that decomposes into three disjoint subsets such that
[TABLE]
Under these assumptions we say that the bigraph untangles via into bigraphs
[TABLE]
See Figure 6(b) for an example of a bigraph that untangles via an edge (the gray vertical one).
Proposition 2.21**.**
Suppose that a bigraph with biedges without self-loops untangles via into bigraphs and , where is neither a bridge in nor in , then
[TABLE]
Proof.
We use the notation from Definition 2.20. The hypothesis implies that
[TABLE]
Set and . Fix a biedge and let . Similarly, fix a biedge and let . We consider the following three rational maps:
[TABLE]
One can check that these maps are birational. We define the rational map so that the following diagram is commutative:
[TABLE]
It follows that {\deg}{\left(f_{B}\right)}=\deg\bigl{(}\widehat{f}\bigr{)}. Denote by for , and denote by for . An explicit computation shows that sends a point
[TABLE]
to the point
[TABLE]
where and are some rational functions. From the explicit form of we see that \deg\bigl{(}\widehat{f}\bigr{)}=\deg\bigl{(}\widehat{f}_{1}\bigr{)}\cdot\deg\bigl{(}\widehat{f}_{2}\bigr{)}, where the map is given by
[TABLE]
and similarly for . Note that for both , the map is the restriction to a suitable open set of the map , since the rational maps and do not have any other influence than restricting the domain of the map. This means that \deg\bigl{(}\widehat{f}_{i}\bigr{)}={\deg}{\left(f_{B_{i}}\right)} for both , which concludes the proof. ∎
Lemma 2.22**.**
If a pseudo-Laman bigraph without self-loops untangles via into bigraphs and such that is a bridge in but not in , then .
Proof.
By Lemma 2.19, we know that \operatorname{Lam}(B)=\operatorname{Lam}\bigl{(}\widetilde{B}\bigr{)}, where \widetilde{B}=\bigl{(}G\mathop{\backslash}\{\bar{e}\},H\mathop{\backslash}\{\bar{e}\}\bigr{)}. It follows that is the disjoint union of and . Using the same technique adopted in Lemma 2.18 we see that if \operatorname{Lam}\bigl{(}\widetilde{B}\bigr{)} were positive, then we could scale the points in by arbitrary scalars , obtaining an infinite Laman number. This would contradict the pseudo-Laman hypothesis, so the statement is proved. ∎
Lemma 2.23**.**
If a pseudo-Laman bigraph without self-loops untangles via into bigraphs and , where is a bridge in , then either or is not pseudo-Laman.
Proof.
Suppose that both and are pseudo-Laman; we show that this leads to a contradiction. Using the hypothesis one sees that \dim\bigl{(}G_{1}^{\prime}\mathop{\backslash}\{\bar{e}\}\bigr{)}=\dim(G_{1}^{\prime})-1. Moreover, if is also a bridge, then \dim\bigl{(}H_{2}^{\prime}\mathop{\backslash}\{\bar{e}\}\bigr{)}=\dim(H_{2}^{\prime})-1, otherwise we have \dim\bigl{(}H_{2}^{\prime}\mathop{\backslash}\{\bar{e}\}\bigr{)}=\dim(H_{2}^{\prime}). Since and , the pseudo-Lamanity of and implies
[TABLE]
where and are the biedges of and , respectively (the inequality takes into account the fact that may or may not be a bridge). Since , the previous equation in turn implies
[TABLE]
contradicting the hypothesis that is pseudo-Laman. ∎
3. Bidistances and quotients
Tropical geometry is a technique that allows us to transform systems of polynomial equations into systems of piecewise linear equations. This is possible if one works over the field of Puiseux series. An algebraic relation between Puiseux series implies a piecewise linear relation between their orders (which are rational numbers). One hopes that the piecewise linear system is easier to solve; if so, one has candidates for the orders of solutions of the initial system, and sometimes this is enough to obtain the desired information. This technique has been successfully used, amongst others, by Mikhalkin [Mik05] to count the number of algebraic curves with some prescribed properties.
We use a similar idea for computing the Laman number of a pseudo-Laman bigraph. As we pointed out in the Introduction, this amounts to compute the base degree of the algebraic matroid associated to the variety parametrizing distances between pairs of points; however, we do not use the matroid formalism in our work. For each pseudo-Laman bigraph , we need to know the number of solutions of the system defining . This number coincides with the number of solutions of a “perturbed” system over the Puiseux field (Lemma 3.3). The orders of each solution of the new system satisfy piecewise linear conditions (Definition 3.6). We prove (Lemmas 3.18, 3.20 and 3.21) that the Puiseux series solutions sharing the same orders are in bijection with the complex solutions of another system of equations of a certain “quotient bigraph”. This yields a first recursive scheme (Theorem 3.23).
Notation**.**
Denote by the field of Puiseux series with coefficients in . Recall that is of characteristic zero and is algebraically closed. The field is equipped with a valuation associating to an element the rational number , where and . Recall that and .
Definition 3.1**.**
Let be a bigraph. Define to be the map obtained as the extension of scalars, via the natural inclusion , of the rational map associated to (see Definition 2.7). This means that, with the notation as in Definition 2.6, we define
[TABLE]
and then is given by the same equations as .
Remark 3.2**.**
By construction, is defined if and only if is defined, and in that case they coincide. In fact, is dominant if and only if is so. In this case, let be the open subset where is defined. Because is a dominant morphism between complex varieties, there exists an open subset such that the fiber of over any point of consists of distinct points. Since is the extension of scalars of , it follows that also the fiber of over any point in consists of distinct points. In fact, for every we have , where is the image of under the natural morphism . Hence the cardinality of is equal to the cardinality of and therefore .
The fact that the map is defined over , and not over , gives us a lot of freedom concerning the valuation of the general point whose fiber we consider. More precisely:
Lemma 3.3**.**
Let be a bigraph such that . Fix a vector \mathrm{wt}=\bigl{(}\mathrm{wt}(e)\bigr{)}_{e\in\mathcal{E}}\in\mathbb{Q}^{\mathcal{E}}. Then coincides with the cardinality of the fiber of over any point of the form p=\bigl{(}\lambda_{e}\thinspace s^{\mathrm{wt}(e)}\bigr{)}_{e\in\mathcal{E}}, where is a general point in .
Proof.
Consider the rational map , which is dominant by hypothesis. To prove the statement it is enough to show that a point satisfying the hypothesis lies in the set defined in Remark 3.2. Suppose by contradiction that . Since is Zariski open, it is defined by a disjunction of polynomial inequalities with coefficients in . Let be one of these inequalities: by assumption , but this implies that \tilde{g}\bigl{(}(\lambda_{e})_{e\in\mathcal{E}}\bigr{)}=0 for some non-zero polynomial over , contradicting the generality of . ∎
Let be a bigraph such that . Fix a vector \mathrm{wt}=\bigl{(}\mathrm{wt}(e)\bigr{)}_{e\in\mathcal{E}}\in\mathbb{Q}^{\mathcal{E}} and a biedge . Arguing as in Remark 2.12, we see that it is enough to consider fibers of over points of the form , while for a general point in . This is why we formulate the following assumption, which is used throughout this section.
Assumption**.**
Let be a pseudo-Laman bigraph with biedges such that . Notice that by Proposition 2.10 this implies that has no self-loops. Fix a biedge , fix and let be a general point in . Let be such that and for all biedges .
Remark 3.4**.**
Let be a bigraph with biedges and use Assumption. Following Lemma 2.16 one can prove that is isomorphic to
[TABLE]
where the notation is as in Definition 2.14.
Example 3.5**.**
We continue with Example 2.15: if we fix the vector to be , then the scheme is defined by the equations
[TABLE]
and by the equations coming from the cycles (they are the same as in Example 2.15).
If is a point of the form \bigl{(}\lambda_{e}\thinspace s^{\mathrm{wt}(e)}\bigr{)}_{e\in\mathcal{E}} in the codomain of the map , then for every point we can consider the vector of the valuations of its coordinates. In terms of tropical geometry, this means that we take the tropicalization of the preimage . In Definition 3.6 we associate to each such point a discrete object, which we call bidistance (see Definition 3.8). We then partition the set according to the bidistances that are determined by its points.
Definition 3.6**.**
Let be a bigraph with biedges and use Assumption. Fix . Then q=\bigl{(}[(x_{v})_{v\in V}],[(y_{w})_{w\in W}]\bigr{)} and by construction
[TABLE]
We define two functions and , with and as in Definition 2.13:
[TABLE]
Notice that the definition of and implies that and are always nonzero. Moreover, both and depend on , but not on the representatives and .
Lemma 3.7**.**
With the notation and assumptions as in Definition 3.6, the two functions and satisfy:
* for all , and similarly for ;*
* for all , where and ;*
, where and ;
for every cycle in , the minimum of the values of on the pairs of vertices appearing in is attained at least twice, and similarly for .
Proof.
The statement follows from the definitions and the properties of the valuation, see [Bou98, Section VI.3.1, Definition 1 and Corollary to Proposition 1]. In particular, we use that and for all nonzero and . The fourth property follows from if is a cycle in (and similarly for cycles in ): we employ the fact that if the sum of finitely many elements is zero, then the minimum of their valuations is achieved at least twice. Notice that the values and are defined because is not a self-loop by Assumption. ∎
Definition 3.8**.**
Let be a bigraph with biedges without self-loops, let be a fixed biedge, and let . A bidistance on compatible with is a pair of functions and such that the conditions of Lemma 3.7 are satisfied. If the weight vector is clear from the context, we omit the clause “compatible with ”.
Remark 3.9**.**
Let be a bigraph and use Assumption. Then any defines a bidistance on , and via the isomorphism provided by Remark 3.4 also any point in defines a bidistance.
As mentioned before, we are going to count the number of points in a general fiber of that determine a fixed bidistance. We do so by computing the Laman number of a “smaller” bigraph, obtained via a quotient operation as explained in Definition 3.10.
Definition 3.10**.**
Let be a bigraph with set of biedges and without self-loops, and fix a bidistance on . We define a new bigraph as follows: For every , define the graphs and to be the subgraphs of determined by all edges with endpoints and such that and , respectively. Similarly, for every , define and . Let
[TABLE]
Here by G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha} and H_{\geq\beta}\mathop{\big{/}}H_{>\beta} we mean the quotients of graphs as described in Definition 2.5, followed by removing singleton components without edges. The union symbol \mathrel{\text{ \hbox to0.0pt{\hbox to8.33336pt{\hss\raisebox{3.5pt}{\large.}\hss}\hss}\hbox{\bigcup}}} indicates the disjoint union of graphs.
There is a natural bijection between edges of and edges of , sending each edge in to the corresponding edge in the quotient G_{\geq d_{V}(\tau_{G}(e))}\mathop{\big{/}}G_{>d_{V}(\tau_{G}(e))}. We define to be the bigraph with set of biedges inherited from . Moreover, we fix any total order on the vertices in .
Remark 3.11**.**
Notice that in Definition 3.10 we did not use any of the properties of bidistances. This means that the definition of makes sense also for bigraphs and pairs of functions and . This is important and useful in Section 4.
Lemma 3.12**.**
If is a pseudo-Laman bigraph without self-loops and is a bidistance on , then the quotient graph is also pseudo-Laman.
Proof.
We first prove that for any graph and for any subgraph the following equation holds:
[TABLE]
Let G=\mathrel{\text{ \hbox to0.0pt{\hbox to8.33336pt{\hss\raisebox{3.5pt}{\large.}\hss}\hss}\hbox{\bigcup}}}_{i=1}^{k}G_{i} be the decomposition of into connected components. Write G^{\prime}=\mathrel{\text{ \hbox to0.0pt{\hbox to8.33336pt{\hss\raisebox{3.5pt}{\large.}\hss}\hss}\hbox{\bigcup}}}_{i=1}^{k}G^{\prime}_{i}, where is the part of belonging to . Let and be the set of vertices of and , respectively. Now, itself may be disconnected, so let be the number of connected components of . Contraction of edges of does not introduce new components, thus consists of one connected component. Moreover, each connected component of will correspond to one vertex in . It follows that
[TABLE]
and therefore for all . Now the claim follows, because \dim\bigl{(}\mathrel{\text{ \hbox to0.0pt{\hbox to8.33336pt{\hss\raisebox{3.5pt}{\large.}\hss}\hss}\hbox{\bigcup}}}_{i=1}^{k}G_{i}\bigr{)}=\sum_{i=1}^{k}\dim(G_{i}). If is a bigraph and is a bidistance on it then
[TABLE]
We prove only the first equality, the second one follows analogously. Let be the minimum value attained by . Then and
[TABLE]
By repeating this argument, considering one by one all values in in increasing order, we prove the asserted equality. The proof is concluded by noticing that the number of biedges of equals the number of biedges of by construction. ∎
Example 3.13**.**
Continuing Example 3.5, we fix the following bidistance :
[TABLE]
The bidistance is illustrated in Figure 6(a) and the resulting bigraph is shown in Figure 6(b). The scheme associated to is defined by the following equations:
[TABLE]
To link the points in a general fiber of that define a given bidistance with the Laman number of , we introduce in Definition 3.15 a family of varieties , parametrized by a parameter . This family has the property that a general element is isomorphic to , while a special element is isomorphic to . To prove this, we establish in Lemmas 3.20 and 3.21 the following two bijections:
[TABLE]
Remark 3.14**.**
Notice that, for a fixed bigraph with biedges and a fixed choice of a vector and of a bidistance , we can suppose that all entries of the vector and all values and are integers. Indeed, consider the subgroup of that is generated by the rational numbers in : such a group is of the form , and so we can apply the automorphism of that sends to .
Definition 3.15**.**
Let be a bigraph with biedges and use Assumption. Given a bidistance on , we can suppose by Remark 3.14 that , and take integer values. We define the scheme in , with coordinates , and :
[TABLE]
where denotes the minimum value attained by the function on the cycle , and similarly for . Since the differences and are non-negative integers, we see that all equations are indeed polynomial in , and . Moreover, we define
[TABLE]
where denotes the hyperplane defined by the equation .
Example 3.16**.**
Continuing Example 3.13, the scheme is defined by the equations:
[TABLE]
In Lemma 3.20 we use a special set of generators for the ideals defining and . To describe this set of generators we need the concept of spanning forest for a bigraph.
Definition 3.17**.**
Let be a bigraph. A spanning forest for is a pair of spanning forests for and respectively. A spanning forest for a graph is a tuple of spanning trees, one for each connected component of the graph.
An auxiliary result describing how to obtain a special system of generators for the ideal of , once a spanning forest for is fixed is given in the next lemma.
Lemma 3.18**.**
Let be a bigraph. Use Assumption and define according to Definition 2.14. Then is a complete intersection, and every choice of a spanning forest for determines a set of \operatorname{codim}\bigl{(}Z^{B}_{\mathbb{C}}\bigr{)} generators for the ideal of .
Proof.
Notice that the dimension of the ambient affine space of is , where and are as in Definition 2.13. Moreover is zero-dimensional, since is defined. We are going to exhibit a system consisting of equations defining .
Let be a spanning forest for the bigraph with biedges . For every , where and are not connected by an edge of , we consider the equation
[TABLE]
where is the unique path in from to . Similarly, we construct equations for each for which and are not connected by an edge of . We claim that these equations generate the same ideal as the equations coming from all cycles in and in . It is enough to show this for every connected component of , so we can suppose that is connected. We show the claim by induction on the number of edges of : when this number is minimal, the graph is a tree and so there is nothing to prove since there are no cycles. Suppose now that the statement holds for , and add an edge to obtaining ; suppose that this edge connects the vertices and . Consider an equation coming from a cycle in : if it does not involve the edge , then by induction hypothesis it is a linear combination of the equations coming from the spanning tree. Otherwise, the cycle is of the form . If we add to the equation the equation , we obtain the equation induced by the cycle , which is completely contained in . So by induction hypothesis the sum is a linear combination of the equations coming from the spanning tree; this concludes the proof of the claim.
The number of equations coming from edges not in the spanning forest is
[TABLE]
The above equations, together with
[TABLE]
define . Therefore, the total number of equations is |\mathcal{E}|+1+\bigl{(}|P|-\dim(G)\bigr{)}+\bigl{(}|Q|-\dim(H)\bigr{)}, which equals since is pseudo-Laman and has no self-loops by Assumption. In particular, is a complete intersection. ∎
Remark 3.19**.**
To proceed, we need spanning forests with an additional property: For a bigraph , we consider spanning forests and for and , respectively, such that for any edge in with vertices , the value is equal to the minimum of the values of in the unique path in connecting and , and similarly for .
The construction of such forests can be achieved by iteratively removing non-bridges (see Definition 2.17) with endpoints and such that is minimal within the non-bridges of the graph in the current iteration. This construction can be proven to be correct using the loop invariant , where and is defined as follows. We consider all paths from to and take the minimum of the values \bigl{\{}d_{V}(v_{i},v_{i+1})\,:\,i\in\{0,\dotsc,n\}\bigr{\}} for each of them. Then is the maximum of all these values. Note that if and are connected by an edge in the graph, then : in fact, by assumption the path connects and , and so appears as a minimum of a path from to ; moreover, for every path from to the minimum of the values \bigl{\{}d_{V}(v_{i},v_{i+1})\,:\,i\in\{0,\dotsc,n-1\}\bigr{\}} cannot be bigger than , because this would contradict the property of bidistances that the minimum in the cycle occurs twice; hence is the maximum of these minima, and so it coincides with . The map is indeed a loop invariant, since if we are about to delete an edge with endpoints and , then this edge has to be a non-bridge of minimal . Hence, there is a cycle containing both and and the endpoints of another edge with the same -value, since the minimum -value occurs at least twice in every cycle. Therefore, there is still a path from to with the same minimum, so that the set of minima in the definition of does not change at all. In a similar way one argues that all other values of are not changed either.
The forests constructed in this way share a useful property, namely if we consider the set of edges in that correspond to and , then such a set forms a spanning forest for .
Lemma 3.20**.**
Let be a bigraph. Use Assumption and fix a bidistance on . Suppose that (Definition 3.10) satisfies . Then the scheme (Definition 3.15) can be defined by equations. Furthermore, the scheme is isomorphic to , so in particular it consists of distinct points and is defined by \operatorname{codim}\bigl{(}A_{\mathbb{C}}^{d}\bigr{)} equations.
Proof.
Let with biedges as in the statement. As in Lemma 3.18, we can give a smallest set of equations for depending on a choice of a spanning forest. By a special choice of the spanning forest, namely by choosing the forests and for and , respectively, as described in Remark 3.19, we may achieve that the equations are of the form
[TABLE]
together with
[TABLE]
The number of these equations is hence . We obtain a set of equations for by setting in the previous ones. Note that we could not have obtained this kind of equations if we started from an arbitrary spanning forest for .
Let and be the sets as in Definition 2.13 starting from . The elements of are of the form \bigl{(}[u]_{>\alpha},[v]_{>\alpha}\bigr{)}, where is the class of the vertex in the set of vertices of G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha}, and is a value in the image of . In the following we simply write and for such classes (and similarly for ).
We define two maps and as follows. For a point q=\bigl{(}(x_{[u][v]})_{([u],[v])\in P_{d}},(y_{[t][w]})_{([t],[w])\in Q_{d}}\bigr{)} in , let be the point whose -coordinate is and whose -coordinate is . For a point \tilde{q}=\bigl{(}(\tilde{x}_{uv})_{(u,v)\in P},(\tilde{y}_{tw})_{(t,w)\in Q}\bigr{)} in , define to be the point whose -coordinate equals and whose -coordinate equals . We have to show that and are well-defined. It is then a direct consequence of the definitions that they are isomorphisms.
To show that is well-defined, we need to prove that . Notice that the coordinates of satisfy the equations determined by the biedges of because the coordinates of do so by construction. Consider now an equation of obtained by setting in an equation of determined by a cycle in (analogous considerations can be done for cycles in ). Let be the minimum value attained by along the cycle . Such an equation is of the form , where the subscript in indicates that the sum is taken over the pairs in appearing in the cycle and satisfying . On the other hand, such a cycle determines a cycle in G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha}, which defines an equation of the same form, namely , satisfied by the coordinates of . Hence .
To show that is well-defined we need to first prove that if and for two pairs such that , then the coordinates of the point satisfy . This is true since by hypothesis there is a cycle in involving two edges between and and and , respectively, such that every other edge in the cycle has endpoints whose -value is strictly greater than . The definition of implies that such an equation holds for points in . Secondly, we should prove that , and here we argue as in the previous paragraph. ∎
The following result can be considered as a particular instance (in the zero-dimensional case) of the so-called tropical lifting lemma, see [Kat09, Lemma 4.15] and [Pay09] for a result over more general fields. We report here the proof for self-containedness and since it does not require results from tropical geometry, being essentially a consequence of the implicit function theorem for power series.
Lemma 3.21**.**
With the notation as in Lemma 3.20, so in particular a bidistance is fixed, there is a bijection between and the set of points in that determine the bidistance .
Proof.
We know from Remark 3.4 and from Lemma 3.20 that both and consist of finitely many points. Let be a point determining the bidistance : this means that q=\bigl{(}(x_{uv})_{(u,v)\in P},(y_{tw})_{(t,w)\in Q}\bigr{)} with and . We can write and where the elements and have zero valuation. Therefore \widehat{q}=\bigl{(}(\widehat{x}_{uv})_{(u,v)\in P},(\widehat{y}_{tw})_{(t,w)\in Q}\bigr{)} is a point of , which is the scheme in defined by the equations
[TABLE]
where the notation is as in Definition 3.15. Since all coordinates of have valuation equal to zero, we can define , obtaining , and similarly for . It follows that the point \tilde{q}=\bigl{(}(\tilde{x}_{uv})_{(u,v)\in P},(\tilde{y}_{tw})_{(t,w)\in Q}\bigr{)} satisfies the equations of . In this way we obtain a map from the set of points in that determine the bidistance to .
Let now be a point of . From Lemma 3.20 we know that is a complete intersection and that it is defined by \operatorname{codim}\bigl{(}A^{d}_{\mathbb{C}}\bigr{)} equations of the form
[TABLE]
where the equations define . Since is smooth by Lemma 3.20, we know that the Jacobian determinant
[TABLE]
evaluated at is non-zero. By the implicit function theorem for formal power series (see [Bou03, A.IV.37, Corollary]) applied to the system of equations , there exists a unique point such that and the constant terms of the coordinates of equal the coordinates of . The point determines in turn a point in whose coordinates have valuation equal to zero, and therefore a point in whose coordinates have valuation prescribed by . We get a map from to the set of points in determining the bidistance .
Suppose now that there were two points and in determining the bidistance and specializing to the same point in . After applying a suitable automorphism of of the form , we can suppose that both the points in corresponding to and were given by power series in . This would contradict the uniqueness of the power series solution provided by the implicit function theorem. Therefore, the two maps we have just specified provide the desired bijection. ∎
Remark 3.22**.**
If is a pseudo-Laman bigraph with and is a bidistance on , then the definition of makes still sense, as well as the definitions of , and . In this case, the scheme is nothing but the empty set, and the proof of Lemma 3.20 shows that the schemes and are isomorphic. To conclude that is also the empty set we argue as in Lemma 3.21: if were not empty, then one could construct a point in , contradicting the hypothesis.
Theorem 3.23**.**
Let be a pseudo-Laman bigraph with biedges without self-loops. Fix a biedge , and fix . Then we have
[TABLE]
where runs over all bidistances on compatible with .
Proof.
When , the statement follows directly by combining Lemma 3.20 and Lemma 3.21. The case is covered by Remark 3.22. ∎
4. A formula for the Laman number
In this section we develop a formula for the Laman number of a bigraph from Theorem 3.23. We fix a very special weight vector, namely the vector : with this choice it is easy to determine which bidistances are compatible with (Lemma 4.2); the bigraphs that one obtains are complicated, but it is possible to use this approach recursively (Theorem 4.7), translating any situation to a limited number of simple base cases (Proposition 2.10). First we show in Lemmas 4.1 and 4.2 that the bidistances that are compatible with can take only values in .
Lemma 4.1**.**
Let be a pseudo-Laman bigraph with biedges . Suppose that . Pick and fix . Let be a bidistance for and suppose that . Then both and take values in .
Proof.
Suppose by contradiction that the images of and are not contained in . We are going to construct an infinite family of different bidistances for that satisfies for every . Lemma 3.20 together with Lemma 3.21 imply then that consists of infinitely many points, contradicting the hypothesis, because every quotient contributes nontrivially to . For every , define
[TABLE]
where and denote the ceiling and the floor functions, respectively. Since , the family
[TABLE]
has infinitely many elements. We show that each is a bidistance for . Since by hypothesis
[TABLE]
it follows that . Hence, for all
[TABLE]
By construction it follows that , where and . Next, note that the two functions
[TABLE]
are strictly increasing for every . This implies that also the last property stated in Lemma 3.7 is preserved. Hence, is a bidistance. Note that
[TABLE]
and similarly for and for . Recall from Definition 3.10 that is a disjoint union of graphs of the form G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha} and H_{\geq\beta}\mathop{\big{/}}H_{>\beta}. By what we noticed, these graphs do not change when we pass from to and therefore for each . ∎
Lemma 4.2**.**
Let be a pseudo-Laman bigraph with biedges . Suppose that . Pick and fix . Let be a bidistance for and suppose that . Then both and take values in .
Proof.
Suppose by contradiction that the claim does not hold. Then (after possibly swapping the roles of and ) we can suppose that for some and that are vertices of an edge. We construct an infinite family of bidistances for such that . Then the same argument as in the proof of Lemma 4.1 gives a contradiction.
Let be the minimum of the values in . By Lemma 4.1 the value of is integer, so we have . For any define
[TABLE]
The family consists of infinitely many elements. From the construction it follows that each is a bidistance. Furthermore,
[TABLE]
and by construction similar equalities hold for all other cases. Here we use that is the maximal value attained for . Therefore, by the same argument as in Lemma 4.1. Notice that if both and take values in , then the previous argument does not work. In fact in this case we have , and then the maps are not bidistances anymore, since by construction we would have , violating the prescription that for the special biedge . ∎
Using Proposition 2.21, the special shape of the bidistances compatible with the weight vector allows to split the problem of computing the Laman number of a bigraph of the form into the computation of the Laman numbers of two smaller bigraphs.
Lemma 4.3**.**
Let be a bigraph with biedges and fix a biedge . Fix a bidistance such that and take values only in . If is pseudo-Laman such that
the bidistance is compatible with ,
* is neither a bridge in nor a bridge in ,*
neither nor is the zero map,
then the quotient bigraph untangles via into bigraphs and .
Proof.
Recall from Definition 3.10 that and have the same set of biedges. We define two sets as the biedges in corresponding to the following sets of biedges in :
[TABLE]
By hypothesis we have that both and are non-empty, and that is a partition, because the maps and take values only in . In and , edges with different values of and , respectively, are in different components. Hence the statement is proved. ∎
In order to state the final formula we introduce some notation; we then express the bigraphs obtained from Lemma 4.3 in terms of this new notation.
Definition 4.4**.**
Let B=\bigl{(}G,H\bigr{)} be a bigraph, where and . Given , we define two bigraphs {}^{\mathcal{M}}\!{B}=\bigl{(}G\mathop{/}\mathcal{M},\,H\mathop{\backslash}\mathcal{M}\bigr{)} and {B}^{\mathcal{M}}=\bigl{(}G\mathop{\backslash}\mathcal{M},\,H\mathop{/}\mathcal{M}\bigr{)}, with the same set of biedges . For both constructions we fix a total order on the vertices of the resulting bigraphs.
We can re-interpret Lemma 4.3 in the light of Definition 4.4 by saying that if is a bidistance such that both and take values in , and and are defined as in Lemma 4.3, then untangles via into and . This allows us to specialize Theorem 3.23 to a recursive formula. By what we just said and by unraveling the notions introduced in Definition 4.4 and taking into account Lemma 4.3 and Lemma 2.19 we get the following characterization.
Proposition 4.5**.**
Let be a pseudo-Laman bigraph with biedges without self-loops. Pick , and fix . Let be a bidistance for such that both and take values in .
If is the zero map, then .
If is the zero map, then .
If neither nor is the zero map, and is neither a bridge in nor a bridge in , then , where is the set of biedges such that is zero on , and is the set of biedges such that is zero on .
Proof.
If is the zero map, then and is the disjoint union of and a single edge corresponding to . If is not a bridge in , then it is not a bridge in either. So, by Lemma 2.19 we have the equality . Suppose now that is a bridge in ; then by Lemma 2.18 we have . It is therefore enough to prove that . We show this by proving that is not pseudo-Laman. Indeed,
[TABLE]
as shown in the proof of Lemma 3.12. Since \dim\bigl{(}\{\bar{e}\}\bigr{)}=1 we have
[TABLE]
Here \dim\bigl{(}G\mathop{\backslash}\{\bar{e}\}\bigr{)}=\dim(G)+1 because removing a bridge increases the dimension by . This concludes the first case; the second is proved analogously.
Suppose now that neither nor is the zero map, and is neither a bridge in nor a bridge in . Then by Lemma 4.3 untangles, and the two bigraphs and described in that lemma coincide with and . If does not contain self-loops then by Proposition 2.21 we have . If contains a self-loop which is different from , then by construction it is also a self-loop in or . Then by Proposition 2.10 . Note that might never be a loop in . This is because in our case is
[TABLE]
and only appears in and . ∎
Lemma 4.6**.**
Let be a pseudo-Laman bigraph with biedges without self-loops. Pick , and fix . Suppose that is a pair of functions and that satisfy the first three conditions of Lemma 3.7, but not the last one. Then or has a self-loop, where the sets and are as in Proposition 4.5.
Proof.
By assumption, is not a bidistance, and it must happen that there exists a cycle in or in such that or attains its minimum only once. Let us suppose that there is a cycle in such that attains its minimum only on the pair , which is part of . If we set , then we get that G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha} has a self-loop. Since by definition G_{\geq\alpha}\mathop{\big{/}}G_{>\alpha} is a union of components of the graphs in either or , the proof is completed. ∎
Proposition 2.10 gives the two base cases for the computation of the Laman number of a bigraph: if the bigraph has a self-loop, then its Laman number is zero, and if the bigraph is constituted of two copies of a single edge, then its Laman number is one. They are going to be used in combination with the formula in Theorem 4.7 to obtain a recursive algorithm. We are now able to state the formula for the computation of the Laman number of a bigraph.
Theorem 4.7**.**
Let be a pseudo-Laman bigraph with biedges without self-loops. Let be a fixed biedge, then
[TABLE]
where each pair satisfies:
;
;
* and ;*
both and are pseudo-Laman.
Proof.
From Theorem 3.23 we know that where runs over all bidistances on compatible with . We distinguish two cases.
Suppose . Let be a pair of functions as in Lemma 4.6, and let be the two sets of biedges defined by . If is not a bidistance, then by Lemma 4.6 either or has a self-loop, and so by Proposition 2.10 the contribution \operatorname{Lam}\bigl{(}{}^{\mathcal{M}}\!{B}\bigr{)}\cdot\operatorname{Lam}\bigl{(}{B}^{\mathcal{N}}\bigr{)} is zero. If is a bidistance and is neither a bridge in nor a bridge in , then by Proposition 4.5 the contribution of appears on the right-hand side of Equation 4. If instead is a bridge in either or in , then by Lemma 2.22 we conclude that ; at the same time by Lemma 2.23 either or is not pseudo-Laman so there is no contribution to the right-hand side of Equation 4. A similar argument works in the case is a bridge in both and using Lemma 2.18.
It remains to settle the case . In this case, for all bidistances compatible with . We have to prove that the right hand side of Equation 4 is zero, too. By Proposition 4.5, if is the zero map then \operatorname{Lam}(B_{d})=\operatorname{Lam}\bigl{(}{}^{\{\bar{e}\}}\!{B}\bigr{)}. Hence, the first summand of the right-hand side of Equation 4 is zero. For the second summand, the situation is similar. For the other summands, let us fix and as in the hypothesis. Define , and define if there is an edge in such that , or if there is no such edge; similarly for . If is not a bidistance, then by Lemma 4.6 one of the bigraphs or has a self-loop and by Proposition 2.10 the summand is zero. If is a bidistance, then the argument follows the same way as in the case of . ∎
5. Computational results
Theorem 4.7, together with Proposition 2.10, translates naturally into a recursive algorithm, which has exponential complexity since it has to loop over all subsets of . We have implemented this algorithm [CGG*+*16] in the computer algebra system Mathematica and in C++. Despite its exponential runtime, it is a tremendous improvement over the naive approach, which is to determine the number of solutions via a Gröbner basis computation. For example, to compute the Laman number 880 of the Laman graph with 10 vertices (see Figure 8), our recursive algorithm took 1.7s in Mathematica and 0.18s with C++, while the Gröbner basis approach took about 2353s in Mathematica and 45s using the FGb library in Maple [Fau10]. Note also that the latter is feasible in practice only after replacing the parameters by random integers, which turns it into a probabilistic algorithm. Moreover, for speed-up, we compute the Gröbner basis only modulo a prime number so that the occurrence of large rational numbers is avoided. In contrast, our combinatorial algorithm computes the Laman number with certainty. As a consistency check, we computed the Laman numbers of all 118,051 Laman graphs with at most 10 vertices, using both approaches, and found that the results match perfectly.
For this purpose we generated lists of Laman graphs. In principle this is a simple task, by applying the two Henneberg rules in all possible ways. In practice, it becomes demanding since one has to identify and eliminate duplicates, which leads to the graph isomorphism problem. Using our implementation we constructed all Laman graphs up to 12 vertices, see Table 1.
Recently, there has been large interest [BS04, ETV09, ETV13, ST10, JO12] in the maximal Laman number that a Laman graph with vertices can have. By applying our algorithm to all Laman graphs with vertices, we determined the maximal Laman number for , which previously was only known for and ; the results are given in Table 2. For this was a quite demanding task: computing the Laman numbers of more than 44 million graphs with 12 vertices took 56 processor days using our fast C++ implementation.
Appendix A Proof of Theorem 1.8
Proof of Theorem 1.8.
: Assume that is generically rigid. Then every subgraph is generically realizable (see Remark 1.5), and so the map is dominant. Therefore, the dimension of the codomain is bounded by the dimension of the domain, which says . The equality in the previous formula for the whole graph follows from Lemma 1.7.
: We prove the statement by induction on the number of vertices. The induction base with two vertices is clear. Assume that is a Laman graph with at least vertices. By [Lam70, Proposition 6.1], the graph has a vertex of degree or . If has a vertex of degree , then the subgraph obtained by removing this vertex and its two adjacent edges is a Laman graph by [Lam70, Theorem 6.3]. By induction hypothesis, can be constructed by Henneberg rules, and then can be constructed from by the first Henneberg rule. Assume now that has a vertex of degree 3. By [Lam70, Theorem 6.4], there are two vertices and connected with such that the graph obtained by removing and its three adjacent edges and then adding the edge is Laman. By induction hypothesis, can be constructed by Henneberg rules, and then can be constructed from by the second Henneberg rule.
: We prove the statement by induction on the number of Henneberg rules. The induction base is the case of the one-edge graph, which is generically rigid. By induction hypothesis we assume that is generically rigid. Perform a Henneberg rule on and let be the result. We intend to show that is generically rigid, too.
As far as the first Henneberg rule is concerned, we observe that for any realization of , compatible with a general labeling , and for any labeling extending we can always construct exactly two realizations of that are compatible with .
Let us now assume that is constructed via the second Henneberg rule. Call the new vertex of , and denote the three vertices to which it is connected by , and . Let be the graph obtained by removing from the same edge that is removed in . Without loss of generality we assume .
[TABLE]
We first show that is generically realizable (see Definition 1.4). Let be the quadratic form corresponding to the bilinear form .
Fix a general labeling for . We define the algebraic set as the set of all points such that there is a compatible realization of satisfying
[TABLE]
For a general , there exist finitely many, up to equivalence, points in , namely the “lengths” of the triangle that come from the finitely many realizations of . It follows that .
A complex version of a classical result in distance geometry (see [ETV13, Theorem 2.4]) states that four points , , , fulfill
[TABLE]
if and only if the following Cayley-Menger determinant
[TABLE]
vanishes. We define
[TABLE]
and
[TABLE]
The point with has coordinates given by the coefficients of , considered as a polynomial in , and . Because of this, the point determines uniquely as a surface. The function sending is injective, and hence the family of surfaces is not constant. It follows that the algebraic set has dimension , and thus a general point lies in . If we extend the general labeling of by assigning a general triple as labels to the three new edges, then we get at least one realization of . It follows that is generically realizable.
Since and , it follows that . Since, as we have just shown, the map is dominant, the graph is generically rigid by Lemma 1.7. ∎
Appendix B Laman graphs with maximal Laman number
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[Ber 05] S. Bereg, Certifying and Constructing Minimally Rigid Graphs in the Plane , Proceedings of the Twenty-first Annual Symposium on Computational Geometry (New York), ACM, 2005, pp. 73–80.
- 2[Bou 98] N. Bourbaki, Elements of mathematics. Commutative algebra , Springer-Verlag, Berlin, 1998.
- 3[Bou 03] by same author, Algebra II. Chapters 4–7 , Elements of Mathematics, Springer-Verlag, Berlin, 2003.
- 4[BS 04] C. Borcea and I. Streinu, The number of embeddings of minimally rigid graphs , Discrete & Computational Geometry 31 (2004), 287–303.
- 5[BS 13] C. S. Borcea and I. Streinu, Frameworks with crystallographic symmetry , Philosophical Transactions of the Royal Society of London A: Mathematical, Physical and Engineering Sciences 372 (2013), no. 2008.
- 6[CGG + 16] J. Capco, M. Gallet, G. Grasegger, C. Koutschan, N. Lubbes, and J. Schicho, Electronic supplementary material for the paper “The number of realizations of a Laman graph” , 2016, Available at http://www.koutschan.de/data/laman/ .
- 7[CGG + 17] by same author, Computing the number of realizations of a Laman graph , Electronic Notes in Discrete Mathematics 61 (2017), 207–213, The European Conference on Combinatorics, Graph Theory and Applications (EUROCOMB’17).
- 8[Con 93] R. Connelly, Rigidity , Handbook of convex geometry, North-Holland, Amsterdam, 1993, pp. 223–271.
