Manuscript Offprint
arXiv:2611.00468The symbolic pfaffian method I: A generalization of the Gallucio-Loebl-Tesler Theorem
The symbolic pfaffian method I: A generalization of the Galluccio-Loebl-Tesler Theorem *
Enrique Junchaya, Cláudio L. Lucchesi, and Alberto A. A. Miranda
Universidade de São Paulo, Brazil 05508-020
Instituto Federal do Norte de Minas Gerais, Montes Claros, Brazil 39404-058
Abstract
The pfaffian number of a graph , denoted by , is the minimum integer such that the generating function of perfect matchings of can be written as a linear combination of pfaffians of signed adjacency matrices. The Galluccio-Loebl-Tesler Theorem states that , where is the orientable genus of . We generalize this theorem by relating the pfaffian number of a graph to another graph parameter: the symbolic pfaffian number, denoted by . Namely, we prove that . Our proof is based on linear algebra arguments and does not depend on topological properties of graphs.
As a consequence of our generalization, we conclude that , an improvement on the previous upper bound of based on the genus. We also consider lower bounds for related to . In particular, we show that the graphs with are the graphs with . On the other hand, we show that our main result is strictly more general than a previous generalization by Norine.
*This study was financed, in part, by the São Paulo Research Foundation (FAPESP), Brasil. Process Number #2026/00996-9. E-mail address: enriquejh@usp.br (E. Junchaya)
3 Upper bounds for the symbolic pfaffian number 11 3.1 Pfaffian preserving transformations ..... 11 3.2 4-Pfaffian graphs ..... 12
4 Matching-even drawings 13 5 A graph with odd symbolic pfaffian number 16 6 Conclusion 17
1 Introduction
This article is concerned with pfaffian-based methods for counting perfect matchings in finite graphs. Hence, edges that do not belong to any perfect matching are not relevant. Moreover, the number of perfect matchings of a disconnected graph is equal to the product of the number of the perfect matchings of its components. Thus we can naturally restrict ourselves to matching covered graphs. A graph is matching covered if it is connected, has at least one edge and every edge of is contained in a perfect matching of . Throughout this work, whenever we say graph, assume we mean matching covered graph.
Assume that the graphs in this work are finite and simple. Let be a graph and let , for every , be a variable. Let be a vector. We define the generating function of perfect matchings of by
where is the set of perfect matchings of . Notice that, by evaluating the generating function of perfect matchings in (the all-ones vector), we have
the number of perfect matchings of . In a more general setting, we can deal with graphs with weights on their edges. The weight of a perfect matching is equal to the product of the weights of its edges. Let be the vector of weights of the edges of . In that case, would be equal to the sum of the weights of all perfect matchings of . Notice that multigraphs can be modeled as weighted simple graphs with weights accounting for multiplicity of the edges, thus we can assume that graphs are simple. The (weighted) enumeration of perfect matchings is an interesting problem from a theoretical point of view, but it also has been studied in applied sciences. The main applications are in chemistry (see Gutman (1977, [8]) and Herndon (1974, [9])), statistical physics (see Brush (1967, [4]) and Kasteleyn (1967, [14])) and quantum mechanics (see Krem, Gu and Zeilinger (2017, [16])). Examples of some of these applications can be found in the book by Lovász and Plummer (1986, [17, Chapter 8]). See also the lecture notes of Kenyon (2009, [15]).
For simplicity, we will restrain ourselves to the problem of counting perfect matchings, i.e. the case in which every edge has weight equal to one. However, it is not hard to see that the arguments on this work are easily generalized to graphs with weighted edges.
In bipartite graphs, counting perfect matchings is equivalent to computing the permanent of a square matrix containing only zeros and ones. Valiant (1979, [26]) proved that this problem is #P-complete; therefore, the algorithms discussed here are not efficient in general. In fact, the best known algorithm for counting perfect matchings is due to Björklund (2012, [2]) and runs in for a graph with ( ignores factors that are polynomial on the input size). In this paper, we focus on algorithms for counting perfect matchings using pfaffians. It is worth mentioning that the Björklund algorithm has better run time than these algorithms in general, but the pfaffian-based methods perform better in some particular graph classes, especially the graphs with small genus.
1.1 Pfaffians and perfect matchings
Let be a graph and let be an orientation of . Let be an enumeration of the vertices in . Let be a perfect matching of . The sign of in , denoted by , is the sign of the permutation
where, for each , , is an edge of oriented from to in . Notice that is independent of the order in which the edges of are listed in the permutation. Also, notice that relabeling the vertices of either changes the sign of all of its perfect matchings or does not change the sign of any of its perfect matchings.
Denote the adjacency matrix of the orientation by , defined as follows:
for . Notice that this matrix is skew-symmetric. The pfaffian of a skew-symmetric matrix , denoted by , is a polynomial in the entries of . The pfaffian of a matrix can be computed efficiently; in fact, its square is equal to the determinant of the same matrix. For adjacency matrices of orientations, we can write the definition of the pfaffian as
An orientation of is pfaffian if all perfect matchings of have the same sign in . A graph is pfaffian if it admits a pfaffian orientation. Notice that, for a pfaffian orientation , is equal to the number of perfect matchings (and thus this number is efficiently computable). Kasteleyn (1963, [13]), who introduced pfaffian orientations, proved that every planar graph is pfaffian.
There is a vast theory and research on pfaffian graphs and orientations. Probably, the most astounding result is the efficient algorithm for deciding if a bipartite graph is pfaffian due to Robertson, Seymour and Thomas (1999, [24]), and independently McCuaig (2004, [20]). We refer the reader to the book of Lucchesi and Murty (2024, [18, Part III]) for a detailed account of the main results on the theory of pfaffian graphs.
There are generalizations of the pfaffian method to count perfect matchings discussed above. First, we introduce the k-pfaffian method. A k-orientation D of a graph G is a vector of orientations of G. The sign of a perfect matching M in D is defined as
The signature matrix of is a matrix with rows and columns, in which every row is the sign in of a different perfect matching of . The order of the rows in this matrix is not relevant. The -orientation is pfaffian if the system
has a solution. In that case, we call that solution a solution of D. A graph is k-pfaffian if it admits a pfaffian k-orientation. In particular, the 1-pfaffian graphs are the pfaffian graphs. Given a pfaffian k-orientation D of G and a solution x, one can count the number of perfect matchings of G by the linear combination
The (orientable) genus of a graph , denoted by , is the minimum integer such that is embeddable on the orientable surface of genus . Kasteleyn (1967, [14]) claimed, without proof, that it is possible to compute the number of perfect matchings of a graph as a linear combination of pfaffians of oriented adjacency matrices. This claim was formally proved by the end of the 20th century by Galluccio and Loebl (1998, [7]), and independently by Tesler (2000, [25]). The pfaffian number of a graph , denoted by , is the minimum integer such that is -pfaffian. Then, the Galluccio-Loebl-Tesler Theorem can be stated as follows.
Theorem 1.1 ([7, 25]). Let G be a graph. Then,
Norine (2009, [21]) generalized the Galluccio-Loebl-Tesler Theorem by considering drawings of graphs with (restricted) intersections. Let be a drawing of (possibly with crossings) on an orientable surface. Denote by the number of crossings of a perfect matching of in the drawing . The drawing is matching-even if is even for every perfect matching of . The matching-even genus of , denoted by , is the minimum integer such that admits a matching-even drawing on a surface of genus .
Theorem 1.2 ([21]). Let G be a graph. Then,
In fact, equality holds in the theorem above for .
Theorem 1.3 ([21]). Let G be a graph. Then,
Norine also showed that there are no graphs with pfaffian number equal to two, three or five.
Theorem 1.4 ([21]). Let be a graph. If , then . If , then .
It is also worth mentioning that there are known lower bounds for the pfaffian number. In an earlier work, we proved that the pfaffian number is unbounded by showing that, for some infinite families of graphs, the pfaffian number grows at least linearly (2026, [12]). Then, Pant and Singh (2026, [22]) greatly improved this result by obtaining exponential lower bounds. In particular, for complete graphs they obtained the following result.
Theorem 1.5. For every ,
Now we introduce yet another generalization of the pfaffian method.
1.2 The symbolic pfaffian method
Tesler (2000, [25]) pointed out that his proof of Theorem 1.1 also allowed counting perfect matchings by calculating the pfaffian of a single symbolic matrix. This observation by Tesler gave rise to the symbolic pfaffian method. Later, Babenko and Vyalyi (2017, [1]) and Vyalyi (2021, [27]) formalized this method. The notations and definitions we use for this method are new, but based on the cited works.
We will denote GF(2) by throughout this text. Let be a graph and let be an integer. A -symbolic function of is a function whose domain is and whose image is . The function extends to every subset of edges by
In particular, is applied to perfect matchings. A pair is a -symbolic orientation of if is an orientation of and is a -symbolic function of . A -symbolic orientation is pfaffian if for every pair of matchings we have
In other words, is pfaffian if separates perfect matchings of different signs.
Vyalyi [27] described an algorithm for counting the number of perfect matchings of given a pfaffian -symbolic orientation of (see also Tesler [25, Appendix A.4]). Here, we outline this algorithm. Let be the function that maps every vector in to a monomial in the variables , for , such that the exponent of in is . Formally,
where is the ring of polynomials in variables with binary exponents. The function is a linear transformation due to the restriction . Let be a pfaffian -symbolic orientation of a graph . Let , for , be a skew-symmetric matrix obtained by multiplying the entries of by the corresponding monomial . Formally,
Since p is a linear transformation, we have that
a polynomial on the variables . By the definition of a pfaffian -symbolic orientation, we know that the terms on the polynomial above do not cancel out. In particular, the absolute value of the coefficient of a fixed monomial is equal to the number of perfect matchings that have equal to that monomial. Therefore, the number of perfect matchings of can be computed as the sum of the absolute values of the coefficients of the polynomial . There is a dynamic programming algorithm by Mahajan, Subramanya and Vinay (1999, [19]) for computing the pfaffian of a matrix on a polynomial number of operations and without divisions; hence, this algorithm can be applied to arbitrary rings. Since the intermediate operations needed for computing are performed over polynomials with at most terms, the complexity of this algorithm for counting perfect matchings is .
Every graph admits a pfaffian -symbolic orientation for sufficiently large, as we will see. The symbolic pfaffian number of , denoted by , is the smallest integer such that the graph admits a pfaffian -symbolic orientation. Notice that a pfaffian graph admits a pfaffian 0-symbolic orientation , where is a pfaffian orientation. Thus, for a pfaffian graph , .
It may seem that a pfaffian spf(G)-symbolic orientation of depends strongly on the orientation . However, for any orientation of there is a -symbolic function such that is pfaffian. Indeed, if is a pfaffian spf(G)-symbolic orientation of , then, for every edge , it suffices to set equal to in the first spf(G) entries and set the last entry of to be 1 if and only if the orientation of differs in and . This last entry of separates perfect matchings that have different signs in but are mapped to the same vector by .
Proposition 1.6. Let be any orientation of a graph . There is a pfaffian -symbolic orientation .
Vyalyi [27, proof of Lemma 1] uses a standard probabilistic method to show that, for a set , there exists an injective linear map with . In other words, , for distinct . In particular, this result implies that there exists a -symbolic function of , with equal to , that maps different perfect matchings of to different vectors in .
Theorem 1.7. Let be a graph. Then,
Since there are perfect matchings in the complete graph, we obtain the following corollary.
Corollary 1.8. Let be a graph with vertices. Then,
This upper bound can be improved for graphs with bounded genus. The following result is implicit in Tesler's proof of Theorem 1.1.
Theorem 1.9. Let be a graph. Then,
Nevertheless, the upper bound in Corollary 1.8 is tight.
Theorem 1.10 ([27]). and .
Actually, Vyalyi proved the lower bounds above for a generalized version of the symbolic pfaffian method that allows multiple -symbolic orientations. These lower bounds hold for the symbolic pfaffian method as described here, a particular case of Vyalyi's generalization.
1.3 Preliminaries and notation
We use the graph theory notation of Bondy and Murty (2008, [3]).
Orientations and signs
Let be a graph. Let be an orientation of and let be a set of arcs of . We denote by the orientation obtained from by reversing the orientation of all the arcs of . The next proposition is a straightforward result.
Proposition 1.11. Let be an orientation of and let be a set of arcs of . Let be a perfect matching of . Then,
Let and be two orientations of the same graph. We denote by the set of edges whose orientations in and differ.
Linear algebra
We denote by the square matrix with only 1 entries and by the identity matrix. The dimensions of the square matrices and should be clear by context.
Let and be vectors in . We denote the scalar product of and by
We use this notation too for the scalar product of vectors in . We say that and are orthogonal if . Let be a set of vectors in . We say that is orthogonal if its elements are pairwise orthogonal. The following proposition is a well-known property of orthogonal sets; see, for example, the book by Koffman and Hunze (1971, [10]).
Proposition 1.12. Let be a set of non-zero vectors in . If is orthogonal, then it is linearly independent.
1.4 Outline of the paper
In this paper, we obtain new results for the symbolic pfaffian method. These results have implications for the -pfaffian method. In Section 2, the main result is proved: the upper bound
Due to Theorem 1.9, this result implies the Galluccio-Loebl-Tesler Theorem. Also, our main result together with Corollary 1.8 implies that , an improvement of the previous known upper bound for .
Then, in Section 3, we derive some upper bounds for based on . In general, we have , but this can be improved in particular cases. The most interesting result in that regard is that
In particular, by Theorem 1.3, we know that the graphs with are the graphs with . More generally, in Section 4, we improve Theorem 1.9 by considering matching-even drawings; namely, we prove that
Notice that, if were equal to in general, our main result would be equivalent to Theorem 1.2. We prove that this is not the case by showing a graph with odd symbolic pfaffian number in Section 5.
Finally, in Section 6, we discuss conjectures and provide suggestions for further research.
2 Generalization of the Galluccio-Loebl-Tesler Theorem
We wish to prove that, for every graph , holds. In order to do that, we will construct a pfaffian -orientation of a graph with . We will use the following lemma to show that the constructed -orientation is pfaffian.
Lemma 2.1. Let be a -orientation of a graph. If every pair of different rows in differ in entries, then is pfaffian.
Proof. Let be a matrix formed by the different rows of . If has just one row, there is nothing to prove. Assume, then, that has at least two rows. By hypothesis, every pair of different rows differ in half of the entries, then their scalar product is equal to zero. Thus, the rows of form an orthogonal set and, by Proposition 1.12, they are linearly independent. We conclude that the rank of is equal to the number of its rows, i.e., is full rank. In particular, is in the column space of . In other words, the system has solution. We conclude that is pfaffian.
To show that the condition of the lemma above holds for the -orientation we will construct, we will use yet another lemma.
Lemma 2.2. Let be a non-zero vector. There are exactly vectors in such that
Proof. By hypothesis, ; thus, there is an integer such that . Let . Define as the vector in obtained from by changing . Clearly,
Since is arbitrary, half of the vectors satisfy .
Theorem 2.3. Let be a graph. Then,
Proof. Let . Let be a pfaffian -symbolic orientation of . We will show that is -pfaffian by constructing a pfaffian -orientation of this graph. For every vector , define the set of edges
In particular, we have . Let be a set of edges. By the linearity of the scalar product and the definition of , we have
Let be a -orientation of defined by
(3) where i is the binary representation of the integer i with d bits. In particular, we have . By Proposition 1.11, and equations (2) and (3), we conclude that
We will show that D is pfaffian.
If , then all perfect matchings of in have the same sign because is pfaffian. Therefore, is 1-pfaffian and the theorem follows trivially. Suppose, then, that . Let and be perfect matchings of . We want to show that the vectors and are either equal or they differ in half of the entries. If , then because is pfaffian. Moreover, by (4), we know that . Suppose, then, that . Let and be 0-indexed vectors. Since , these vectors have an even number of entries. The positions in which and differ correspond to the integers for which . For every , we have
by (4) and the linearity of the scalar product. Since , we know that the vector is non-zero. Thus, by Lemma 2.2, there are exactly positions such that
In the other half of the positions, has the opposite sign. Therefore, and differ in half of the entries, independently of the values of and . Since and are arbitrary perfect matchings of and by Lemma 2.1, we conclude that is pfaffian and, hence, , as we wanted to prove.
The theorem above together with Theorem 1.9 implies the Galluccio-Loebl-Tesler Theorem. Actually, as we will see in Section 4, the theorem above implies Norine's Theorem 1.2.
Recall that, given a pfaffian -symbolic orientation of a graph , we can count the number of perfect matchings of in time complexity. Also, given a pfaffian -orientation of and its solution, we can count the number of perfect matchings of in time complexity. The Theorem 2.3 implies then that (asymptotically) it is always at least as good to find a pfaffian -orientation than to find a pfaffian -symbolic orientation. This, however, does not render the symbolic pfaffian method irrelevant, as we do not know how to compute neither nor efficiently. Indeed, it is possible that obtaining a pfaffian -symbolic orientation is easier than obtaining a pfaffian -orientation.
On the other hand, Theorem 1.7, that states , implies upper bounds for the pfaffian number of a graph.
Corollary 2.4. Let G be a graph with n vertices. Then,
Recall that .
Corollary 2.5. .
As the genus of the complete graph is (Ringel and Youngs (1968, [23])), this improves the previous known upper bound of based on the Galluccio-Loebl-Tesler Theorem, namely . An analogous conclusion can be made for bipartite complete graphs.
3 Upper bounds for the symbolic pfaffian number
We proved an upper bound on that depends on . The pfaffian number can also be lower bounded by , as we showed in an earlier paper (2026, [12]). Implicitly in our proof, we used the following definition of the symbolic sibling of a -orientation.
Let be a -orientation. The symbolic sibling of is the -symbolic orientation , where is defined by
for every edge and every .
Lemma 3.1. Let be a -orientation of a graph . Let be the symbolic sibling of . Then, for every and every , we have
Proof. Let be a perfect matching of . By the definition of symbolic sibling, we have that if and only if is odd. By Proposition 1.11, we know that is odd if and only if . Hence, the lemma follows.
In [12], we proved that if is pfaffian, then its symbolic sibling is also pfaffian.
Theorem 3.2 ([12]). Let be a graph. Then,
This lower bound is sharp because, for a pfaffian graph , we have and . Nevertheless, this lower bound can be improved in particular cases. In this section, we will consider the cases of graphs with and graphs with .
3.1 Pfaffian preserving transformations
Let be a -symbolic orientation of a graph . Let be an integer and let
be a linear transformation. Let . For the -symbolic orientation , we have
for every , since is a linear transformation. If and are pfaffian, we say that is a pfaffian preserving -transformation of .
We will use a pfaffian preserving transformations to improve the upper bound for in graphs with and . The graphs with these pfaffian numbers are relevant because we know fundamental properties of them.
Theorem 3.3 (Norine, (2009 [21])). Let be a graph with . Then, admits a pfaffian 4-orientation with , up to repeated rows. In particular, has exactly one negative entry for every .
Actually, the theorem above is a rewrite of Norine's result using our notation.
Theorem 3.4 (Costa Moço, Miranda and Nunes da Silva (2021, [5])). Let be a graph with . There exists a pfaffian 6-orientation of for which every row of has exactly two negative entries.
We will prove a somewhat generic result that applies to graphs with pfaffian number equal to four or six.
Proposition 3.5. Let and be integers with . If a graph admits a pfaffian -orientation such that every row of has exactly negative entries, then
Proof. By Theorem 3.2, we know that , thus we can assume that . Let the -symbolic orientation be the symbolic sibling of . By Lemma 3.1, for every , if , then has exactly non-zero entries; otherwise, has exactly non-zero entries. Let be the projection of vectors in to its first entries. We want to show that is a pfaffian preserving -transformation of . Let be a perfect matching of . If , then has at most non-zero entries. Otherwise, if , then projecting to its first entries, loses at most non-zero entries; thus has at least non-zero entries. Therefore, separates perfect matchings of different signs in , hence is pfaffian. We conclude that .
By Theorems 3.3 and 3.4, we can apply the proposition above to graphs with or .
Corollary 3.6. Let G be a graph. Then,
3.2 4-Pfaffian graphs
There is a stronger result for the symbolic pfaffian number of graphs with . As we will prove, the graphs with are the graphs with . The only missing ingredient is to show that if a graph has , then it is pfaffian.
Proposition 3.7. Let be a graph with . Then, .
Proof. Let be a pfaffian 1-symbolic orientation of . If all perfect matchings in have the same sign, then is clearly pfaffian. Thus, assume that there are perfect matchings of with different signs in . By definition of pfaffian -symbolic orientations, perfect matchings with different signs in have different images in ; then, if and only if , for a constant . Let be the set of edges of with . Let be an orientation of . By Proposition 1.11, we have that
for every . Since if and only if , all perfect matchings have sign in . We conclude that is pfaffian and thus .
Corollary 3.8. Let G be a graph. Then,
Proof.
() If , then, by Theorem 2.3, we have that . We obtain that by Theorem 1.4 since is not pfaffian.
() If , then, by Corollary 3.6, we have that . Due to Proposition 3.7 and since is not pfaffian, we conclude that .
4 Matching-even drawings
In this section, we show that, for a graph , holds, thus extending Theorem 1.9. Our proof is based on the proof of Theorem 1.1 by Tesler (2000, [25]). We rely on crossing orientations, whose existence was stated by Kasteleyn (1967, [14]). Let be a graph and let be a drawing of in the plane. An orientation of is a crossing orientation in if
for every perfect matching M of G. Tesler [25] gave an explicit proof of the existence of crossing orientations.
Theorem 4.1. Let be a graph and let be a drawing of in the plane. There exists a crossing orientation of in .
For finite graphs, their drawings can be restricted to compact surfaces: bounded surfaces without 1-dimensional boundaries. So assume that every surface in this work is compact.
It is convenient to represent non-planar surfaces in the plane. We will work with a polygonal representation of surfaces, called the plane model of surfaces (see Firby and Gardiner (2001, [6])). A plane model of the orientable surface of genus is a solid polygon of sides, drawn on the plane, with pairs of points in the sides identified as described below. (See Figure 4.1, a plane model of the double torus.) Enumerate the sides of , in clockwise order, from 0 to . For every , the sides and are labeled ; also, the sides and are labeled . Add arrows to the sides such that sides with the same label have arrows in opposite directions (considering the clockwise traversal of ). Consider the sides of that share the same label as identified, respecting the direction of the arrows. By “gluing” the identified points of in a three-dimensional space, we obtain the original surface ; thus, represents faithfully.

