Stirling Complexes in Graph Topology
- Stirling complexes are cellular models defined on trees for resource distribution, encoding combinatorial partitions via Stirling numbers.
- They exhibit a homotopy equivalence to wedges of spheres, where the sphere count and dimensions are determined by the parameters m and n.
- Generalizations like grouped Stirling complexes extend these ideas to multi-resource allocation with applications in robot motion planning and algebraic topology.
Stirling complexes are a family of cubical or cellular complexes naturally arising in the combinatorics and topology of resource distribution problems on graphs and trees, the study of configuration spaces, and in graph homology, where classical Stirling numbers of the first and second kind govern their algebraic and topological invariants. They generalize the discrete partitioning of labeled objects and encode deep connections between combinatorics, configuration space topology, graph theory, and operadic structures.
1. Definition and Basic Properties
Let be a tree on labeled vertices and the number of resources to be distributed. The Stirling complex is the subcomplex of the -fold Cartesian product (with its natural cubical structure) consisting of all -tuples with such that every vertex of appears at least once among the entries. The dimension of a cube is the number of coordinates assigned to edges; maximal cubes arise when 0 coordinates are edges, giving 1 (Kozlov, 2023).
Formally,
2
where 3 is the set of vertices appearing as some 4.
The 0-cells of this complex have each coordinate in 5 and every vertex used at least once. The number of 0-cells is 6, with 7 the Stirling numbers of the second kind, counting surjections 8.
If 9 there are no valid configurations, so 0 is empty.
2. Homotopy Type and Sphere Decomposition
A fundamental result established by Kozlov (Kozlov, 2023) shows that 1 is, for any tree 2 with 3 vertices and 4, homotopy equivalent to a wedge of spheres of (exact) dimension 5:
6
where 7, the number of spheres, depends only on 8 and 9, not the tree 0. This is nontrivial, as the explicit cell structure does depend on the tree: for instance, the count of 0-cells and 1-cells for nonisomorphic trees with the same 1 may differ, yet the homotopy types coincide.
The number 2 satisfies the recurrence
3
with 4 and 5 for 6, admitting closed-form expressions via inclusion–exclusion:
7
This homotopy-invariance is explained via an inductive construction where the complex is built as a homotopy colimit over vertex- and edge-labeled pieces, and the attaching maps become trivial due to the high connectivity of lower-dimensional Stirling complexes. Thus, the only invariants required are 8 and 9 (Kozlov, 2023).
3. Stirling Numbers and Combinatorial Structure
Stirling complexes encode the classical combinatorics of partitions and permutations:
- The Stirling numbers of the second kind 0 count the number of ways to partition 1 objects into 2 nonempty unlabeled parts. The 0-cells of 3 are in bijection with ordered surjections 4 and thus 5 in cardinality (Kozlov, 2023).
- In graph homology and the study of decorated tree complexes, the Stirling numbers of the first kind 6 appear as the ranks of certain homology groups in top degree (Ward, 2023).
The generating function for 7 is
8
while 9 appears directly in the number of 0-cells and the enumeration of surjections.
4. Decorated-Tree Chain Complexes in Genus-1 Graph Homology
For commutative graph homology in genus 0 with 1 legs, the relevant Stirling complexes are chain complexes 2 where 3, defined as follows (Ward, 2023):
- The 4-chains are 5-vector spaces spanned by isomorphism classes 6, where 7 is a stable tree with 8 legs, 9 a distinguished vertex, 0 a 1-element subset of input flags at 2 (the "alternating flags"), 3 an ordering of internal edges (up to sign), and 4 an ordering of 5 (again up to sign). 6 is the number of internal edges.
- The differential 7 is given by explicit edge-contraction formulas, distinguishing whether the edge carries an alternating flag. The boundary map splits according to whether the contracted edge is alternating or not.
Each 8 is acyclic except in degree 9; the rank of 0 is 1.
The chain complexes 2 produce a direct sum decomposition of genus-1 commutative graph homology:
3
Exemplary calculations for 4 show the matching of Betti numbers with entries of the Stirling triangle:
- For 5, 6, 7, 8.
5. Grouped Stirling Complexes and Generalizations
Grouped Stirling complexes 9, recently introduced, generalize the classic Stirling complexes by placing robots (resources) in 0 colored groups over a graph 1, with each group containing 2 robots of color 3 (Revelli et al., 10 Feb 2026). The defining constraints:
- Every vertex must host at least one robot.
- Robots of the same group must be separated by at least one full open edge.
The cellular structure consists of cells indexed by 4-tuples 5 with 6, 7, and separation constraints within 8.
These complexes are always path-connected if there are at least three groups and the color vector is nontrivial (9, each 0). Dimensional formulas for cell counts exist in special cases, for example:
- For 1, there are 2 0-cells and 3 1-cells.
- For 4, the 5-cell count is
6
When each 7, 8 recovers Kozlov's original Stirling complex. If some 9, the complex splits off a factor 00. The homology and cohomology structure remains mostly open outside trees and anchored cycles; connections to the Stirling numbers of the second kind may arise in certain combinatorial models.
6. Illustrative Examples and Applications
For 01 a tree with 02, 03 is homotopy equivalent to 04, with explicit geometric models:
- 05: 06 (two points connected)
- 07: 08 (hexagon)
- 09: 10 (rhombic dodecahedron)
For 11, 12, 13 is a wedge of 14 circles, independent of the tree's structure.
Grouped Stirling complexes for paths 15 with 16 are always wedges of circles, with the count provided by explicit formulas. For 17, 18, the complex is a hexagon (six 0-cells, six 1-cells).
In graph homology, the splitting via decorated-tree complexes provides computational tractability; for 19, the Betti numbers of the summands match 20.
7. Connections, Further Questions, and Open Problems
Stirling complexes and their grouped analogues are discrete configuration spaces, rich in both algebraic and topological structures:
- They serve as models for resource allocation and robot motion planning on graphs (Kozlov, 2023, Revelli et al., 10 Feb 2026).
- In genus-1 graph homology, constructed via Feynman transforms of commutative modular operads, Stirling complexes encode the direct sum decomposition of homology (Ward, 2023).
- Their homotopy invariance under tree isomorphism is a compelling categorical and topological property (Kozlov, 2023).
Active research investigates the computation of Betti numbers for grouped Stirling complexes in general graphs and color-vectors, the algebraic structure of their cohomology rings, topological complexity, Morse-theoretic cell filtrations, and the relations with classical combinatorial invariants such as the Stirling numbers of the second kind.
Open directions include cup-product structures, high-connectivity bounds, explicit Morse functions, and the implications for robot configuration spaces, as well as the deeper role of Stirling complex decompositions in graph-based algebraic topology (Revelli et al., 10 Feb 2026).