Transfer-Matrix Methods meet Ehrhart Theory
Alexander Engstr\"om, Florian Kohl

TL;DR
This paper explores the intersection of transfer-matrix methods and Ehrhart theory to jointly enumerate combinatorial structures with two parameters, revealing symmetries and geometric interactions.
Contribution
It introduces a novel approach to jointly enumerate structures in transfer-matrix and Ehrhart frameworks, extending classical methods to handle two free parameters.
Findings
Symmetry exploitation reduces computational complexity.
Joint enumeration reveals new polynomial and quasi-polynomial behaviors.
Connections between graph colorings and lattice point enumeration are established.
Abstract
Transfer-Matrix Methods originated in physics where they were used to count the number of allowed particle states on a structure whose width is a parameter. Typically, the number of states is exponential in One more mathematical instance of this methodology is to enumerate the proper vertex colorings of a graph of growing size by a fixed number of colors. In Ehrhart theory, lattice points in the dilation of a fixed polytope by a factor are enumerated. By inclusion-exclusion, relevant conditions on how the lattice points interact with hyperplanes are enforced. Typically, the number of points are (quasi-) polynomial in The text-book example is that for a fixed graph, the number of proper vertex colorings with colors is polynomial in This paper investigates the joint enumeration problem with both parameters and free. We start off with the classical…
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.
Transfer-Matrix Methods meet Ehrhart Theory
Alexander Engström
Florian Kohl
Abstract
Transfer-matrix methods originated in physics where they were used to count the number of allowed particle states on a structure whose width is a parameter. Typically, the number of states is exponential in One mathematical instance of this methodology is to enumerate the proper vertex colorings of a graph of growing size by a fixed number of colors.
In Ehrhart theory, lattice points in the dilation of a fixed polytope by a factor are enumerated. By inclusion-exclusion, relevant conditions on how the lattice points interact with hyperplanes are enforced. Typically, the number of points are (quasi-) polynomial in The text-book example is that for a fixed graph, the number of proper vertex colorings with colors is polynomial in
This paper investigates the joint enumeration problem with both parameters and free. We start off with the classical graph colorings and then explore common situations in combinatorics related to Ehrhart theory. We show how symmetries can be explored to reduce calculations and explain the interactions with Discrete Geometry.
A. Engström, Aalto University Department of Mathematics, P.O. Box 11100, FI-00076 Aalto, Finland
E-mail address, A. Engström: [email protected]
F. Kohl, Freie Universität Berlin, FB Mathematik and Informatik, Institut für Mathematik,Arnimallee 3, 14195 Berlin, Germany
E-mail address, F. Kohl: [email protected]
1 Introduction
Graph colorings have been intriguing mathematicians and computer scientists for decades. Historically, graph colorings first appeared in the context of the -color conjecture. Birkhoff — trying to prove said conjecture — introduced what is now called the chromatic polynomial. Whitney later generalized this notion from planar graphs to arbitrary graphs, see [Whi32]. Chromatic polynomials are one of the fundamental objects in algebraic graph theory with many questions about them still unanswered. For instance, in 1968 Read asked which polynomials arise as chromatic polynomials of some graph. This question remains wide open to this day. However, some progress has been made. In 2012, June Huh showed that the absolute values of the coefficients form a log-concave sequence, see [Huh12, Thm. 3], thus proving a conjecture by Rota, Heron, and Welsh. Not only classifying chromatic polynomials is extremely challenging, but also explicitly computing the coefficients turns out be -hard, see [JVW90].
In the first part of this article, we examine proper -colorings of Cartesian graph products of the form and , where is an arbitrary graph and () is the path (cycle) graph on nodes, respectively. The motivation for this problem is twofold.
First, it lies at the intersection of transfer-matrix methods and Ehrhart theory, both areas being interesting in their own right. Classically, transfer-matrix methods have been used to count the number of (possibly closed) walks on weighted graphs. However, transfer-matrix methods also made an appearance in seemingly unrelated areas such as calculating DNA-protein-drug binding in gene regulation [Tei07], the -dimensional dimer problem [Ciu98], counting graph homomorphisms [LM08], computing the partition function for some statistical physical models [FLS07], and determining the entropy in physical systems [FP05]. One of the big problems in these applications is that the size of the transfer matrices increases extremely fast as the size of the system increases. Therefore, one needs to either limit the size of the system or find a way of “compactifying” these transfer matrices. In [Ciu98], Ciucu uses symmetry to reduce the size of the matrix. We follow and expand these ideas. Similar techniques have also been used by [LM08]. Ehrhart theory is the study of integer points in polytopes and as such it appears in various disguises anytime someone tries to examine/count/find Diophantine solutions to a system of linear inequalities with bounded solution set. Moreover, it is related to algebraic geometry and commutative algebra [CLS11, Sta96, BH93], optimization [BP03, Stu96], number theory [BBK*+*15, BK14, Pom93], combinatorics [Sta96, BR15], and — for this article most importantly — to proper graph colorings [BZ06].
Second, this problem also has direct applications to physics: If represents a molecular structure, then corresponds to several connected layers of that molecular structure. The colors correspond to different states of the atoms. Counting the number of possible combinations is the same as counting the number of colorings. If we furthermore assume that two adjacent atoms are not allowed to be in the same state, we arrive at a classical proper coloring problem. Since is very large in physical systems and also may vary, the (doubly or single) asymptotic behavior is of interest.
Our work combines transfer-matrix methods with Ehrhart theory. As an intermediate step, we examine proper colorings of a graph, where some nodes are already colored. We call these colorings restricted colorings. The associated counting function is a polynomial and it satisfies a reciprocity statement.
Theorem** (Theorem 5.13).**
Let be a graph and fix a proper -coloring on the induced subgraph for a subset . Then, for , the restricted chromatic polynomial
[TABLE]
is a polynomial of degree with leading coefficient , whose coefficients alternate in sign, and whose absolute values of the coefficient form a log-concave sequence, i.e., holds for . The second highest coefficient is given by
[TABLE]
Moreover, we have the reciprocity statement
[TABLE]
where is a pair of an acyclic orientation and a compatible (not necessarily proper) -coloring, , of .
In Definition 5.4, using a group action and restricted -colorings, we define a compactified transfer matrix . The rows and columns of are labeled by orbits , , , of this group action, see Definition 5.1. As it turns out, all entries of are polynomials in :
Theorem** (Theorem 5.14).**
With the notation from above and with , we have:
Every entry equals the sum of Ehrhart polynomials of lattice inside-out polytopes of dimension and hence is a polynomial of degree , 2. 2.
* is independent of the choice of the representative, i.e., it is well-defined,* 3. 3.
, where
[TABLE]
The matrix in fact behaves like a transfer matrix:
Theorem** (Theorem 5.17).**
Let and let be any graph. Let be the orbits as defined in Definition 5.1. Then, for , the -entry of counts the number of proper -colorings of , where is fixed by a coloring in orbit , and where the coloring of lies .
Moreover, can be used to explicitly compute the chromatic polynomial of .
Corollary** (Corollary 5.20).**
Let and be as above. Then
[TABLE]
where is the size of and .
The row sums of this matrix also satisfy a reciprocity theorem:
Theorem** (Theorem 5.26).**
Let be as above, let be the row sum of , and let . Then, for , we have
[TABLE]
where is a pair of an acyclic orientation and a compatible -restricted -coloring .
Asymptotically, the power of the biggest eigenvalue of determines the number of proper colorings of . We give explicit bounds of this eigenvalue in terms of the row sums. Let and be the smallest and biggest row sums of , respectively.
Proposition** (Proposition 5.31).**
Let be a graph and and let and be as above. Then the doubly asymptotic behavior of the number of proper -colorings of is dominated by and
[TABLE]
where , , , and .
In the second part of this note, we show that a similar philosophy can be used to count the number discrete Markov chains. In (24), we define a matrix that also acts as a transfer matrix.
Theorem** (Theorem 6.1).**
With the previous notation, we have:
- •
the number of chains of length is given by
[TABLE]
- •
the number of chains so that no element is increased by more than is given by
[TABLE]
where no indeterminate can have a degree bigger than .
We show that this method can be used to count the number of order-preserving maps from a certain class of posets — which we call stacked posets — into .
Proposition** (Proposition 6.9).**
Let be a stacked poset. The number of surjective, order-preserving maps from into is given by
[TABLE]
where and where denotes the terms whose total degree equals .
This article is structured as follows. In Section 3, we introduce some basic notions about graphs. In particular, we introduce proper colorings, acyclic orientations, and the Cartesian graph product. In Section 4, we introduce a transfer-matrix method and show how one can use this to count the number of proper colorings when the number of colors is fixed. We then — following [BZ06] — introduce inside-out polytopes and show how to count proper colorings of when is fixed. In Section 5, we illustrate how one can use symmetry to define a compactified transfer matrix , whose size does not depend on . We state and prove our main results about this matrix . We end this section, with a brief interlude on counting the number orbits under a group action, where Bell numbers make a surprising appearance. We then switch gears for Section 6, where we show that a similar approach can be used to count discrete Markov chains.
2 Acknowledgement
We would like to thank the anonymous referee for helpful suggestions and constructive criticism. The first author wants thank Günter M. Ziegler and FU Berlin for their hospitality during his sabbatical, which is where this work began. The second author was supported by a scholarship of the Berlin Mathematical School. He would like to thank the first author and Aalto University for their hospitality and their support during a month-long research stay. He would also like to thank Christian Haase for fruitful discussions and his support.
3 Background and Notation
This section reviews basic concepts about graphs such as proper -colorings, the chromatic polynomial, and the Cartesian product of graphs. We end this section by stating two explicit counting problems that we address in Section 5, see Problem 3.4.
For , we set . A graph is a pair , where is the set of nodes or vertices and is the set of edges. We assume all our graphs to be finite and we globally set . Moreover, we define the path graph to be the graph on the vertex set with edges for . We also define the cycle graph to be the graph with vertex set and with edge and . A graph automorphism of a graph is a permutation of the vertex set such that is an edge if and only if is an edge. The set of automorphisms of a graph together with the composition operation forms a group, which is called the automorphism group of .
This article mainly focuses on a special family of graphs, namely the Cartesian product of an arbitrary graph with either the path graph or the cycle graph .
Definition 3.1**.**
Let and be two graphs. The Cartesian product (sometimes in the literature also denoted ) is the graph with vertex set , and vertices and are connected by an edge if
- •
either and ,
- •
or if and .
Figure 1 illustrates Definition 3.1.
A proper -coloring of a graph is a map such that for all , with . We refer to the elements of as colors.
We would like to count proper -colorings. For a graph , we define the chromatic polynomial of as the counting function
[TABLE]
As the name suggests, agrees with a polynomial.
Theorem 3.2** ([Whi32]).**
Let be a simple graph on vertices. Then is a monic polynomial in of degree .
This polynomial extends the domain of from to . Therefore, it is natural to ask whether other evaluations also have a combinatorial interpretation. Stanley [Sta12] famously gave an interpretation for evaluations at negative integers by relating it to acyclic orientations. An acyclic orientation of a graph is an orientation of the edges such that the directed graph does not contain any cycles.
Given an acyclic orientation of a graph and given a (not necessarily proper -coloring) , we say that are compatible if , where , whenever the orientation of the edge is . We give Beck’s and Zaslavsky’s reformulation of [Sta73, Theorem 1.2]:
Proposition 3.3**.**
[BZ06*, Cor. 5.5]**
The number of pairs consisting of an acyclic orientation of an ordinary graph and a compatible -coloring equals , where is the number of vertices of . In particular, equals the number of acyclic orientations of .*
We will later come across what we call a -restricted, proper -coloring. Let be a graph and fix a proper -coloring on the induced subgraph of a subset , i. e., a proper -coloring on the graph , where . Then, for , we define the *-restricted chromatic polynomial *
[TABLE]
This name will be justified in Theorem 5.13, where we will also state a restricted analogue of Proposition 3.3. A not necessarily proper -restricted -coloring is compatible with an acyclic orientation if
are compatible in the usual sense, 2. 2.
and if is adjacent to , , , with , then the orientations of the edges have to be the same for all .
We are now ready to state the main problems of the first part of this article:
Problem 3.4**.**
How many proper -colorings does the Cartesian graph product have? 2. 2.
Asymptotically, how many proper -colorings does the Cartesian graph product have?
We would like to remark that both and are variables. Hence, there are two prominent special cases which we will address in Section 4:
is fixed and varies (see Section 4.1), 2. 2.
is fixed and varies (see Section 4.2).
4 Prominent Special Cases
4.1 Transfer-Matrix Methods
In this section, we want to introduce a transfer-matrix method and apply it to Problem 3.4 in the case where is fixed. We follow the notation and the results of [Sta12, Section 4.7].
One of the most basic applications of transfer-matrix methods is counting the number of walks in a given graph. A walk of length from node to node is a sequence of edges and vertices such that the endpoints of are and . By abuse of notation, we will abbreviate this notation to . A walk where is called a loop. Let be a weight function. If is a walk, then the weight of is defined as . We will now define a matrix by
[TABLE]
where the sum ranges over all walks of length from vertex to vertex . Moreover, we define another matrix by
[TABLE]
where the sum ranges over all edges going from vertex to vertex . is called the adjacency matrix of , but we will sometimes call it the transfer matrix of . The following theorem forms one of the building blocks of transfer-matrix methods:
Theorem 4.1**.**
[Sta12, Thm. 4.7.1]
Let . Then , where we define and where is the -entry of the matrix .
Remark 4.2**.**
In particular, if , then counts the number of walks from to of length . Moreover, the number of closed walks is counted by trace of . Since trace is the sum of the eigenvalues, and since the biggest eigenvalue is positive by the Perron–Frobenius theorem, the trace is asymptotically dominated by .
Now let us fix and apply transfer-matrix methods to Problem 3.4. Let be a graph with vertex set . To count the number of proper -colorings of , we associate a new graph to . We define to be the graph with
- •
vertex set , where is the set of proper -colorings of ,
- •
and where two vertices and are connected if for all .
Figure 4 shows for colors.
This construction establishes a connection between -colorings of () and walks (closed walks) of length in , respectively. By abuse of notation, let be a walk on . By construction, this walk corresponds to the proper -coloring of , where is colored by for all . Similarly, if the walk is closed and thus , we get a corresponding proper -coloring of . Therefore, we can count the number of -colorings of by computing powers of the adjacency matrix of . Moreover, we can asymptotically count the number of colorings of by analyzing the biggest eigenvalue of .
The size of the transfer matrix is , since the number of vertices of is the number of proper -colorings of . Figure 5 shows for colors.
In Section 5, we establish a compactified transfer matrix whose size does not depend on and which can be used to count the number of proper -colorings of for all . Furthermore, we show that the biggest eigenvalue of equals the biggest eigenvalue of for all . We also give a combinatorial and a geometric interpretation for the entries of .
4.2 Ehrhart Theory and Inside-Out Polytopes
Throughout this section, let be fixed. This implies that the size of the graphs and is fixed, too. Under this assumption, Problem 3.4 reduces to computing the chromatic polynomial of a given graph. We will use the perspective of inside-out polytopes and Ehrhart theory developed by Beck and Zaslavsky [BZ06] to understand chromatic polynomials. For a nice introduction to Ehrhart theory, we refer the interested reader to [BR15].
The fundamental geometric objects in this section are polytopes. A (convex) polytope is the convex hull of finitely many points , ,, , and we write
[TABLE]
The inclusion-minimal set such that is called the vertex set and its elements are called the vertices of . If the vertex set is contained in , we say that is a lattice polytope.
If is the dimension of the affine hull of , we call a -polytope. Polytopes form an intruiging subject in itself, and we refer the interested reader to [Zie95]. For positive integers , we define the counting function
[TABLE]
The function is called the Ehrhart function of . Ehrhart [Ehr62] famously proved that is a quasipolynomial if the vertices of are rational and it is even a polynomial if the vertices are integer points. The leading coefficient of the Ehrhart (quasi-)polynomial is given by the volume of the polytope and if is a lattice polytope, the constant coefficient equals 1. The following result was conjectured by Ehrhart, but first proven in full generality by Macdonald [Mac71, Prop. 4.1].
Theorem 4.3** (Ehrhart-Macdonald reciprocity).**
Let be a -dimensional rational polytope. Then
[TABLE]
where counts the number of integer points in the interior of .
The following definitions are taken from [BZ06]. A hyperplane arrangement is a set of finitely many linear or affine hyperplanes in . An *open region *is a connected component of . A closed region is the topological closure of an open region. Moreover, we define the intersection semilattice
[TABLE]
where the order is given by reverse inclusion. The minimal element is . The elements of are sometimes called flats. is therefore a partially ordered set — or poset for short — and we recursively define the Möbius function by
[TABLE]
The characteristic polynomial of a hyperplane arrangement is defined as
[TABLE]
June Huh has shown that the coefficients of are alternating in sign and the absolute value of the coefficients form a log-concave sequence, see [Huh12, Thm. 3].
Let be a rational, closed, convex -polytope and let be an arrangement of rational hyperplanes that meets transversally, i. e., every flat
[TABLE]
that intersects the topological closure of also intersects the interior . Here rational means that all vertices of lie in and all hyperplanes in are specified by equations with rational coefficients. Following [BZ06], we call a rational inside-out polytope. A region of is one of the components of or the closure of one such component. If the vertex set is a subset of , we call a lattice inside-out polytope. The multiplicity of with respect to is
[TABLE]
The multiplicity with respect to is
[TABLE]
We define the closed Ehrhart quasipolynomial
[TABLE]
where and denotes the dilate of . Similarly, we define the open Ehrhart quasipolynomial
[TABLE]
With the notation from above, we have:
Theorem 4.4** ([BZ06, Thm. 3.1]).**
Let be a -dimensional polytope and let be a hyperplane arrangement not containing the degenerate hyperplane . Then
[TABLE]
and if is transverse to , we have
[TABLE]
where is the Möbius function of .
Since we assume to be full-dimensional, the hyperplane arrangement subdivides into closed regions , , , . Moreover, we have that
[TABLE]
where is the classical Ehrhart quasipolynomial of the closed region , and the interior of is with respect to the topology of the ambient space , see [BZ06, (4.2)]. We remark that does not count any integer point on the facets of , whereas also counts integer points on facets. Furthermore, there is a reciprocity result:
Theorem 4.5** ([BZ06, Theorem 4.1]).**
If is a -dimensional lattice inside-out polytope, then and are polynomials of degree and they also satisfy the reciprocity theorem
[TABLE]
In Section 5.2, we will intersect inside-out polytopes with hyperplanes, so we will need the following:
Corollary 4.6** ([BZ06, Corollary 4.3]).**
Let be a discrete lattice in , let be a -fractional convex polytope, i. e., all vertices of lie in for some , and let be a hyperplane arrangement in that does not contain the degenerate hyperplane. Then and are quasipolynomials in that satisfy the reciprocity law
[TABLE]
The next result connects inside-out polytopes to proper colorings of graphs.
Theorem 4.7** ([BZ06, Theorem 5.1]).**
Let be an ordinary graph on vertices and let . Moreover, we define
[TABLE]
Then
[TABLE]
Remark 4.8**.**
The intuition behind this theorem is the following: Every integer point in the interior of corresponds to a (not necessarily proper) coloring of . If contains the edge , then any proper coloring cannot have an integer point on the hyperplane . Therefore, every integer point in corresponds to a proper coloring of and vice versa.
One immediate consequence of Theorem 4.7 is that is a polynomial of degree and the leading coefficient is , as the sum of the volumes of the regions of the subdivided cube equals .
5 Transfer-Matrix Methods Meet Ehrhart Theory
5.1 Enter Symmetry
In this section, we combine transfer-matrix methods with Ehrhart theory. We will use group actions and orbits to introduce a compactified transfer matrix , whose size does not depend on . There are two types of symmetries that appear. Firstly, the set of proper -colorings in Problem 3.4 stays invariant under a permutation of colors. Simply renaming the colors does not change the graph . For example, in Figure 4, the vertex has as many neighbors as the vertex . Secondly, the graph itself also has a symmetry group, called the automorphism group of . We first quotient by the group coming from permuting the colors and then we quotient out by a possibly trivial subgroup of the automorphism group.
Definition 5.1**.**
Let be a simple graph on vertices and let be the set of proper -colorings, where . Let be the symmetric group on elements and let be a possibly trivial subgroup of the automorphism group of . The group acts on by permuting the colors and it gives rise to orbits . The group is acting on giving rise to orbits .
Example 5.2**.**
Let . We first quotient by permutations of colors. This group action induces orbits , , , (as computer generated in no particular order):
[TABLE]
The automorphism group of is the dihedral group generated by and The 11 partitions of the vertex set end up in 3 orbits ,, and after quotienting by the dihedral group. The classes are represented by:
[TABLE]
Remark 5.3**.**
For , quotienting by always gives the same number of orbits. This is due to the fact that every orbit can be seen as a partition of the vertex set into independent sets. In particular, the number of orbits is finite. Therefore, we also get that the number of orbits is the same for all . In Definition 5.1, we only assume that is a subgroup of the automorphism group, as it is in general difficult to determine the full automorphism group.
This enables us to define a matrix encoding the necessary combinatorial information, whose size is independent of the number of colors . Following the arguments described in [Ciu98], we give the following definition:
Definition 5.4**.**
Let be a graph on nodes. Let , , , be orbits as defined in Definition 5.1 and let be any integer. Let be the transfer matrix of the graph . We define a matrix whose entries are given by
[TABLE]
where the sum ranges over all elements in orbit and where is any row of that corresponds to a representative of orbit . is called the compactified transfer matrix of .
We want to illustrate this definition for . The general case will be treated in Example 5.15.
Example 5.5**.**
We illustrate this procedure in the following example, where . The orbits are and , so we can expect a matrix . In this matrix, the -entry counts the number of colorings where the first is colored by a fixed representative of and the second is colored by any element in .
Figure 5 shows the transfer matrix for 4-colorings of . By following Definition 5.4 for , we can quotient out the orbits and we obtain the matrix
[TABLE]
which has the same maximal eigenvalue as the original transfer matrix in Figure 5, see Corollary 5.8. The entries of equal the row sums within each orbit/rectangle of the matrix in Figure 5.
Remark 5.6**.**
It also makes sense to define for . However, the size of will be smaller as not all orbits appear. For instance, the orbit, where all colors are different, cannot appear if . As we will see in Corollary 5.20, it makes sense to talk about even for provided we multiply by appropriate row weights that are [math] if is too small for an orbit to appear.
Since the entries of are nonnegative integers, the Perron-Frobenius theorem ensures that the biggest eigenvalue is real and positive. Furthermore, the following lemma implies that the biggest eigenvalue of and the biggest eigenvalue of agree.
Lemma 5.7** ([Ciu98], Lemma 3.2).**
If is a nonnegative matrix that commutes with a group of permutation matrices , then the largest eigenvalue of is the same as the largest eigenvalue of acting on the subspace of -invariants.
Corollary 5.8**.**
With the notation from above, the biggest eigenvalue of and the biggest eigenvalue of agree.
Remark 5.9**.**
There is also a combinatorial reformulation of Definition 5.4. counts the number of colorings of , where is colored by a fixed representative of and the coloring of is in .
In Section 5.2, we will see that the entries of are indeed polynomials in . We also give a geometric interpretation of the entries.
5.2 Ehrhart Theory and Symmetry
As we have seen in Remark 5.9, the entries of can be interpreted as counting proper -colorings where one part of the graph is fixed by a coloring and another part has to lie in a given orbit. In this section, we will use inside-out polytopes to show that this counting function is indeed a polynomial. However, we first start with a small result concerning graph colorings that lie in a given orbit.
Let be a finite, simple graph and let be an orbit as defined in Definition 5.1, i. e., we do not quotient out by graph automorphisms. The graph determines a hyperplane arrangement
[TABLE]
We define the -restricted chromatic polynomial
[TABLE]
As mentioned above, every orbit can be described by a partition of the vertex set into independent sets. Vertices in the same independent set are colored by the same color. Hence, for every independent set , we get an additional hyperplane arrangement
[TABLE]
Moreover, we also get a hyperplane arrangement
[TABLE]
of forbidden hyperplanes by requiring that elements in different independent sets have different colors. Lastly, we define the hyperplane arrangement
[TABLE]
With this set-up, we now have:
Theorem 5.10**.**
Let , , and be defined as above. Moreover, let
[TABLE]
Then
[TABLE]
where is the number of colors used in orbit . Furthermore, is a polynomial of degree with leading coefficient .
Proof.
We first note that is an -dimensional lattice inside-out polytope with volume (seen as an -dimensional polytope). The hyperplane arrangement subdivides into regions , , , where . We know that counts the integer points in the relative interior of the -dilate of these regions. The integer points in these regions correspond to proper -colorings of that lie in , and every proper -coloring in corresponds to an integer point in a for some , which proves (12). The claim about the degree of follows from the dimension and volume of . ∎
Remark 5.11**.**
The same result could also be obtained by forming a quotient graph where all vertices in the independent sets of get identified. Now counting proper -colorings of this quotient graph is the same as counting proper -colorings that lie in . This however does not directly work if the also quotient out by graph automorphisms.
Remark 5.12**.**
The statement and the proof still hold for an orbit if we additionally quotient out by graph automorphisms, except that the leading coefficient will be the number of orbits that are in the preimage of orbit .
We now want to apply this geometric setting to the transfer-matrix theory to interpret the entries of in terms of Ehrhart polynomials. Recall that we want to color , where is a graph on nodes. In the classical setting, we have a subdivision of the -dimensional unit cube stemming from the edges of the graph . However, we want to further refine this subdivision according to the orbit structure. As we will see, this subdivision nicely resembles the symmetry of the orbits.
Let be a graph with vertices , let be defined as in Definition 5.1, and let . Pick a representative of such that and color the first vertices accordingly. This defines a -restricted coloring of , which we will call an -restricted coloring. Recall that counts the number of -restricted colorings such that the coloring of is an element of .
Since the entries will correspond to restricted colorings, we first state a general result about restricted colorings. It is quite possible that this result is already known and it has a similar flavor as [BZ06, Thm. 4.1].
Theorem 5.13**.**
Let be a graph and fix a proper -coloring on the induced subgraph for a subset . Then, for , the restricted chromatic polynomial
[TABLE]
is a polynomial of degree with leading coefficient , whose coefficients alternate in sign, and whose absolute values of the coefficient form a log-concave sequence, i.e., holds for . The second highest coefficient is given by
[TABLE]
Moreover, we have the reciprocity statement
[TABLE]
where is a pair of an acyclic orientation and a compatible (not necessarily proper) -coloring, , of .
Proof.
Let be the hyperplane arrangement coming from the edges of the graph . Let . We intersect with the hyperplanes coming from the coloring , i.e., we intersect with the hyperplanes for all . This induces a new inside-out polytope of dimension . This is illustrated in Figure 7.
Using an affine, unimodular map we can assume that is full-dimensional. The integer points in that are not in are counted by , where we assume that .
Thus, by (8) we have that
[TABLE]
Note that this is actually the characteristic polynomial, denoted , of the induced hyperplane arrangement , since . The claim about the log-concavity now follows by a result of June Huh, see [Huh12, Cor. 27]. The statement about the second highest coefficient follows, since the only terms of dimension come from flats of dimension , which are exactly the hyperplanes coming from edges such that . We remark that this polynomial is alternating in sign, again by [Huh12, Thm 3.1]. ,
[TABLE]
This — using again (9) — is equivalent to
[TABLE]
Similar to [BZ06, Proof of Cor. 5.5], one can now observe that the right-hand side counts the number of compatible pairs , where is a —not necessarily proper— -restricted -coloring and is an acyclic orientation. Here we implicitly used that while applying [BZ06, Thm 3.1]. ∎
The following theorem states some basic facts about :
Theorem 5.14**.**
With the notation from above and with , we have:
Every entry equals the sum of Ehrhart polynomials of lattice inside-out polytopes of dimension and hence is a polynomial of degree , 2. 2.
* is independent of the choice of the representative, i.e., it is well-defined,* 3. 3.
, where
[TABLE]
Proof.
We first prove the statement for the case, where we only quotient out by permutations of colors. Then we show that this implies the statement for orbits when we also quotient out by a subgroup of the automorphism group.
Let be a graph with vertices , let be the path graph on 2 vertices, and let
[TABLE]
Moreover, let . Let be given orbits of after quotienting out by permutations of colors. Let be the set of independent sets of . As above, for every , we get
[TABLE]
and we get a set of forbidden hyperplanes
[TABLE]
Now let and let
[TABLE]
Then is a lattice inside-out polytope and its dimension is
[TABLE]
We remark that this is the same hyperplane arrangement that one would obtain from a quotient graph of . This quotient graph can be obtained in the following way:
All vertices of that are in the same independent set of get identified, 2. 2.
and we turn all vertices in the image of into a clique.
Therefore, one can now apply Theorem 5.13 to see that the entries of are polynomials.
If we now furthermore quotient by graph symmetries, we by definition fix a row and add all entries that are in columns indexed by orbits that get mapped to . Thus, the the entries of are also polynomials whose leading coefficient is the number of orbits in the preimage of .
Now let and be colorings in the same orbit . Then there is a bijection of the colors mapping to . This permutation gives rise to a bijection of the lattice points in . Since counts the number of proper -colorings such that is an element of orbit and is an element of orbit and we therefore get
[TABLE]
The last statement follows, since we moded out by a graph symmetry. ∎
Now that we have seen that the entries of can be interpreted as Ehrhart polynomials of inside-out polytopes, we give an explicit example.
Example 5.15** (Example 5.5 continued).**
Again let . Recall that the orbits are and , so we can expect a matrix .
We do the same calculation as in Example 5.5, but for colors. For the matrix the entries will be polynomial for but for lower the polynomials might not make sense, as for small there are not enough colors for every orbit. On the other hand, the polynomials are of degree at most three. By explicit computer calculations for we infer that the matrix is
[TABLE]
for . In comparison, the adjacency matrix of of proper -colorings of has dimension .
In Example 5.15, the graph was so small that there was no graph automorphism identifying two orbits and . We now illustrate how the matrices are further reduced in size when the automorphisms of the underlying graphs are also considered. We first consider -colorings of with It should be noted that this question can be addressed with ad hoc methods adapted to this particular choice of but our method is completely general. In our method, we do not assume anything about
Example 5.16** (Example 5.2 continued).**
Let be the graph for which we want to calculate the chromatic polynomial of We label the edges of by and We first quotient by permutations of colors. The 11 partitions of the vertices into independent sets are (as computer generated in no particular order):
[TABLE]
Since every partition corresponds to an orbit as defined in Definition 5.1, we expect an -matrix:
The automorphism group of is the dihedral group generated by and The 11 partitions of the vertex set end up in 3 orbits after quotienting by the dihedral group. The classes are represented by:
[TABLE]
*Adding up entries from columns — indexed by orbits that get mapped to the same orbit — of the -matrix gives an even more compactified version, the matrix *
[TABLE]
5.3 Main Results
In this section, we show that defined as in Definition 5.4 behaves like a transfer matrix. We then deduce that the chromatic polynomial of can be determined by computing powers of . Moreover, we will use geometry to find an Ehrhart-theoretic interpretation for the entries of . This geometric interpretation allows us to deduce a reciprocity statement for the rows sums of . We end this section by stating results about the biggest eigenvalue of .
Let be a graph let , , , be as defined in Definition 5.1. Then is a matrix and the entry is given by
[TABLE]
The next result shows that behaves like a transfer matrix.
Theorem 5.17**.**
Let and let be any graph. Let be the orbits as defined in Definition 5.1. Then, for , the -entry of counts the number of proper -colorings of , where is fixed by a coloring in orbit , and where the coloring of lies .
Before we prove Theorem 5.17, we illustrate the statement:
Example 5.18** (Example 5.5 continued).**
Let with orbits and . Recall that
[TABLE]
Then counts the number of colorings of , where the two black dots indicate that the two corresponding nodes need to be colored by the same color.
Proof of Theorem 5.17.
We induct on . By construction, the statement is true for , so let the statement be true for for all . Now . We denote the entry of by . Then
[TABLE]
By induction hypothesis, the entry counts the number of colorings where the the coloring of is fixed by a representative in and the coloring of lies in orbit . Moreover, counts the colorings where the first is fixed by a representative in and the coloring of the second lies in . Therefore, counts the colorings where the coloring of is fixed by a representative of , the coloring of lies in , and the coloring of lies in . The sum is taken over all possible orbits and the claim follows. ∎
Remark 5.19**.**
This shows that the entries of can be interpreted as sums of Ehrhart polynomials of (induced) inside-out polytopes assuming that the dilation factor is big enough. The inside-out polytopes can be explicitly described by following the construction from the proof of Proposition 5.14.
Moreover, this enables us to directly compute the chromatic polynomial of from .
Corollary 5.20**.**
Let and be as above. Then
[TABLE]
where is the size of and .
Proof.
Let . The entry of counts the number of colorings where is colored by a representative of . By symmetry, the total number of colorings with the coloring of being in equals
[TABLE]
by Theorem 5.14. Now sums over all possible orbits and the claim now directly follows. ∎
Remark 5.21**.**
Even though the definition of implicitly assumes that the number of colors , the corollary makes sense for all . If , then the weights of the orbits using more than colors are [math].
Example 5.22** (Example 5.5 continued).**
The chromatic polynomial of is
[TABLE]
where and .
In general, the chromatic polynomial of equals
[TABLE]
where and .
Example 5.23** (Example 5.16 continued).**
*Recall that and that the matrix was given by *
[TABLE]
Define a row vector with the size of each orbit, both counting the coloring and automorphism symmetries:
[TABLE]
Let be the identity matrix and the all-ones column vector of height 3. Then we have a nice formal generating function
[TABLE]
In general, if is an matrix, we expect that
[TABLE]
by calculating using cofactors. For some there is a mysterious cancellation and the -degree of the denominator of is smaller than the size of the matrix. This is the case in our example, as
[TABLE]
*where *
[TABLE]
In the previous example, the degree of the denominator of is smaller than expected, as if there was a symmetry waiting to be accounted for.
Definition 5.24**.**
A graph has a hidden symmetry if the denominator of
[TABLE]
has a –degree less than the order of
[TABLE]
where if for a bijection of and an automorphism of
Example 5.25**.**
We have done some computer calculations to tabulate graphs with hidden symmetries. The connected graphs with at most five vertices are in Figure 11.
One could speculate that hidden symmetry is something fairly trivial, since the common factor of the numerator and denominator when calculating from cofactors is something straightforward. A piece of it usually seems be a power of But for example for the common factor is the non-trivial factor We conjecture that all paths and cycles on at least four vertices have a hidden symmetry.
Theorem 5.26**.**
Let be as above, let be the row sum of , and let . Then, for , we have
[TABLE]
where is a pair of an acyclic orientation and a compatible -restricted -coloring .
Proof.
counts the number of colorings of , where is fixed by a coloring . Now one can apply Theorem 5.13 and the claim follows. ∎
Corollary 5.27**.**
Let Then
[TABLE]
where is a pair of an acyclic orientation and compatible -coloring.
Example 5.28** (5.5 continued).**
Figure 12 illustrates Corollary 5.27 for , where , and where
[TABLE]
The orientation of the dashed edges can be chosen arbitrarily. The number below the graph gives the multiplicity of the given case. Therefore, the sum of the gray numbers (up to a sign) equals the evaluation of the second row sum of at
[TABLE]
If however one is interested in the asymptotic behavior of graphs , then we need to find good bounds for the biggest eigenvalue of , as this dominates the asymptotics. The next theorem gives an upper and a lower bound and in particular it shows that the eigenvalue grows like a polynomial of degree .
Lemma 5.29**.**
Let be the biggest eigenvalue of (and thus of the adjacency matrix ). Then
[TABLE]
where and are the smallest and biggest row sum of , respectively.
Proof.
The biggest eigenvalue of the adjacency matrix of a graph is bounded above and below by the biggest and smallest degree of the graph, respectively, see [CR90, Thm. 1]. These are exactly the biggest and smallest row sums of . ∎
Now the question of determining the biggest eigenvalue reduces to determining the smallest and biggest row sum of . This might be computationally challenging. Our next result gives a combinatorial interpretation of the two highest coefficients, which gives us a quick way to obtain the two highest coefficients without computing .
Lemma 5.30**.**
Let be orbits as defined in Definition 5.1. Let be the orbit using colors. Then and are polynomials of degree , their leading coefficient is , and
[TABLE]
where
[TABLE]
In particular, the highest two terms of both polynomials agree.
Proof.
This directly follows from Theorem 5.13. ∎
To summarize, we get:
Proposition 5.31**.**
Let be a graph and and let and be as above. Then the doubly asymptotic behavior of the number of proper -colorings of is dominated by and
[TABLE]
where , , , and .
5.4 Results on Orbit Counting
As we have seen in the previous section, we should exploit the symmetry of our problem. However, what we did not address so far is how many orbits we can expect. This subsection only deals with finding the explicit number of orbits after quotienting by permutations of colors. We identify two colorings and if there is a permutation of colors such that . We want to count the number of orbits of after taking the quotient by permutations of colors.
Let
[TABLE]
be the function that counts the number of orbits. Note that if and . Therefore, we can define for a . We didn’t find the following lemma in the literature, but it is quite possibly known.
Lemma 5.32** (Deletion-Contraction for orbits).**
Let be given and let denote the contraction of along the edge . Then
[TABLE]
Proof.
Let . This proof is analogous to the proof of deletion-contraction for the chromatic polynomial. This proof establishes a bijection between the sets
[TABLE]
where clearly . To prove , we need to show that if , are in the same orbit, then the corresponding colorings , are also in the same orbit, and vice versa.
Let and be the vertices connected by the edge and let , be two colorings in the same orbit. Then there are two cases:
If where , then , so the associated coloring is a proper coloring of . But this also means that , since the bijection does not change the coloring. 2. 2.
If , then , so the associated coloring is a proper coloring of . This again directly implies that , since does not change the coloring of and .
The other direction follows analogously.
∎
Remark 5.33**.**
Since we do not use graph symmetry, the following results give a crude upper bound for the dimension of the matrix .
Since we can now use deletion-contraction to count the number of orbits, we can successively remove all edges. This means that the number of orbits of a graph without edges is of special interest. As it turns out, the number of orbits of these graphs are counted by the Bell numbers , where
[TABLE]
Lemma 5.34**.**
Let be the graph on nodes without edges. Then
[TABLE]
where is the Bell number.
Proof.
Since we do not take graph symmetries into account, a coloring of a graph without edges corresponds to a partition of a set with labeled elements, and every such set partition corresponds to a coloring. These set partitions are counted by the Bell numbers. ∎
Bell numbers do not only appear in counting problems, but also appears as the moment in the Poisson distribution with mean . We want to finish this section by giving some small applications of deletion-contraction to count the number of orbits of path graphs and cycle graphs.
Lemma 5.35**.**
Let be the path graph on nodes. The number of orbits is
[TABLE]
Proof.
This follows from the special case from Theorem 2, [Yan96]. ∎
As a corollary, we obtain the following relation that we also didn’t find in the literature.
Corollary 5.36**.**
The Bell numbers satisfy the relation
[TABLE]
Proof.
Use (18) repeatedly on and induct on . ∎
Corollary 5.37**.**
Let denote the cycle graph on nodes. Then
[TABLE]
Proof.
Apply (18) to and induct on . ∎
Remark 5.38**.**
Deletion-contraction does not work if we mod out by graph symmetries, as the bijection in (19) does no longer hold. On the right-hand side of (19), we have removed an edge or identified two nodes, which changes the automorphism group. However, one should in principle be able to determine the number of orbits using Burnside’s lemma.
6 Counting Discrete Markov Processes
6.1 The General Setup
In this section, we want to show how we can use a similar approach to obtain results about counting discrete Markov chains. We will first formulate the result in a general form before we apply it to order polytopes of what we call stacked posets.
For us, a discrete Markov chain is a discrete-time stochastic process with random variables , where the random variables take values in a discrete set of states . Moreover, we require that a transition from state to state only depends on state and not on any previous states. A base state is a labeling of nodes by elements from with . A state is an element in the equivalence class , where and . A move is a vector and we say that is a move from state to if , where and we denote it by . We assume that for all . Now let be a finite set of states with corresponding base states and let be a finite set of moves. We define to be
[TABLE]
where and we call a transition matrix.
Similar to Theorem 5.17, records all chains of length with starting state and ending state . Therefore, records all information on chains, and we thus get the following:
Theorem 6.1**.**
With the previous notation, we have:
- •
the number of chains of length is given by
[TABLE]
- •
the number of chains so that no element is increased by more than is given by
[TABLE]
where no indeterminate can have a degree bigger than .
6.2 Application to Order Polytopes
In this section, we want to apply Theorem 6.1 to a certain class of order polytopes which are geometric objects associated to posets which were famously introduced by Stanley [Sta86]. A partially ordered set —or poset for short— is a set together with a binary relation that is reflexive, antisymmetric, and transitive, and is called a partial order on . If the poset is clear from the context, we will simply write . All our posets will be finite. To every poset , one can define the order polytope :
Definition 6.2** ([Sta86], Def. 1.1).**
The order polytope of the poset is the subset of defined by the conditions
[TABLE]
The geometry of order polytopes encodes combinatorial properties of the underlying poset. For instance, order filters of are in bijection with the vertices of . An order filter is a set such that together with implies that . The vertices are then the indicator vectors of order filters. This implies that order polytopes are always lattice polytopes. Furthermore, order polytopes are also closely related to order-preserving maps.
Definition 6.3**.**
A map between two posets and is called order-preserving if for all .
The following theorem connects the Ehrhart polynomial of order polytopes to order-preserving maps:
Theorem 6.4**.**
[Sta86*, Theorem 4.1]**
Let be a finite poset. The Ehrhart polynomial of is given by*
[TABLE]
We will apply the machinery from the previous subsection to a special class of posets, which we call stacked posets. We will then define what the states are and what the set of possible moves is.
Definition 6.5**.**
Let be a graded poset of rank satisfying
[TABLE]
We can label the elements of by , and we assume that for all . We define the stacked poset of height to be the poset with elements and with cover relations
[TABLE]
This directly implies
[TABLE]
The subposet is called the base poset.
Since is completely determined by , we will normally only give the definition of .
Example 6.6**.**
The poset with the relations ; ; and is a -stacked poset and with base poset .
Next, we define the (base) states and moves of a stacked poset.
Definition 6.7**.**
A base state of a stacked poset is given by a labeling of all elements of same degree by numbers from , , , such that if appears in the labeling, then all , , , appear too, where . We identify this base state with the vector . A move from state to is adding a vector to such that
* and contain all numbers from to ,* 2. 2.
, 3. 3.
and if we label the degree elements of by and the degree elements by , we get an order-preserving labeling.
The set of moves contains all possible moves.
As we will see, this definition enables us to determine the number of surjective, order-preserving maps of into .
Example 6.8**.**
Let with the relations ; . The base states of are , , and . The set of moves contains the elements , , , , , , , and . Therefore, we get the transition matrix
[TABLE]
Proposition 6.9**.**
Let be a stacked poset. The number of surjective, order-preserving maps from into is given by
[TABLE]
where and where denotes the terms whose total degree equals .
Proof.
The set of moves was defined so that we get an order-preserving map (condition (3)) and that the map is surjective (condition (1)). Therefore,
[TABLE]
contains all possible surjective, order-preserving maps. The terms of total degree correspond to all surjective, order-preserving maps into . ∎
Corollary 6.10**.**
Let be an -stacked poset with base poset and transition matrix , then
[TABLE]
where .
Remark 6.11**.**
This together with Proposition 6.13 shows that Ehrhart polynomials of order polytopes of stacked posets are Ehrhart positive, i. e., the coefficients of the Ehrhart polynomial in the monomial basis are positive.
Proof.
By Theorem 6.4, the Ehrhart polynomial counts the number of order-preserving maps . However, we can see that
[TABLE]
The claim now follows using Proposition 6.9. ∎
Example 6.12**.**
Let be a chain of length . Then is a stacked poset, and is unimodularly equivalent to the standard -simplex. Thus, we have
[TABLE]
On the other hand, applying Corollary 6.10, we obtain the identity
[TABLE]
We want to finish this section by stating explicit formulas for the entry where and correspond to the states and , respectively. Let be the set of elements that are covered by an element in the given poset.
Proposition 6.13**.**
The entry of the transition matrix is given by
[TABLE]
where
- •
* is the base state of and is the base state of ,*
- •
,
- •
and .
Proof.
Let us first start by determining the entry where corresponds to the state . We assume that is chosen so that . The number of new colors introduced by is exactly
[TABLE]
The corresponding monomial is . Moreover, every other monomial that can appear in the sum is of the form
[TABLE]
for some . We can introduce up to new colors while staying surjective, i.e., that the labeling uses all colors from to the highest used color. Therefore,
[TABLE]
Now we need to adjust this setting to an arbitrary base state corresponding to a vector where . Target space might be represented by a different vector . We want that
[TABLE]
However, this is equivalent to
[TABLE]
This also gives the (by degree) smallest transition monomial, so we only need to figure out how many transitions from to there are. This corresponds to the question of how many colors we introduce from to . However, the number of colors introduced is
[TABLE]
which implies that the highest monomial appearing is
[TABLE]
where
[TABLE]
∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[BBK + 15] Matthias Beck, Benjamin Braun, Matthias Köppe, Carla D. Savage, and Zafeirakis Zafeirakopoulos, s-lecture hall partitions, self-reciprocal polynomials, and Gorenstein cones , Ramanujan J. 36 (2015), no. 1-2, 123–147. MR 3296715
- 2[BH 93] Winfried Bruns and Jürgen Herzog, Cohen-Macaulay rings , Cambridge Studies in Advanced Mathematics, vol. 39, Cambridge University Press, Cambridge, 1993. MR 1251956
- 3[BK 14] Matthias Beck and Florian Kohl, Rademacher-Carlitz polynomials , Acta Arith. 163 (2014), no. 4, 379–393. MR 3217673
- 4[BP 03] Matthias Beck and Dennis Pixton, The Ehrhart polynomial of the Birkhoff polytope , Discrete Comput. Geom. 30 (2003), no. 4, 623–637. MR 2013976
- 5[BR 15] Matthias Beck and Sinai Robins, Computing the continuous discretely , second ed., Undergraduate Texts in Mathematics, Springer, New York, 2015, Integer-point enumeration in polyhedra. MR 3410115
- 6[BZ 06] Matthias Beck and Thomas Zaslavsky, Inside-out polytopes , Adv. Math. 205 (2006), no. 1, 134–162. MR 2254310
- 7[Ciu 98] Mihai Ciucu, An improved upper bound for the 3 3 3 -dimensional dimer problem , Duke Math. J. 94 (1998), no. 1, 1–11. MR 1635888
- 8[CLS 11] David A. Cox, John B. Little, and Henry K. Schenck, Toric varieties , Graduate Studies in Mathematics, vol. 124, American Mathematical Society, Providence, RI, 2011. MR 2810322