Figure 4.1: A plane model of the double torus, the orientable surface with genus equal to two. The points labeled x represent a single point in the original surface. The same occurs with the points labeled y. The dotted line represents a curve on the surface.
Now consider a drawing of a graph on the orientable surface of genus . A planarization of is a drawing of in the plane obtained by taking into a plane model of and completing the edges that touch the sides of (on identified points) with curves (without self-intersections) outside of the polygon. See Figure 4.2. We say that a curve that connects two (identified) points of sides with the same label is an -curve. All -curves, for fixed, must be drawn in such a way that they do not cross each other. They can be drawn as concentric arcs, for example. Notice that every -curve crosses all the -curves, for . These curves must be drawn in a way such that each -curve crosses each -curve once, and these crossings are the only crossings outside . An edge may contain multiple -curves. Let be a set of edges of . Denote by the number of -curves that are contained in the edges of in the drawing . For example, for the planarization in Figure 4.2, we have and .
We will use the planarization of a matching-even drawing to prove the main result of this section.
Theorem 4.2. Let G be a graph. Then,
Proof. Let . Let be the orientable surface of genus . Let be a plane model of and let be a planarization in of a matching-even drawing

Figure 4.2: A planarization of a drawing of on the double torus. We did not try to minimize the number of crossings (in fact, is embeddable in the torus).
of on . By Theorem 4.1, we know there is a crossing orientation of in the drawing . Define the -symbolic function by
for . We want to show that is a pfaffian -symbolic orientation.
4.2.1. For every , .
Proof. Let be a perfect matching of . Since is a planarization of a matching-even drawing, the number of crossings of in inside is even. Therefore only the crossings outside are relevant for counting modulo 2. The only crossings outside are formed by -curves with -curves, for every . Since each -curve crosses each -curve once, the number of such crossings in is . Therefore,
By the construction of , we have that, for ,
The claim follows by replacing in (5).
Recall that, since is a crossing orientation in , for every perfect matching of . Therefore, given that is a function of , we obtain that is a function of . We conclude that, for every two perfect matchings and with different signs in , holds. By definition, is pfaffian and , as we wanted to prove.
Due to Theorem 1.3 we know that the theorem above is sharp. Indeed, the class of graphs with ( ) is equal to the class of graphs with ; also, the graphs with are the graphs with . We could not help but wonder if in general is equal to . This would imply that our main result, Theorem 2.3, is equivalent to Norine's Theorem 1.2. In the next section, we prove that this is not true by showing a graph with odd symbolic pfaffian number.
5 A graph with odd symbolic pfaffian number
In Figure 5.1 we have a pfaffian 3-symbolic orientation of the graph , a graph with symbolic pfaffian number equal to three.

