# 塞迈雷迪正则引理

**塞迈雷迪正则引理**（Szemerédi regularity lemma）是图论中的一条定理，它断言：每个大的稠密图的顶点集都可以划分成有界多个类，使得大多数类对之间的边表现得像随机二部图中的边。该引理由安德烈·塞迈雷迪（Endre Szemerédi）引入，作为他1975年证明“每个具有正上密度的整数集都包含任意有限长度的等差数列”的工具；这一证明解决了埃尔德什（Erdős）和图兰（Turán）的一个猜想。此后，该引理成为极值组合、加性数论和理论计算机科学中的核心工具。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1107.4829)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述（非正式） | 每个大的稠密图都可以由均衡顶点划分的各类之间的导出随机型（拟随机）二部子图的并来近似。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup> |
| 起源 | 最初形式由塞迈雷迪发明，作为研究稠密整数集中等差数列的埃尔德什-图兰猜想的工具；发表于《图的正则划分》（“Regular partitions of graphs”，1978）。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup><sup> • </sup><sup>[3](https://www.renyi.hu/~szemered/pub.html)</sup> |
| 标志性应用 | 三角形移除引理：一个有 N 个顶点、含 o(N³) 个三角形的图，可以通过删除 o(N²) 条边变成无三角形图。<sup>[5](https://link.springer.com/article/10.1007/s10817-022-09650-2)</sup> |
| 数论收益 | 鲁萨（Ruzsa）和塞迈雷迪（1978）从三角形移除引理推出了关于三项等差数列的罗特（Roth）定理。<sup>[6](https://www.scholarpedia.org/article/Szemer%C3%A9di%27s_Theorem)</sup> |
| 算法状态 | 判定给定划分是否正则的问题是 co-NP完全的，但仍可在 O(M(n)) 时间内构造一个正则划分，其中 M(n)=O(n^2.376) 是矩阵乘法时间。<sup>[7](https://web.math.princeton.edu/~nalon/PDFS/reg5.pdf)</sup> |
| 解析形式 | 洛瓦兹（Lovász）和塞格迪（Szegedy）把正则性重新表述在图极限理论中；在那里，它对应于图极限函数（graphon）空间在割度量下的紧性。<sup>[8](https://arxiv.org/abs/1002.4377)</sup> |

## 陈述

对于图中两个不相交的顶点集 X 和 Y，*密度* d(X,Y) 是 X 与 Y 之间的边数除以 |X||Y|，即所有可能的跨边中实际存在的比例。<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0167637700000584)</sup> 若对任意大的子集 X′⊆X 和 Y′⊆Y，它们之间的边密度都接近 d(X,Y)，则称对 (X,Y) 是 ε-正则的；小集合并不能把密度扭曲超过大约 ε。该引理接着断言：对每个 ε>0 和每个整数 t₀，都存在一个界 K=K(ε,t₀)，使得每个充分大的图在丢弃有界多个例外顶点后，都允许把其顶点均衡划分成 t 个类，且 t₀≤t≤K，其中除一小部分类对之外，所有类对都张成 ε-正则二部图。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup>

关键且最初令人惊讶的特点是，类数目的上界只依赖于 ε 和 t₀，而不依赖于被划分的图。<sup>[4](https://extremalcombinatorics.com/notes/sec_removal.html)</sup> 在这个意义上，每个大的稠密图都可以用一个有界复杂度的随机型对象来近似，这使数学家能把概率直觉引入确定性问题。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup>

## 证明思路

证明依赖于划分的*指数*（或能量），这是塞迈雷迪首先引入的量：对划分 P=(V₁,…,V_t)，

\[ \mathrm{ind}(P) = \frac{1}{|V|^2} \sum_{i<j} d(V_i, V_j)^2 |V_i||V_j|, \]

一个加权均方密度，它总介于 0 和 1 之间。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup> 从任意划分出发，只要有一对类不是 ε-正则的，就用柯西–施瓦茨不等式的一个推论来细化它；该推论表明，这样的细化至少会把指数提高一个量级为 ε⁵ 的固定量。由于指数不能无限增长，细化步骤只能发生有界多次，过程最终终止于一个正则划分。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup><sup> • </sup><sup>[10](https://ocw.tau.edu.ng/courses/mathematics/18-217-graph-theory-and-additive-combinatorics-fall-2019/video-lectures/lecture-13-sparse-regularity-and-the-green-tao-theorem/)</sup>

## 应用：正则性方法

该引理的应用通常遵循麻省理工学院（MIT）数学教授赵宇飞（Yufei Zhao）描述的三步配方：用正则引理划分顶点集，删除相对于该划分表现不佳的边以清理图，并利用所得的随机型结构来计数子图。<sup>[11](https://ocw.mit.edu/courses/18-225-graph-theory-and-additive-combinatorics-fall-2023/resources/lecture-7-szemeredi2019s-graph-regularity-lemma-ii-triangle-removal-lemma/)</sup><sup> • </sup><sup>[12](https://yufeizhao.com/gtac/fa19/gtac19.pdf)</sup>

**三角形移除引理。** 最著名的应用断言：对每个 ε>0，存在 δ>0，使得任何有 N 个顶点、至多含 δN³ 个三角形的图，都可以通过删除至多 εN² 条边变成无三角形图；等价地说，含 o(N³) 个三角形的图可以通过删除 o(N²) 条边变成无三角形图。<sup>[5](https://link.springer.com/article/10.1007/s10817-022-09650-2)</sup> 证明先应用正则引理，再应用三角形计数引理；后者说，三个密度高于 2ε 的 ε-正则类对会在这三个类之间强制产生许多三角形。<sup>[11](https://ocw.mit.edu/courses/18-225-graph-theory-and-additive-combinatorics-fall-2023/resources/lecture-7-szemeredi2019s-graph-regularity-lemma-ii-triangle-removal-lemma/)</sup><sup> • </sup><sup>[4](https://extremalcombinatorics.com/notes/sec_removal.html)</sup> 该引理常被概括为：如果一个图必须删除正比例的边才能破坏所有三角形，那么它必定含有正比例的三角形。<sup>[13](https://matheuscmss.wordpress.com/2012/01/07/applications-of-szemeredis-regularity-lemma-triangle-removal-lemma-roths-theorem-corners-theorem-and-graph-removal-lemma/)</sup>

**罗特定理。** 1978年，鲁萨和塞迈雷迪观察到，罗特定理——即每个稠密整数集都包含一个三项等差数列——可由三角形移除引理推出，从而为一项数论结果提供了一条组合的、图论的途径。<sup>[6](https://www.scholarpedia.org/article/Szemer%C3%A9di%27s_Theorem)</sup><sup> • </sup><sup>[14](https://upcommons.upc.edu/entities/publication/0ff3edb9-b193-4429-94ac-b33ffed34061)</sup> 同样的正则性方法还可推出更多结果，如角定理和一般图移除引理。<sup>[13](https://matheuscmss.wordpress.com/2012/01/07/applications-of-szemeredis-regularity-lemma-triangle-removal-lemma-roths-theorem-corners-theorem-and-graph-removal-lemma/)</sup><sup> • </sup><sup>[15](https://yurilima-math.com/wp-content/uploads/2022/10/szemeredi_regularity_lemma.pdf)</sup> 把该引理与图兰定理结合起来，还可以推出埃尔德什-斯通定理的一个特例。<sup>[4](https://extremalcombinatorics.com/notes/sec_removal.html)</sup>

## 界与局限

正则引理的保证伴随着严重的定量代价。康伦（Conlon）和雅各布·福克斯（Jacob Fox）表明，非正则类对也无法被消除：对任意正整数 k，都存在一个图，使得每个把顶点均衡划分成 k 个部分的划分都至少有 ck²/log* k 个非 ε-正则类对；这个界在常数因子意义下是紧的，并回答了高尔斯（Gowers）的一个问题。<sup>[2](https://arxiv.org/abs/1107.4829)</sup> 半图——以 A={a₁,…,aₙ} 和 B={b₁,…,bₙ} 为两部分的二部图，其中 aᵢ 与 bⱼ 相邻当且仅当 i≤j——是表明非正则类对有时不可避免的标准例子。<sup>[2](https://arxiv.org/abs/1107.4829)</sup>

对三角形移除引理本身，标准正则性证明给出的 δ(ε) 的倒数是一个高度为 ε^{-O(1)} 的 2 的塔；斯坦福大学（Stanford University）数学教授雅各布·福克斯用一种避开正则性的证明把高度改进到 O(log(1/ε))；而目前已知最好的下界来自鲁萨–塞迈雷迪论证，该论证基于贝伦德（Behrend）构造的大无等差数列集，这个下界只是略超多项式，即 (1/ε)^{c log(1/ε)}。<sup>[16](https://www.cambridge.org/core/journals/combinatorics-probability-and-computing/article/removal-lemmas-and-approximate-homomorphisms/A0618B680623DD624744FA294C9F2504)</sup>

## 变体

若干加强和减弱版本使该引理适用于不同用途。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup>

- 弗里兹（Frieze）和坎南（Kannan）的**弱正则引理**是为设计稠密图问题（如 MAX-CUT）的近似算法而引入的；它用全局条件取代成对正则性：仅用类密度就能把每个大顶点集的边数近似到 εn² 以内。参数为 ε 的弱划分可能需要多达 2^{Ω(ε^{-2})} 个部分，且这在隐含常数意义下是紧的。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1107.4829)</sup>
- 阿隆（Alon）、费舍尔（Fischer）、克里韦列维奇（Krivelevich）和塞格迪的**强正则引理**给出一个均衡划分以及它的一个细化，使得细化中的边密度接近较粗划分的边密度。其证明迭代使用普通引理；康伦和福克斯证明了其部分数目的一个沃泽型下界，它比阿克曼层级中的塔函数高一层。<sup>[2](https://arxiv.org/abs/1107.4829)</sup>
- **稀疏版本**把该引理推广到有 o(n²) 条边的图；这样的版本首先由小早川义治（Yoshiharu Kohayakawa）及其合作者应用于随机图的子图的极值和拉姆齐型问题。<sup>[1](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)</sup>
- 到**超图**的推广由蒂莫西·高尔斯以及罗德尔（Rödl）及其同事证明；陶哲轩（Terence Tao）则从概率论和信息论的角度研究过该引理。<sup>[5](https://link.springer.com/article/10.1007/s10817-022-09650-2)</sup>

## 算法方面

该引理最初的证明不是算法性的，而其计算图景很不寻常。普林斯顿大学（Princeton University）数学教授诺加·阿隆与杜克（Duke）、莱夫曼（Lefmann）、罗德尔和尤斯特（Yuster）表明，判定输入图的一个给定划分是否满足该引理所保证的正则性质是 co-NP完全的；然而，具有这些性质的划分却可以高效找到，在 n 个顶点的图上用时 O(M(n))，其中 M(n)=O(n^2.376) 是相乘两个 n×n 的 0-1 矩阵所需的时间，而且该算法可并行化到 NC¹。<sup>[7](https://web.math.princeton.edu/~nalon/PDFS/reg5.pdf)</sup> 这产生了一个自然的问题：在假定 P 与 NP 不同的情况下，找到一个解很容易，而验证给定解却很难。<sup>[7](https://web.math.princeton.edu/~nalon/PDFS/reg5.pdf)</sup> 此后，弱弗里兹–坎南引理的算法版本被用于加速确定性子图计数，把运行时间对误差参数的依赖从指数级降到多项式级。<sup>[17](https://arxiv.org/abs/1604.00733)</sup>

## 图极限

洛瓦兹和塞格迪从解析角度解释正则性：稠密图的收敛序列具有称为图极限函数的极限对象，即对称可测函数 W:[0,1]²→[0,1]；而正则引理对应于图极限函数空间在割度量下的紧性。<sup>[8](https://arxiv.org/abs/1002.4377)</sup><sup> • </sup><sup>[18](https://www.sciencedirect.com/science/article/pii/S0031320325008660)</sup> 在这个图景中，由该引理所产生的约化图在 ε→0 时的极限就是图极限函数本身；而相应度量空间的拓扑性质——例如排除某个导出子二部图的图极限函数具有有限填充维数——会转化为多项式规模的正则划分。<sup>[8](https://arxiv.org/abs/1002.4377)</sup>

## References

1. [Rödl, Vojtěch, and Mathias Schacht. Regularity lemmas for graphs. Survey.](https://www.math.uni-hamburg.de/home/schacht/2010/reg_survey.pdf)
2. [Conlon, David, and Jacob Fox. Bounds for graph regularity and removal lemmas. arXiv:1107.4829.](https://arxiv.org/abs/1107.4829)
3. [Publications of Endre Szemerédi, Alfréd Rényi Institute of Mathematics.](https://www.renyi.hu/~szemered/pub.html)
4. [The Regularity and Triangle Removal Lemmas, extremalcombinatorics.com notes.](https://extremalcombinatorics.com/notes/sec_removal.html)
5. [Formalising Szemerédi's Regularity Lemma and Roth's Theorem in Isabelle/HOL, Journal of Automated Reasoning.](https://link.springer.com/article/10.1007/s10817-022-09650-2)
6. [Szemerédi's Theorem, Scholarpedia (Terence Tao).](https://www.scholarpedia.org/article/Szemer%C3%A9di%27s_Theorem)
7. [Alon, N., Duke, R. A., Lefmann, H., Rödl, V., Yuster, R. The Algorithmic Aspects of the Regularity Lemma.](https://web.math.princeton.edu/~nalon/PDFS/reg5.pdf)
8. [Lovász, László, and Balázs Szegedy. Regularity partitions and the topology of graphons. arXiv:1002.4377.](https://arxiv.org/abs/1002.4377)
9. [Maximum dispersion problem in dense graphs, ScienceDirect.](https://www.sciencedirect.com/science/article/abs/pii/S0167637700000584)
10. [Lecture 13: Sparse Regularity and the Green–Tao Theorem, MIT 18.217.](https://ocw.tau.edu.ng/courses/mathematics/18-217-graph-theory-and-additive-combinatorics-fall-2019/video-lectures/lecture-13-sparse-regularity-and-the-green-tao-theorem/)
11. [Lecture 7: Szemerédi's Graph Regularity Lemma II: Triangle Removal Lemma, MIT OpenCourseWare 18.225 (Yufei Zhao).](https://ocw.mit.edu/courses/18-225-graph-theory-and-additive-combinatorics-fall-2023/resources/lecture-7-szemeredi2019s-graph-regularity-lemma-ii-triangle-removal-lemma/)
12. [Yufei Zhao. Graph theory and additive combinatorics, course notes (2019).](https://yufeizhao.com/gtac/fa19/gtac19.pdf)
13. [Matheus, Carlos. Applications of Szemerédi's regularity lemma: triangle removal lemma, Roth's theorem, corners theorem and graph removal lemma.](https://matheuscmss.wordpress.com/2012/01/07/applications-of-szemeredis-regularity-lemma-triangle-removal-lemma-roths-theorem-corners-theorem-and-graph-removal-lemma/)
14. [The Removal Lemma: algebraic versions and applications, UPC.](https://upcommons.upc.edu/entities/publication/0ff3edb9-b193-4429-94ac-b33ffed34061)
15. [Szemerédi's regularity lemma (notes), yurilima-math.com.](https://yurilima-math.com/wp-content/uploads/2022/10/szemeredi_regularity_lemma.pdf)
16. [Removal lemmas and approximate homomorphisms, Combinatorics, Probability and Computing (Cambridge Core).](https://www.cambridge.org/core/journals/combinatorics-probability-and-computing/article/removal-lemmas-and-approximate-homomorphisms/A0618B680623DD624744FA294C9F2504)
17. [Fox, Jacob, et al. On regularity lemmas and their algorithmic applications. arXiv:1604.00733.](https://arxiv.org/abs/1604.00733)
18. [Experimental evaluation of Szemerédi's regularity lemma in graph-based clustering, Pattern Recognition.](https://www.sciencedirect.com/science/article/pii/S0031320325008660)

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

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Graph theory › Graph theory subfields and named results › Extremal graph theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/szemeredi-regularity-lemma

English original: https://www.edgepedia.org/szemeredi-regularity-lemma
