# 标号计数定理

标号计数定理，亦称组合计数基本定理，是解析组合学的一项结果，它将标号组合结构（由可区分原子构成的结构）上的构造转化为其指数生成函数（EGF）上的方程。它是无标号类符号方法的标号对应物，在无标号情形中，普通生成函数与波利亚定理扮演相应角色。

| 关键事实 | 细节 |
|---|---|
| 研究对象 | 标号结构，其中原子（顶点、字母、位置）可区分，通常以标号 \( 1, 2, \ldots, n \) 标识<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup> |
| 生成函数 | 指数生成函数：一个具有 \( c_n \) 个大小为 \( n \) 的标号对象的类，其 EGF 为 \( C(z) = \sum_{n \geq 0} c_n \, z^n / n! \)<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup> |
| 为何更易 | 标号打破了对称性，因此标号计数往往比无标号情形更容易<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup> |
| 指数公式 | 若 \( g(x) \) 是连通标号图的 EGF，则 \( e^{g(x)} \) 是所有标号图的 EGF；在 \( [n] \) 上有 \( 2^{\binom{n}{2}} \) 个标号图<sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup> |
| 经典应用 | 取 \( G = S_m \) 应用该定理，可得第一类无符号斯特林数的 EGF，该数计数 \( n \) 个元素具有 \( m \) 个轮换的排列<sup>[3](https://pnp.mathematik.uni-stuttgart.de/iadm/Riedel/papers/randperms.pdf)</sup> |
| 树 | \( n \) 个结点上的标号树数目为 \( n^{n-2} \)，即凯莱公式<sup>[4](https://www.intechopen.com/chapters/68889)</sup> |

## 标号计数与无标号计数

在标号计数中，对象的原子带有互不相同的标号，通常为整数 \( 1 \) 到 \( n \)，仅相差一个标号置换的两个结构被计为不同对象。在无标号计数中，对象在同构意义下计数，因此重标号被视为相同。许多自然类允许用标号原子给出紧凑的规格说明，而标号往往使计数更容易，因为标号消除了使无标号情形复杂化的对称性<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup>。两种情形使用不同的生成函数：标号计数与指数生成函数为一方，无标号计数与普通生成函数为另一方<sup>[5](https://www.cs.au.dk/~gerth/alcom-ft/TR/ALCOMFT-TR-02-123.html)</sup>。

在标号类中，标号对象的大小与其标号数目总是一致的<sup>[6](https://www.nzdr.ru/data/media/biblio/kolxoz/_Papers/TU_Wien_Scripta/Analysis/Kombinatorik/Enumerative_Combinatorics_001%28en%29%2847s%29.pdf)</sup>。难度的对比在一个基本例子中可见：\( n \) 个顶点上的标号图数目为 \( 2^{\binom{n}{2}} \)，因为 \( \binom{n}{2} \) 个顶点对中的每一对可以连边也可以不连边；而无标号图（在同构意义下计数的图）的数目要小得多，且没有可比的封闭形式<sup>[7](https://neelmishra.github.io/blog/cp/combinatorics-1/exponential-gf.html)</sup>。

## 陈述与机制

该定理通过符号方法运作：标号类上的每个组合构造对应 EGF 上的一个运算。标号类的计数级数具有形式

\[ C(z) = \sum_{n \geq 0} \frac{c_n}{n!} z^n, \]

其中 \( c_n \) 计数大小为 \( n \) 的标号对象<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup>。分母中的阶乘正是标号运算得以成立的原因：当两个大小分别为 \( k \) 和 \( n-k \) 的标号对象组合时，有 \( \binom{n}{k} \) 种方式将标号集 \( [n] \) 一致地分配给二者，而这种二项式交错恰好被 EGF 乘积吸收<sup>[1](https://enumeration.ca/extensions/labelled-constructions/)</sup>。

**指数公式。** 核心推论涉及分量的集合。若 \( f(x) \) 是某标号对象类的 EGF 且 \( f(0) = 0 \)，则 \( e^{f(x)} \) 是此类对象之集合的 EGF。斯坦利（Stanley）的论述给出了机制：\( f(x)^k \) 计数 \( k \)-元组，除以 \( k! \) 将元组转化为 \( k \)-集合，因为每个 \( k \)-集合有 \( k! \) 种排序方式，对 \( k \) 求和即得指数<sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup>。同一文献还导出了由此原理产生的标准 EGF：\( (e^x - 1)^k / k! \) 是将集合划分为 \( k \) 个块的 EGF，其系数为第二类斯特林数 \( S(n,k) \)；\( e^{e^x - 1} \) 是所有集合划分的 EGF，其系数为贝尔数<sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup>。

**轮换。** 一个排列是一组轮换，标号轮换构造的 EGF 为 \( \log \frac{1}{1-z} \)；构成轮换的集合即恢复排列的 EGF \( \frac{1}{1-z} \)，这是 exp 与 log 互为反函数这一事实的组合表达<sup>[8](https://androma.org/page/Analytic%20Combinatorics)</sup><sup> • </sup><sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup>。

## 应用

**按轮换数计数排列。** 取 \( G = S_m \) 应用标号计数定理，按轮换数计数排列，用变量标记每个轮换并提取 \( m \) 个轮换的系数，得到生成函数<sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup>

\[ g_m(z) = \frac{1}{m!} \left( \log \frac{1}{1-z} \right)^m, \]

其系数为按 \( \binom{n}{m} \) 缩放的计数，给出第一类无符号斯特林数，即 \( n \) 个元素恰有 \( m \) 个轮换的排列数<sup>[3](https://pnp.mathematik.uni-stuttgart.de/iadm/Riedel/papers/randperms.pdf)</sup>。

**连通图。** 由于任何标号图都是一组连通标号图，指数公式给出（设 \( g(x) \) 为连通标号图的 EGF）

\[ g(x) = \log \left( \sum_{n \geq 0} 2^{\binom{n}{2}} \frac{x^n}{n!} \right), \]

因为在 \( [n] \) 上有 \( 2^{\binom{n}{2}} \) 个标号图<sup>[2](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)</sup>。这是无需直接处理连通性即可计数连通标号图的标准途径。

**树。** 凯莱公式指出 \( n \) 个结点上的标号树数目为 \( n^{n-2} \)，它是图计数最早的封闭形式结果之一<sup>[4](https://www.intechopen.com/chapters/68889)</sup>。在物种框架下，有根树的 EGF 满足 \( T_*(x) = x \, e^{T_*(x)} \)，拉格朗日反演提取出系数 \( n^{n-1} \)，即凯莱计数的有根版本<sup>[9](https://webspace.maths.qmul.ac.uk/p.j.cameron/notes/counting.pdf)</sup>。

## 与物种及波利亚理论的关系

标号计数定理也作为更大框架的标号半边出现。在安德烈·茹瓦亚尔（André Joyal）于 1980 年引入的组合物种理论中，一个物种为每个有限集赋予该集所承载的结构之集合，该理论为标号结构与无标号结构的生成函数提供了统一处理<sup>[10](https://books.google.com/books/about/Combinatorial_Species_and_Tree_like_Stru.html?id=bSR1uGoUVYgC)</sup>。一个物种的轮换指数级数同时编码该物种的标号与无标号计数数据<sup>[11](https://arxiv.org/abs/1312.0542)</sup>，标号 EGF 与无标号 OGF 是其特化<sup>[9](https://webspace.maths.qmul.ac.uk/p.j.cameron/notes/counting.pdf)</sup>。

在无标号一侧，相应的工具是波利亚计数定理，它利用置换群的轮换指数，按群作用下的等价关系对结构进行计数；无标号图计数问题通常用普通生成函数结合波利亚定理来处理<sup>[4](https://www.intechopen.com/chapters/68889)</sup>。标号定理之所以避开这套群论机制，正是因为标号使所有原子可区分，从而无需对对称性取商。

## References

1. [Labelled Constructions, An Invitation to Enumeration](https://enumeration.ca/extensions/labelled-constructions/)
2. [Richard P. Stanley, Enumerative Combinatorics lecture notes, MIT](https://math.mit.edu/~rstan/pubs/pubfiles/79.pdf)
3. [Martin Riedel, The statistics of random permutations, Universität Stuttgart](https://pnp.mathematik.uni-stuttgart.de/iadm/Riedel/papers/randperms.pdf)
4. [Combinatorial Enumeration of Graphs, IntechOpen](https://www.intechopen.com/chapters/68889)
5. [Analytic Combinatorics research report, ALCOMFT-TR-02-123](https://www.cs.au.dk/~gerth/alcom-ft/TR/ALCOMFT-TR-02-123.html)
6. [Enumerative Combinatorics lecture notes, TU Wien](https://www.nzdr.ru/data/media/biblio/kolxoz/_Papers/TU_Wien_Scripta/Analysis/Kombinatorik/Enumerative_Combinatorics_001%28en%29%2847s%29.pdf)
7. [Exponential Generating Functions & Labeled Structures, Neel Mishra](https://neelmishra.github.io/blog/cp/combinatorics-1/exponential-gf.html)
8. [Analytic Combinatorics, Androma](https://androma.org/page/Analytic%20Combinatorics)
9. [Peter J. Cameron, Notes on Counting, Queen Mary University of London](https://webspace.maths.qmul.ac.uk/p.j.cameron/notes/counting.pdf)
10. [Combinatorial Species and Tree-like Structures, Bergeron, Labelle, Leroux, Cambridge University Press](https://books.google.com/books/about/Combinatorial_Species_and_Tree_like_Stru.html?id=bSR1uGoUVYgC)
11. [Combinatorial species and graph enumeration, arXiv](https://arxiv.org/abs/1312.0542)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Combinatorics › Enumerative combinatorics › Generating functions and symbolic methods › Pólya enumeration theorem

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/labelled-enumeration-theorem

English original: https://www.edgepedia.org/labelled-enumeration-theorem