Figure 5.1: A pfaffian 3-symbolic orientation of . The vector is shown at the side and parallel to the corresponding edge . The zero vectors are omitted.
To show that the 3-symbolic orientation in Figure 5.1 is indeed pfaffian, we list all perfect matchings of , their signs in and the vectors they are mapped to by in Table 5.1. It is clear that perfect matchings with different signs are separated by ; thus is pfaffian and . We also have a constructive proof to show that , but we omit it here because the results necessary for that construction are out of the scope of this paper. In an unpublished work, we proved that [11]; hence, we can conclude that by Corollary 3.8.
| +1 | (0, 0, 1) | |
| +1 | (0, 1, 0) | |
| -1 | (0, 1, 1) | |
| +1 | (0, 0, 0) | |
| +1 | (0, 0, 0) | |
| +1 | (0, 0, 0) | |
| -1 | (0, 1, 1) | |
| +1 | (0, 0, 0) | |
| +1 | (1, 0, 1) | |
| +1 | (1, 1, 0) | |
| -1 | (1, 0, 0) | |
| -1 | (1, 0, 0) | |
| +1 | (0, 0, 1) | |
| +1 | (0, 1, 0) | |
| -1 | (0, 1, 1) | |
| +1 | (0, 0, 0) | |
| +1 | (1, 1, 0) | |
| +1 | (1, 0, 1) | |
| -1 | (1, 1, 1) | |
| -1 | (1, 1, 1) | |
| -1 | (0, 1, 1) | |
| -1 | (0, 1, 1) | |
| +1 | (0, 0, 0) | |
| -1 | (0, 1, 1) |
Table 5.1: Perfect matchings of with signs in D and vectors in for the pfaffian 3-symbolic orientation of Figure 5.1
6 Conclusion
We have proven the following relations of the pfaffian number and the symbolic pfaffian number of a graph G:
The lower bound is sharp for pfaffian graphs, but we have seen that it can be improved for graphs with and . We believe that the lower bound can be greatly improved in general. The fact that the cost for applying the symbolic pfaffian method to count the number of perfect matchings of G is exponential in suggests that the real lower bound for is exponential in .
Conjecture 6.1. .
In particular, we know that but grows exponentially with n. Indeed, by Theorem 1.5 and Corollary 2.5, we know that
It is an open problem to close this gap and settling our conjecture above would show that the upper bound is tight.
On the other hand, we have concluded that the Galluccio-Loebl-Tesler Theorem, namely, the upper bound , is a particular case of a more general method that does not involve embeddings on surfaces. We do not know, however, how to efficiently compute , so our result does not directly imply an algorithm for counting perfect matchings. Despite that, since the proof of Theorem 2.3 is constructive, it opens the possibility to obtain FPT algorithms by constructing pfaffian d-symbolic orientations with d bounded by a graph parameter.
It is worth mentioning that there are different versions of the symbolic pfaffian method, with vectors over abelian groups different from GF(2). For instance, Tesler [25] considered the symbolic pfaffian method over GF(4) to compute the generating function of perfect matchings using embeddings on non-orientable surfaces. Also, Babenko and Vyalyi [1] and Vyalyi [27] found bounds for the symbolic pfaffian number over Z (besides over GF(2)). To the best of our knowledge, these other variants of the symbolic pfaffian method are largely unexplored.
Acknowledgments
We would like to thank Lucas Collucci for his comments that helped simplifying some of our linear algebra arguments.
References
[1] Babenko, Alina V. and Mikhail N. Vyalyi: On the linear classification of even and odd permutation matrices and the complexity of computing the permanent. Computational Mathematics and Mathematical Physics, 57(2):362–371, 2017. doi:10.1134/s0965542517020038.
[2] Björklund, Andreas: Counting perfect matchings as fast as Ryser. In Proceedings of the 23rd annual ACM-SIAM Symposium on Discrete Algorithms, pages 914–921, 2012. doi:10.1137/1.9781611973099.73.
[3] Bondy, John A. and Uppaluri S. R. Murty: Graph Theory. Springer, 2008. doi:978-1-84628-970-5.
[4] Brush, Stephen G: History of the Lenz-Ising model. Reviews of modern physics, 39(4):883, 1967. doi:10.1103/revmodphys.39.883.
[5] Costa Moço, Roberta R. M., Alberto A. A. Miranda, and Cândida Nunes da Silva: The signature matrix for 6-Pfaffian graphs. In XI Latin and American Algorithms, Graphs and Optimization Symposium., volume 195, pages 298–305, 2021. doi:10.1016/j.procs.2021.11.037.
[6] Firby, Peter A. and Cyril F. Gardiner: Surface Topology. Woodhead Publishing, third edition, 2001. doi:10.1533/9780857099679.
[7] Galluccio, A. and M. Loebl: On the theory of Pfaffian orientations. I. Perfect matchings and permanents. Electronic Journal of Combinatorics, 6, 1998. doi:10.37236/1438.
[8] Gutman, Ivan: Topological properties of benzenoid systems. Theoretica Chimica Acta, 45:309–315, 1977. doi:10.1007/bf00554539.
[9] Herndon, William C.: Resonance theory and the enumeration of Kekule structures. Journal of Chemical Education, 51(1):10, 1974. doi:10.1021/ed051p10.
[10] Hoffman, Kenneth and Ray Kunze: Linear Algebra. Prentice-Hall, second edition, 1971.
[11] Junchaya, Enrique, Cláudio L. Lucchesi, and Alberto A. A. Miranda: A structural characterization of pfaffian 4-orientations. Unpublished.
[12] Junchaya, Enrique, Alberto A. A. Miranda, and Cláudio L. Lucchesi: Lower Bounds for the Pfaffian Number of Graphs. In 52nd International Workshop on Graph-Theoretic Concepts in Computer Science, volume 376 of LIPIcs, pages 28:1–28:15, 2026. doi:10.4230/LIPIcs.WG.2026.28.
[13] Kasteleyn, Pieter W.: Dimer statistics and phase transitions. Journal of Mathematical Physics, 4:287–293, 1963. doi:10.1063/1.1703953.
[14] Kasteleyn, Pieter W.: Graph theory and crystal physics. Graph theory and theoretical physics, pages 43–110, 1967.
[15] Kenyon, Richard: Lectures on dimers. In Statistical mechanics, volume 16 of IAS/Park City Mathematics Series, pages 191–230. American Mathematical Society, 2009. doi:10.1090/pcms/016/04.
[16] Krenn, Mario, Xuemei Gu, and Anton Zeilinger: Quantum Experiments and Graphs: Multiparty States as Coherent Superpositions of Perfect Matchings. Physical review letters, 119(24):240403, 2017. doi:10.1103/PhysRevLett.119.240403.
[17] Lovász, László and Michael D. Plummer: Matching Theory. Number 29 in Annals of Discrete Mathematics. Elsevier Science, 1986.
[18] Lucchesi, Cláudio L. and Uppaluri S. R. Murty: Perfect Matchings: A Theory of Matching Covered Graphs. Springer International Publishing AG, 2024. doi:10.1007/978-3-031-47504-7.
[19] Mahajan, Meena, P. R. Subramanya, and V. Vinay: A Combinatorial Algorithm for Pfaffians. In Computing and Combinatorics, pages 134–143. Springer Berlin Heidelberg, 1999. doi:10.1007/3-540-48686-0_13.
[20] McCuaig, William: Pólya's Permanent Problem. Electronic Journal of Combinatorics, 11, 2004. doi:10.37236/1832.
[21] Norine, Serguei: Drawing 4-Pfaffian graphs on the torus. Combinatorica, 29:109–119, 2009. doi:10.1007/s00493-009-2354-0.
[22] Pant, Priyanshu and Ranveer Singh: Exponential Lower Bounds for the Pfaffian Number of Graphs. arXiv preprint, 2026. doi:10.48550/arXiv.2605.21077.
[23] Ringel, Gerhard and John W. T. Youngs: Solution of the Heawood map-coloring problem. Proceedings of the National Academy of Sciences, 60(2):438–445, 1968. doi:10.1073/pnas.60.2.438.
[24] Robertson, Neil, Paul D. Seymour, and Robin Thomas: Permanents, Pfaffian orientations and even directed circuits. Annals of Mathematics, 150:929–975, 1999. doi:10.2307/121059.
[25] Tesler, Glenn: Matchings in graphs on non-orientable surfaces. Journal of Combinatorial Theory, Series B, 78:189–231, 2000. doi:10.1006/jctb.1999.1941.
[26] Valiant, Leslie: The complexity of computing the permanent. Theoretical Computer Science, 8:189–201, 1979. doi:10.1016/0304-3975(79)90044-6.
[27] Vyalyi, Mikhail N.: Counting the number of perfect matchings, and generalized decision trees. Problems of Information Transmission, 57(2):143–160, 2021. doi:10.1134/s0032946021020046.