Stirling Decomposition of Graph Homology in Genus .
Abstract.
We prove that commutative graph homology in genus with markings has a direct sum decomposition whose summands have rank given by Stirling numbers of the first kind. These summands are computed as the homology of complexes of certain decorated trees which have an elementary combinatorial description.
2020 Mathematics Subject Classification:
55U15, 18M701. Introduction
The purpose of this paper is to compute the homology of a family of chain complexes which arose in my study of higher operations on graph homology. We will denote these chain complexes as . Although they arose from the study of some rather technical topics (eg -modular operads and the Feynman transform), it is possible to give a very elementary description of them in terms of the combinatorics of decorated trees, and that is the approach we take here-in.
The computation of the homology is a new result, given for the first time in this article. Specifically, we prove (Theorem 4.1) that the Betti numbers of are
(1.1) |
where denotes the signed Stirling number of the first kind, whose absolute value counts the number of permutations of the set which can be written as a product of disjoint cycles.
Let me briefly explain, in basic terms, the context in which this result can be applied. By (commutative) graph homology, we refer to a chain complex spanned by isomorphism classes of graphs. The degree of a graph is its number of edges, and the differential is given by a signed sum of edge contractions. This complex splits over the genus of the graph. A variant of this construction allows labeled markings of the vertices. In this way, for each pair we get a chain complex of such graphs, and we endeavor to compute its rational homology. The expert reader has surely noticed several important technical details which we’ve glossed over in this informal description.
This article concerns the calculation in the case and . In this case, the rational homology may be determined from [CGP22, Theorem 1.2], where the authors determine the homotopy type of a cell complex whose reduced cellular chain complex coincides (up to a shift in degree) with the graph complex described above. In particular they show
(1.2) |
and moreover prove that as an -module, is the representation induced from a particular -dimensional representation of the dihedral group.
Our homology calculation above (Equation 1.1) gives a new proof of Equation 1.2, and it gives a different description of the -module structure which adds some computational facility. Namely we prove (Corollary that
(1.3) |
and hence the rank of is equal to the number of permutations in which can be written using an even number of disjoint cycles (counting fixed points as cycles of length 1). Depending on the parity of , these coincide with either the even or the odd permutations and in either case, it’s exactly half. Whence our confirmation of Equation 1.2.
In addition to giving a new proof of Equation 1.2, the decomposition in Equation 1.3 tells us something new about the -module structure. The isomorphism in Equation 1.3 holds equivariantly, meaning that the irreducible decomposition of a given also splits accordingly. Moreover, we conjecture (Section 5) that each of the sequences is representation stable (after tensoring with the sign representation). This means that the irreducible decomposition of a given can be broken into pieces, all but one of which is determined by lower . It is not too difficult to compute the first few non-trivial stable sequences by hand, see Subsection 5.5, although the representation stability aspects fall somewhat outside of our parameters here.
Indeed the goal of this paper is to give a broadly accessible description of the complexes and to compute their homology. We call these complexes “Stirling complexes” and they are defined in Section 3. Section 2 gives a brief recollection of Stirling numbers and proves an identity (Proposition 2.2) which is the shadow of our main theorem when interpreted in terms of the Euler characteristic. The homology calculation is given in Section 4, and we conclude with a discussion of the decomposition of Equation 1.3 in Section 5.
Finally, it should be pointed out that in attempting to present this problem in a hands-on and elementary way, we have necessarily but perhaps unfairly circumvented the use of more sophisticated tools which could also be used to attack this problem. This includes the theory of Grobner bases [DK10], since our main calculation could be recast as the Koszulity of Lie graph homology in genus , viewed as an infinitesmal bimodule over its underlying genus 0 operad. The novice reader should also be advised that this article has largely bypassed a discussion of the influential and sophisticated literature on graph complexes for which the works [Kon94], [Wil15], [KWZ17], [Mer21] may serve as a possible starting point for further reading.
Conventions
Symmetric groups are denoted by , or for a finite set . The irreducible representation of the symmetric group associated to a partition will be denoted . We denote shift operators for graded vector spaces by . We work over the field of rational numbers throughout.
2. Stirling Numbers
Let denote the symmetric group of permutations of the set . Let denote the subset consisting of permutations having disjoint cycles, where fixed elements are considered cycles of length . For example, the magnitude of the sets for is given in the following table.
|
(2.1) |
By convention we consider to be the empty set, so the blanks should be considered zeros.
This triangle of numbers has been long studied under the name of the (unsigned) Stirling numbers of the first kind. We define the signed Stirling numbers of the first kind to be
From now on we will just call these the “Stirling numbers” for short.
We refer to [Cha02, Chapter 8] for a comprehensive overview of the Stirling numbers and their history. In this article we will restrict attention to the small bits and pieces of this theory which we need. We first mention a few basic facts that we will use below. Their verification is immediate.
Lemma 2.1.
Stirling numbers of the first kind satisfy:
-
(1)
-
(2)
-
(3)
-
(4)
If then .
The main theorem of this paper will be a categorification of the following slightly less trivial fact about Stirling numbers.
Proposition 2.2.
(2.2) |
Proof.
We emphasize that these are signed Stirling numbers, so we’re considering an alternating sum and this result arises as a corollary of our main theorem (Theorem 4.1) by taking the Euler characteristic. However, let us give the combinatorial proof which is the shadow of the proof of our main theorem below. To unify the two, let us choose to regard as the permutation group of the set via the isomorphism which fixes .
Fix and with . Given a permutation in with cycles, there are ways to choose cycles which do not contain . We may therefore view each term in the right hand side of Equation 2.2 as counting the number of permutations in with cycles, of which are distinguished, subject to the rule that is not in a distinguished cycle. Let be the set of such choices. In particular .
The set can be written as a disjoint union indexed by the choice of a non-empty set and a permutation corresponding to the product of the distinguished cycles in the given element. Let be the subset appearing in index . Counting the number of elements in each index, we may write:
(2.3) |
where is the set of permutations of having cycles.
Note that is nonempty only if . Therefore, reindexing the previous equation we have
(2.4) |
By considering the product of the non-distinguished cycles, each element in specifies a unique permutation of having cycles, and conversely, so . Therefore, for each fixed and we have:
Applying the final statement of Lemma 2.1, we see that this sum is zero unless . This happens if and only if , i.e. every non-zero element appears in a distinguished cycle. Thus Equation 2.4 becomes
Finally, the set counts the number permutations of which fix and have cycles, such that the product of the cycles not containing is equal to . Clearly there is exactly one such permutation, namely , from which we conclude
∎
3. Stirling Complexes
In this section we will define a chain complex whose Euler characteristic may be calculated via the alternating sum in Proposition 2.2 to satisfy . For lack of better terminology we call “Stirling complexes”.
In Section 4 below we will calculate the homology of the Stirling complexes, and in Section 5 we will give an application of this computation to graph homology. The purpose of this section is simply to give their definition. The Stirling complexes arose in [War22] as certain subcomplexes of the Feynman transform of Lie graph homology. However, it is possible to give a much more down to earth definition of them, and that is the approach we take here.
Finally, we remark that the reader should be sure to not confuse the chain complex , defined in this section, with the set defined in the previous section. These objects live in different categories, and while both have symmetric group actions, the two actions are not comparable. One relationship between these two objects will be given later on, in Theorem 4.1.
3.1. Decorated Trees
We will define the Stirling complexes as a span of certain decorated trees. For a formal definition of a tree we refer to the Appendix, namely subsection A.3.
Informally, a tree is a 1-dimensional CW complex with is connected and simply connected. The -cells are called vertices, the set of which is denoted . The -cells are called edges, the set of which is denoted . An -tree is a tree along with a function called the leg labeling. The leg labeling is depicted graphically by line segments extending from , labeled bijectively by the elements of the set . These line segments are called the legs of the tree. From this perspective what we call “edges” might also be called “internal edges” in that they run between two vertices where-as legs do not.
Our formal definition of a graph (Appendix A.1) views edges as consisting of two halves, called flags, and views legs as consisting of a single flag. With this convention, every vertex has a set of adjacent flags, which is canonically identified with the union of the sets of adjacent edges and adjacent legs. The valence of a vertex is defined to be the order of this set. An -tree may be viewed as a directed graph, with edges directed toward the leg labeled by . This in turn specifies a unique output flag at each vertex, the remainder of the flags are called inputs. A tree is called stable if it has at least 2 input flags.
For the remainder of this article, including in the following definition, all trees are assumed to be stable -trees for some . The Stirling complexes will be spans of such trees along with additional decorations.
Definition 3.1.
A Stirling tree is a tree along with the choice of the following additional data:
-
(1)
a vertex of , which we call the distinguished vertex (or DV for short).
-
(2)
a distinguished subset of the input flags adjacent to the distinguished vertex, whose elements we call alternating flags, such that .
A Stirling tree having legs and alternating flags is said to be of type . See Figure 1. We will often refer to Stirling trees simply as , leaving the decorations and implicit.

We remark that we could loosen the requirement that if we allowed trees whose distinguished vertex was not necessarily stable, but our intended application only requires this case, so we make this assumption for simplicity.
3.2. The underlying spaces
In this article we consider Stirling trees up to structure preserving isomorphisms. In particular, isomorphisms must preserve the leg labels, the distinguished vertex and the set of alternating flags. Stirling complexes will be constructed as the sum over isomorphism classes of Stirling trees.
Each summand will in turn be spanned by a choice of additional sign data, which will be encoded as an order on the set of edges and the set of alternating flags, modulo even permutations. To formalize this, given a finite set , we define to be the top exterior power of the vector space spanned by . Explicitly, is a -dimensional vector space spanned by and subject to the rule that for a permutation .
We are now prepared to define the vector spaces underlying the Stirling complexes.
Definition 3.2.
Define to be
with direct sum taken over all isomorphism classes of Stirling trees of type having edges.
For example, the Stirling tree pictured in Figure 1 specifies a one dimensional subspace of . The choice of an order on the set of edges and the set of alternating flags would further specify a non-zero element in this subspace.
Lemma 3.3.
is non-zero if and only if .
Proof.
Suppose . Then clearly . Such a tree has flags, but by stability must also have at least flags, where denotes the number of vertices of the tree. Using the fact that we see as desired. Conversely, if we construct any tree with edges (for example by arranging all the vertices and edges along a vertical line), we may contract the edges one at a time to show that each such is not zero. ∎
3.3. The symmetric group action
The vector space is naturally an -module via the permutation action on leaf labels. For example, is the alternating representation and is the tensor product of the alternating representation with the permutation representation, i.e. . However, the description of given in terms of the Feynman transform (Theorem 5.4 below) makes it clear that this “obvious” action is the restriction of an -module structure. Although not needed for the homology calculation below, let us describe this action in this subsection.
First, we let act on the set of isomorphism classes of -tress by permutation of the leg labels, using the unique isomorphism which fixes and exchanges and . Let and be an -tree. When comparing and , observe that there is a natural bijective correspondence between their edges, their vertices, and the flags at each vertex, although which flags are inputs and outputs need not be preserved. Given a vertex of , we use the notation to denoted the corresponding vertex of . Similarly for edges and flags, as well as sets of flags.
Now suppose we have a Stirling tree of type and . The tree comes with a distinguished vertex , as well as a distinguished subset of the flags adjacent to , namely . Since the edges and alternating flags are naturally identified, there is a map
(3.1) |
which simply preserves the order of each wedge product. Note however since needn’t fix , there is no guarantee that each flag in is an input flag.
With this in mind, we define the action of on in two cases. Fix . Given a Stirling tree , if does not contain the output flag of , then we define the action of on the summand of indexed by to be given by the map in Equation 3.1.
If, on the other hand, the output flag of , call it , is contained in the set , we proceed as follows. Let be the set of flags adjacent to which are not contained in . Note that is not empty, since under these conditions the output of corresponds to an input of which is not in , hence is in .
For each , let . The permutation induces a natural bijective correspondence between the elements of and the elements of given by the intermediary , and exchanging with . Therefore, there is a canonical map
given by canonically identifying the edges (resp. flags) on the left bijectively with those on the right. In this case we define the action of on the summand of indexed by to be given by the map
(3.2) |
3.4. The differential
We are now prepared to define the chain complex . It will have the following form,
By convention is considered to be of total degree , so that is concentrated between degrees and .
The differential will be defined as a sum over edge contractions, as in the case of the bar construction of an operad [GK94]. Specifically, this means applied to the summand of corresponding to a Stirling tree will be of the form , and we proceed to define .
Fix such a Stirling tree and choose an edge of . We may contract the edge to produce a new tree . If this edge does not contain an alternating flag, then the edge collapse specifies a Stirling tree whose distinguished vertex and alternating flags are canonically identified with those of the source. Thus we have a map
(3.3) |
which by convention removes the edge in the last position of the wedge product of the edges of .
Now suppose, on the other hand, that the edge consists of input flag and output flag . When is contracted, the alternating flag is lost and we account for this by summing over the newly adjacent flags as replacements, see Figure 2. To make this precise, define to be the set of input flags at the vertex whose output is , and define , for each . Observe that the elements of and are in canonical bijective correspondence, with bijection exchanging and and preserving all other elements. This in turn induces an isomorphism . We then define
(3.4) |
by taking this isomorphism on the right hand tensor factor and, as above, taking the map which removes in the last position of the wedge product on the left hand tensor factor. Finally, we define in this case.

Lemma 3.4.
.
Proof.
Start with a Stirling tree . We will show that when applied to the summand of indexed by this Stirling tree, from which the claim follows. Note that if has fewer than two edges, then just by degree considerations. Else, choose two edges of , and we will argue that
from which the statement follows. We divide this verification into four cases.
Case I: Suppose that neither nor contains an alternating flag. In this case, we apply Equation 3.3 twice and and are related by applying the transposition swapping and , producing a factor of on the tensor factor, while the alternating flags are preserved at each stage.
For the remaining cases, for , define to be the vertex adjacent and above and define to be the set of input flags adjacent to .
Case II: Suppose that both and contain an alternating flag. In this case, twice applying Equation 3.4 we have
and similarly in the opposite order. Here it suffices to observe that for each pair we have . This follow as in the previous case, with the arising from the tensor factor from the permutation of the two edges. Since the wedge product of the alternating flags does not depend on the order of the edge contractions, no sign arises on the factor.
Case III: Suppose (without loss of generality) that contains an alternating flag and does not, and suppose that is not adjacent to . In this case, applying Equation 3.4 for and applying Equation 3.3 for we have:
and similarly in the opposite order. It then suffices to verify , with the sign coming from the permutation of the two edges, as in the previous cases.
Case IV: We are thus left with the most interesting case, namely contains an alternating flag and is adjacent to . This case is depicted in Figure 2. Let be the input flag of the edge . If we contract first, the flags adjacent to are altered since is removed, but the flags in become adjacent to . Hence:
(3.5) |
On the other hand, if we contract first we may single out the term . Since application of this map results in being an alternating flag, we must apply Equation 3.4 when composing with . For each other , we apply Equation 3.3. Hence:
(3.6) |
To conclude, it suffices to observe that the terms in Equation 3.5 and 3.6 are negatives of each other. This follows from the fact that for , we have:
with the factor again arising on the tensor factor by transposition of the edges. ∎
The differential on each is compatible with the -action defined in the previous subsection. This follow from the identification of with a subcomplex of the Feynman transform, see Theorem 5.4, but it can also be verified directly from the above descriptions as we now indicate.
Proposition 3.5.
For each , we have .
Proof.
Start with a Stirling tree . We will show that when applied to the summand of indexed by this Stirling tree, from which the claim follows. If has no edges the claim is vacuous, so assume has at least one edge. Since the edges of and coincide (i.e. are in canonical bijective correspondence) it suffices to show that for each edge of .
Let us first observe that if , i.e. if fixes , then the claim is immediate, since the permutation simply relabels the input legs of the tree. Which flags are alternating does not change upon such a permutation, only their labels change, and this operation clearly commutes with edge contraction. So it suffices to restrict attention to the case that for some from which the general case follows.
Fix for such an and fix an edge . Let be the input flag adjacent to which is on the unique shortest path from the leg labeled by to . Let where is an input flag and is an output flag. To show , one separates the verification into several cases based on the possibilities for and . These cases are as follows:
-
(1)
and ,
-
(2)
and is adjacent to ,
-
(3)
, is adjacent to and ,
-
(4)
, and ,
-
(5)
none of the above, i.e. or is not adjacent to .
Case 5 is the simplest, since the terms coincide on the nose with no cancellation. The first four cases are very similar to each other, so we carefully work through Case 1 and leave the verification of the others to the reader.
For this, assume that and . In this case the edge is adjacent to . Let be the vertex whose output is and let be the set of inputs of . The unique shortest path connecting to the leg labeled by necessarily contains one input of , call it . Finally, define to be the set of flags adjacent to .
By Equation 3.2 we have:
(3.7) |
On the other hand,
Since the image of has a distinguished output, we apply Equation 3.2 to it to rewrite this term as , where here ranges over the input flags of the vertex of formed by contracting . This set is (canonically identified with) . Therefore
The first and third sums cancel. Finally, observe that for we have , since both simply contract the edge and replace with as the new alternating flag. Hence the middle sum in the previous equation is exactly by Equation 3.7, as desired. ∎
4. Homology of Stirling Complexes
Theorem 4.1.
The Betti numbers of the complex are:
Proof.
Fix . If the statement is trivial, so assume .
Define to be the span of those trees such that one or both of the following properties hold:
-
(i)
the distinguished vertex has valence (so not all inputs are alternating)
-
(ii)
the distinguished vertex is not the root vertex.
Observe that is a subcomplex. Indeed if a tree satisfies property (i) then differential terms arising from it will also satisfy property (i), while if a tree satisfies property (ii) then differential terms arising from it will satisfy property (i) when edges adjacent to the distinguished vertex are contracted, and will satisfy property (ii) when edges not adjacent to the distinguished vertex are contracted. The heart of the proof is the following claim.
Claim: has no homology.
To prove this claim, we will filter the complex . For a Stirling tree there is a unique shortest path connecting the distinguished vertex and the root vertex. We’ll refer to this path as the “0-to-DV path”. Let be the set of edges on this path. Let and be the number of (path) edges, taking values .
Define the reach of a tree to be , where is the “vcd check” defined by
We adopt the terminology “vcd vertex” to refer to the distinguished vertex of a Stirling tree for which .
Since we’ve assumed , the reach takes values in . It achieves the upper bound if , and is empty (i.e. the root vertex and distinguished vertex coincide) or if and . Note that if then , since this is the maximum possible number of edges (by Lemma 3.3).
Reach defines a filtration because contracting an edge which is not adjacent to a vcd vertex lowers the reach by at least one, while contracting an edge which is adjacent to a vcd vertex lowers the reach by if said edge is not on the 0-to-DV path and it preserves the filtration degree if the edge is on the -to-DV path. Thus in all cases the reach is not increased by the differential and so we have an increasing filtration
where denotes the span of those Stirling trees in of reach .
Consider the associated graded. Each may be described as the span of trees of reach equal to , with differential given by projection of the original differential to the quotient. By the above analysis, all differential terms vanish in this quotient, except in the case where we have a vcd vertex and we contract the unique edge of maximum height on the 0-to-DV path (i.e. the edge immediately below the distinguished vertex). Let us call this differential .

We therefore conclude that each Stirling tree of type satisfying the properties (i) and (ii) above corresponds to a -dimensional subspace of the complex which is either the source or the target of exactly one non-trivial differential in the associated graded. Indeed, each quotient complex splits as a direct sum of complexes of the form
(4.1) |
where is a Stirling tree of type and reach whose distinguished vertex is a vcd vertex and where is the unique edge on the -to-DV path of maximum height. See Figure 3. Since the differential in Equation 4.1 is non-zero, it must be an isomorphism. Thus the associated graded has no homology, and so neither does .
Having shown that has no homology, to compute the homology of , it suffices to compute the homology of the quotient . The quotient complex is spanned by those Stirling trees which satisfied neither condition (i) nor condition (ii) above. This means such a tree must have the root vertex equal to the distinguished vertex and be of vcd type. In the quotient, the non-zero differential terms can only contract edges that are not adjacent to the distinguished vertex. To each such tree, associate a partition of the set by declaring two numbers to belong to the same block if and only if the leaves they label share the same nearest alternating flag. By definition, the nearest alternating flag is the input flag adjacent to the root vertex that we first encounter when we move along the unique shortest path connecting a leaf to the root. In particular, the blocks in the partition must be non-empty, and the number of blocks is .
Such a partition is unchanged by the differential in the quotient , and so this complex splits over the choice of such partitions. Therefore to compute the homology of the quotient, it suffices to compute the homology of each summand. For this, we appeal to Koszulity of the commutative operad. Indeed each summand may be viewed as a tensor product over the blocks of the partition of a complex isomorphic to the bar construction of the commutative operad in arity equal to the size of the block. This is simply because each branch emanating from an alternating flag has only standard edge contractions, with no distinguished vertices. Appealing to Koszul duality of the commutative and Lie operads, denoted and , the homology of a summand corresponding to a partition is isomorphic to , concentrated in the maximal degree, shown above to be .
Finally we recall that the dimension of the constituent arities of the Lie operad satisfy , which is also the number of cycles of length that can be formed from a set of size . Therefore, the dimension of the homology in degree is equal to the number of ways to partition into non-empty blocks, and to subsequently associate a cycle of length with the numbers appearing in the block . In other words, is the number of permutations on letters having cycles, or . ∎
Remark 4.2.
As mentioned above, Proposition 2.2 can be seen as a corollary of this Theorem. For this, compute the Euler characteristic in two ways. As the alternating sum of Betti numbers we find . On the other hand, if we compute the alternating sum of the dimensions of the complex itself, we can use Koszulity of the commutative operad to collapse subtrees not containing a distinguished vertex, and label the vertices resulting from the collapse with the space of Lie words of appropriate arity. The degree of the result is determined by the valence of the distinguished vertex, call it , and is equal to . The number of all such trees, after this collapse, is counted by the ways to partition the set times the dimension of the space of Lie words on each block of the partition which, as the proof above indicates, is , times the possible choices of alternating flags, which is . We therefore see the alternating sum arising on the right hand side of Equation 2.2.
5. Application to Commutative Graph Homology
In this final section we would like to say how the Stirling complexes arose as a natural object of study, and what Theorem 4.1 tells us in this context. Specifically, the complexes are isomorphic to subcomplexes of the Feynman transform of Lie graph homology in genus . We will give a recollection of these prerequisites, and we refer to [War22] and [War23] for more details.
5.1. Modular Operads
Modular operads were introduced by Getzler and Kapranov in [GK98] as a generalization of the notion of an operad. Modular operads permit composition along all graphs, not just along trees. Here we consider graphs whose vertices carry a labeling by a non-negative integer, called the genus of a vertex, which allows us to keep track of loop contractions. We call these modular graphs (see subsection A.2). Similar to an operad, compositions are generated by single edge contractions, hence the following definition.
Definition 5.1.
A (dg) modular operad is a collection of modules indexed over pairs of natural numbers and with , along with two families of linear maps called loop contractions and bridge contractions:
-
•
Loop contractions: for all , all and all pairs , there exists a linear map
-
•
Bridge contractions: for all and each and there exists a linear map
The terminology “bridge” and “loop” contractions comes from the classification of edges in a graph as either bridges or loops (Appendix A.1). Collectively we call these compositions “edge contractions”.
Edge contractions are posited to satisfy a series of axioms analogous to the associativity and -equivariance axioms for an operad. These axioms should be intuitively understood via the graphical intuition which views each as a vertex with label and valence . The loop contraction is viewed as gluing the legs labeled and to form a “loop” before contracting the result. The bridge contraction glues together the corresponding legs on two vertices to form a “bridge” before contracting the result. The associativity axioms assert that contracting edges of a graph in any order produces the same result, regardless of the order of the contractions.
With this intuition the associativity axioms for a modular operad are indexed by graphs with two edges and are divided into the following four families. See also Figure 4.
-
•
Contraction of two bridges
-
•
Contraction of a loop and a bridge
-
•
Contraction of parallel bridges
-
•
Contraction of two loops
The notation means the label of the leg formerly labeled by . The precise label will depend on a chosen convention for relabeling legs after edge contraction. See [War22, Page 33] for one such convention.

Finally, both loop contraction and bridge contraction satisfy compatibility with the symmetric group actions. These compatibility conditions are of the form and for certain permutations and determined by permutations and and leg labels and . As in the case of an operad, these equivariance axioms may be understood by forming one-edged graphs as specified by the edge contraction and the permutation, and asserting that if the labeled one-edged graphs are the same then the operations are the same.
5.2. The Feynman transform
The Feynman transform [GK98] is the modular operadic generalization of the bar construction. Viewed as a functor, its input is a modular operad, call it , and its output may be understood as the direct sum over graphs whose vertices are labeled by , (or by its linear dual depending on conventions). The result is a family of chain complexes for each total genus and number of legs , with differential given by a sum over edge contractions (or dually edge expansions). When an edge is contracted, the modular operad structure of is used to determine the new vertex label.
To make the above description precise, we proceed as follows. Let be a modular operad. Let be a modular graph (see Appendix A.2). Let and denote the sets of vertices and (internal) edges of respectively. If has genus , valence and set of adjacent flags , we define a vector space where is viewed as a functor from the category of all finite sets and bijections via left Kan extension. In particular , but non-canonically so. We then define
Additionally, to we associate the one-dimensional graded vector space , where was defined in subsection 3.2. With these pre-requisites, we define the chain complex
(5.1) |
with differential given by the sum over edge contractions. Here denotes the group of leg fixing automorphisms of .
Each chain complex is bigraded by the number of edges of the underlying graph and the sum of the degrees of the vertex labels, which we call the internal degree. We write for the span of those graphs having edges and internal degree . The differential in the Feynman transform contracts one edge, using the degree modular operad structure maps, so it has the form
(5.2) |
and so the complex splits into a direct sum of subcomplexes indexed over internal degree. The Stirling complexes, studied above, are examples of such subcomplexes for a particular choice of as we shall subsequently explain.
We remark that the Feynman transform as originally considered by Getzler and Kapranov [GK98] is the linear dual of the definition given here, so it may be more appropriate to call this the coFeynman transform.
5.3. Lie Graph Homology
Given a modular operad , the family of chain complexes can themselves be composed along graphs by freely grafting the legs of the graph together. Thus the Feynman transform forms something akin to a modular operad, but the degree of the compositions is non-zero. The notion of -modular operads, in which composition formally has degree , was also introduced in [GK98] as a target for the Feynman transform. Conversely, an analogous construction produces a modular operad from a -modular operad, and so we view the Feynman transform as a pair of functors
(5.3) |
As above, we write for the Lie operad. We may choose to view as a modular operad by declaring the structure map corresponding to any graph of positive genus to be . Alternatively, we can take the shifted operadic suspension of the Lie operad and then extend the result by to higher genus, and the result will be a -modular operad. Denote this -modular operad . By “Lie graph homology” in this article we refer to the modular operad .
Lie graph homology was studied in [CHKV16], where it was shown to be calculable as the group homology of a family of groups , and so we use notation
and the notation for the associated modular operad.
Below, we will connect the Stirling complexes to the genus component of the Feynman transform of the modular operad . This in turn depends only on the graded vector spaces for and the edge contractions between them. This structure can be completely characterized as follows.
First the homology of these spaces is given by:
Lemma 5.2.
Second, to characterize the modular operadic structure maps between these spaces, we first observe that edge contractions between degree vertices will be isomorphisms. Thus the only non-trivial structure maps landing in genus are contractions along bridge edges adjacent to a genus and genus vertex. To characterize these operations, we describe the vector spaces in terms of such compositions as follows:
Lemma 5.3.
[War23] Fix any non-zero vectors and . The vector space has a basis consisting of edge contractions of the form over all .
To be specific, this result is a corollary of [War23, Lemma 3.2] which gives the precise form of the relations as well.
Here we choose to view our graphs as labeled by via the isomorphism sending to and fixing those with . Then denotes the operadic composition which glues the root (by convention the leaf labeled by ) of on to the leaf labeled by of . The permutations fix , hence the lemma says that has a basis given by those compositions in-which is adjacent to the root (see Figure 5).

5.4. Stirling complexes and the Feynman transform of Lie graph homology.
With an understanding of the modular operad in genus , we now turn to consideration of the chain complex . By Equation 5.2, we know that this complex splits over internal degree. By Lemma 5.2 we know that it is non-zero only when the internal degree is even. The following theorem relates the Stirling complexes to the summands corresponding to non-zero internal degree.
Theorem 5.4.
Let be a positive, even integer. There is an isomorphism of chain complexes
Proof.
Fix such a , and assume , else the statement is vacuous. Consider the chain complex . By Equation 5.1, this chain complex is a direct sum indexed over graphs of type , i.e. total genus and with labeled legs.
By definition, the total genus of a modular graph is the sum of the genera of the vertex labels with the first Betti number of the given graph. If the vertex labels all have genus , then the internal degree would be (by Lemma 5.2). Since this is not the case, there must be a vertex of positive genus. Since the total genus is , this can only happen if the graph is a tree and there is a unique vertex of genus , with all other vertices of genus . We thus conclude that the homogeneous elements in correspond to trees with edges and labeled legs, along with a distinguished vertex (namely the unique vertex of genus ).
Given such an homogeneous element, the degree vertices of valence are labeled with homology classes from which is simply the ground field concentrated in degree . The genus , or distinguished, vertex is therefore labeled with a homology class in for some .
Using the basis of Lemma 5.3, we may thus view an homogeneous element in as a tree with a distinguished vertex which is itself labeled by a tree with one edge and two vertices. Among these two “inner” vertices, the upper one is labeled by the genus alternating class and the lower one is labeled by the genus class . In order to specify a Stirling tree from this data, we color all legs adjacent to the genus vertex red, and all the others black. See Figure 6.

This gives an isomorphism of graded vector spaces. In hindsight, the formula for the differential of the Stirling complexes given above (Subsection 3.4) was chosen such that this isomorphism of graded vector spaces is also an isomorphism of chain complexes. To see that this is the case, observe that both differentials are given by sums over edge contraction, and it’s immediate that the terms coincide when contracting an edge which is not adjacent to the distinguished vertex, or when contracting an edge which is adjacent to the distinguished vertex but is non-alternating/adjacent to the lower inner vertex. The only non-trivial case, then, is to show that contracting an edge adjacent to the upper/alternating inner vertex corresponds to the description given above for contracting an edge in a Stirling tree when said edge contains an alternating flag. This in turn requires rewriting a one-edge composition landing in in terms of the chosen basis. A formula for this rewriting rule is given in [War23, Lemma 3.2], and the description in terms of Stirling trees is simply a reformulation of the statement of that result. ∎
Combining this result with Theorem 4.1, we have the following corollary pertaining to commutative graph homology. Let be the modular operad defined by , all of whose structure maps are the canonical isomorphisms.
Corollary 5.5.
There is an isomorphism of -modules
Proof.
Consider the chain complex
If it were the case that the modular operad were formal, then this complex would be acyclic, because has the same homology as , which is zero by definition. Alas, this modular operad is not formal (indeed we’ve computed a portion of its homology above). However, in this setting, the bicomplex is the page of a spectral sequence converging to (called the genus label filtration spectral sequence, [War22, Section 4.5.1]).
The higher pages of this spectral sequence have differentials inherited from the homotopy transfer theorem applied to the modular operad . These differentials necessarily increase the internal degree. However, above the row , the -page is concentrated in total degree (combining Theorems 4.1 and . Therefore, the row of the page must be concentrated in degree , and moreover must be isomorphic to the direct sum of the homologies of over all even . In particular, from Theorem 4.1 we conclude that the homology of is concentrated in a single degree and has rank equal to the number of even (or odd) permutations of , namely .
Finally we observe that the modular operads and (taking only the degree 0 summands in each biarity) coincide, hence
which finishes the proof. ∎
Remark 5.6.
The chain complexes which comprise the -modular operad coincide (up to a shift in degree) with the reduced cellular chains of the spaces , and so this corollary establishes Equation 1.3 given in the introduction.
5.5. Representation Stability
As mentioned in the introduction, Corollary 5.5 agrees with [CGP22] on rank, but gives a different perspective on the -module structure. We end this article with a modest conjecture:
Conjecture 5.7.
For each the sequence of -modules is representation stable, after tensoring with the alternating representation.
Although filling in all the details is a bit beyond the scope of this article, let me give some idea of why this seems likely. The first step would be to show that for each , the sequence is a finitely generated FI-module. Here is the number of edges. Recall [CEF15] that an FI-module is simply a functor from the category of finite sets and injections. For this, given an injection , and a tree whose leaves are labeled , we can simply relabel leg with , and then add alternating flags to the distinguished vertex which are labeled by the elements not in the image of . The factor of ensures that the order of the added flags plays no role.
This putative FI-module would then be finitely generated by those trees whose distinguished vertex has valence , and so the general theory of finitely generated FI-modules [CEF15] would apply to show that each sequence is representation stable. Once this is established, it would be straight-forward to argue that the -equivariant Euler characteristic, and hence the homology, is representation stable as well. Having established representation stability, a next step would then be to determine the stable range and calculate some stable multiplicities.
Let us give some confirmation of this conjecture in the case of small . When , we have already seen that is the alternating representation of , which is representation stable after tensoring with the sign representation.
When , each complex is only non-zero in two degrees corresponding to number of edges and . From [CHKV16] we know and we may compute as an induced representation using the Littlewood-Richardson rule [FH91] to be . Thus, by Theorem 4.1 the homology is , which again is representation stable after tensoring with the alternating (aka sign) representation.
Finally, when we can determine via Theorem 4.1 by calculating the -equivariant Euler characteristic. This requires and just by dimension considerations, after Lemma 2.1 (3), must be outside the stable range. However, in the case we find, by a slightly tedious tabulation of characters, that
and using the hook length formula it is a straight forward computation to show that the stable sequence of -modules which continues this -representation (after tensoring with the sign representation) has dimension equal to , as predicted by Lemma 2.1.
To conclude, let me remark that it would be interesting to use the semi-classical modular operadic character [Get98] to compute the character polynomials of each of these putative representation stable sequences. Indeed, if we restrict attention to the modular operad whose only non-zero terms are and , ranging over all , the character of the Feynman transform can be read off from the results of op. cit., and Conjecture 5.7 implies, after [CEF15, Theorem 1.5], that the characters of these sequences will eventually be polynomials.
Appendix A Trees and Graphs
In an attempt to keep this article reasonably self-contained, we spell out our conventions regarding graphs and trees in this appendix. We refer to e.g. [BM08], [KW17] and [War22] for more detail about this viewpoint.
A.1. Graphs: Definition and basic terminology
Definition A.1.
A graph is the following data:
-
•
A finite non-empty set called the vertices of the graph.
-
•
A finite set called the flags of the graph.
-
•
A function .
-
•
A function with the property that is the identity function.
Fix a graph and let and . When discussing graphs we use the following terminology. If we say that is adjacent to . The valence of is . If we say is a leg of . If we say that the unordered pair is an edge of . The set of edges of is denoted or just if the context is clear. The set of legs of will be denoted . Observe An edge will be called a loop if and will be called a bridge if .
A path in a graph is a finite sequence of flags such that for each pair and either or . The length of a path is the number of flags in the sequence. Given such a path, if and then the path is said to run from to . We specifically allow the empty path from any vertex to itself, considered to be of length .
A subgraph of is a pair of subsets and which are closed under and . In a graph , define an equivalence relation on the vertices via a path running from to . Let be the equivalence classes of this relation. Partition by defining . It is straightforward to show that each is a subgraph of , we call these subgraphs the connected components of . The genus of a graph having components is defined to be . If we say that is connected. It is an elementary exercise to show that given a connected graph of genus along with vertices and , there is a unique shortest path running from to .
A.2. Modular Graphs
A genus labeled graph is a graph along with a function . We call the non-negative integer the genus label of the vertex. If is a genus labeled graph, we define its total genus to be
A genus labeled graph is said to be stable if for each
A modular graph of type refers to a stable, connected graph of total genus along with a bijection . We call the number associated to a given leg its labeling. Morphisms, in particular isomorphisms, of modular graphs are presumed to preserve the genus labels and leg labels.
A.3. Trees
A tree is a connected graph of genus . Trees will often be denoted . A tree is stable if for each . An -tree is a tree with legs, along with a bijection between the sets and , called the leg labeling. The leg labeled by is called the root of an -tree. The vertex adjacent to the root is called the root vertex.
In an -tree, each vertex has a distinguished adjacent flag called the output. The output of the root vertex is defined to be the root. For any other vertex, call it , the output is defined to be the first flag on the unique shortest path running from to the root vertex. All flags which are not output flags are called input flags. Morphisms, in particular isomorphisms, of -trees are presumed to preserve the leg labels. In particular, relabeling the legs can produce a non-isomorphic -tree.
By convention, a stable -tree determines a modular graph of type by declaring that each vertex is of genus and by relabeling the legs according to the isomorphism which sends to and fixes the set .
A.4. Graphical depiction of a graph.
To a graph we may associate a diagram in which the vertices are depicted as nodes and the flags are depicted as arcs or line segments. If , the line segment corresponding to is drawn adjacent to at one end, call it the vertex end. If then these two flags are joined at their non-vertex ends to form a graphical depiction of the edge. The legs of the graph are depicted as line segments with loose ends. Leg and genus labels may be added to the diagram to depict modular graphs and/or -trees (see Figure 7). A graph can in turn be extracted from such a diagram, although the underlying graph depends only on the combinatorics of the diagram and not on any embedding in Euclidean space.

References
- [BM08] Dennis V. Borisov and Yuri I. Manin. Generalized operads and their inner cohomomorphisms. In Geometry and dynamics of groups and spaces, volume 265 of Progr. Math., pages 247–308. Birkhäuser, Basel, 2008.
- [CEF15] Thomas Church, Jordan S. Ellenberg, and Benson Farb. FI-modules and stability for representations of symmetric groups. Duke Math. J., 164(9):1833–1910, 2015.
- [CGP22] Melody Chan, Sø ren Galatius, and Sam Payne. Topology of moduli spaces of tropical curves with marked points. In Facets of algebraic geometry. Vol. I, volume 472 of London Math. Soc. Lecture Note Ser., pages 77–131. Cambridge Univ. Press, Cambridge, 2022.
- [Cha02] Charalambos A. Charalambides. Enumerative combinatorics. CRC Press Series on Discrete Mathematics and its Applications. Chapman & Hall/CRC, Boca Raton, FL, 2002.
- [CHKV16] James Conant, Allen Hatcher, Martin Kassabov, and Karen Vogtmann. Assembling homology classes in automorphism groups of free groups. Comment. Math. Helv., 91(4):751–806, 2016.
- [DK10] Vladimir Dotsenko and Anton Khoroshkin. Gröbner bases for operads. Duke Math. J., 153(2):363–396, 2010.
- [FH91] William Fulton and Joe Harris. Representation theory, volume 129 of Graduate Texts in Mathematics. Springer-Verlag, New York, 1991. A first course, Readings in Mathematics.
- [Get98] E. Getzler. The semi-classical approximation for modular operads. Comm. Math. Phys., 194(2):481–492, 1998.
- [GK94] Victor Ginzburg and Mikhail Kapranov. Koszul duality for operads. Duke Math. J., 76(1):203–272, 1994.
- [GK98] E. Getzler and M. M. Kapranov. Modular operads. Compositio Math., 110(1):65–126, 1998.
- [Kon94] Maxim Kontsevich. Feynman diagrams and low-dimensional topology. In First European Congress of Mathematics, Vol. II (Paris, 1992), volume 120 of Progr. Math., pages 97–121. Birkhäuser, Basel, 1994.
- [KW17] Ralph M. Kaufmann and Benjamin C. Ward. Feynman categories. Astérisque, (387):vii+161, 2017.
- [KWZ17] Anton Khoroshkin, Thomas Willwacher, and Marko Zivković. Differentials on graph complexes. Adv. Math., 307:1184–1214, 2017.
- [Mer21] Sergei Merkulov. Grothendieck-Teichmüller group, operads and graph complexes: a survey. In Integrability, quantization, and geometry II. Quantum theories and algebraic geometry, volume 103 of Proc. Sympos. Pure Math., pages 383–445. Amer. Math. Soc., Providence, RI, [2021] ©2021.
- [War22] Benjamin C. Ward. Massey Products for Graph Homology. Int. Math. Res. Not. IMRN, (11):8086–8161, 2022.
- [War23] Benjamin C. Ward. Wheel graph homology classes via Lie graph homology. J. Noncommut. Geom., 17(2):693–717, 2023.
- [Wil15] Thomas Willwacher. M. Kontsevich’s graph complex and the Grothendieck–Teichmüller Lie algebra. Invent. Math., 200(3):671–760, 2015.