# 拉姆齐理论

**拉姆齐理论**是组合数学的一个分支，研究的是：一个数学结构必须大到何种程度，才能无论其内部如何混乱，都必定包含一个指定类型的、组织良好的子结构。它的核心结果是拉姆齐定理，该定理指出，对于任意指定的规模，只要完全图足够大，其任意一种边染色都必定包含一个该规模的单色团。该领域得名于弗兰克·普伦普顿·拉姆齐（Frank Plumpton Ramsey），他在1930年的论文《论形式逻辑中的一个问题》中证明了该定理；他于1930年1月19日去世，年仅26岁<sup>[1](https://www.nature.com/articles/125245b0)</sup>。拉姆齐定理经由保罗·埃尔德什（Paul Erdős）和乔治·塞凯赖什（George Szekeres）1935年一篇颇具影响力的论文而广为人知，到20世纪70年代初，拉姆齐理论已确立为组合数学的一个重要子学科<sup>[2](https://plato.stanford.edu/entries/ramsey/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 起源 | 拉姆齐定理在《论形式逻辑中的一个问题》（1930）中得到证明；非对角数由埃尔德什和塞凯赖什（1935）引入<sup>[3](https://arxiv.org/abs/2505.13371)</sup> |
| 首个例子 | R(3,3) = 6：K₆ 的任意红蓝边染色都包含一个单色三角形<sup>[4](https://ximera.osu.edu/math/combinatorics/combinatoricsBook/combinatoricsBook/combinatorics/ramseyTheory/ramseyTheory)</sup> |
| 一般上界 | R(ℓ,k) ≤ \( \binom{k+\ell-2}{\ell-1} \)（埃尔德什与塞凯赖什，1935）<sup>[5](https://epubs.siam.org/doi/10.1137/25M1833369)</sup> |
| 对角增长 | R(k,k) 的已知最佳上界为 N = 3.993^k，于2023年证明，这是自埃尔德什和塞凯赖什的 4^k 以来首次指数级改进<sup>[6](https://arxiv.org/abs/2411.09321)</sup> |
| 非对角 | (1/3 + o(1)) k²/log k ≤ R(3,k) ≤ (1 + o(1)) k²/log k<sup>[3](https://arxiv.org/abs/2505.13371)</sup> |
| 超图形式 | 对每个 m、n、k，存在 R(m, n; k)，使得对 N 元集合的 k 元子集的任意红蓝染色，都包含一个红色或蓝色的单色 k-团<sup>[7](https://www.math.brown.edu/~res/M1230/ramsey.pdf)</sup> |
| 应用 | 数论、几何、逻辑、信息论、理论计算机科学，以及程序终止性证明<sup>[8](https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS13)</sup> |

## 派对问题与 R(3,3)

标准的首个例子是派对问题：在六个人当中，每两人要么相识、要么不相识，那么必定有三个人彼此都相识，或者有三个人彼此都是陌生人<sup>[9](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)</sup>。用图论的话说，把完全图 K₆ 的每条边染成红色（相识）或蓝色（陌生）；断言是某个三角形的三条边全都同色。

证明用到鸽巢原理。取 K₆ 的一个顶点 v。它有5条关联边，因此其中至少有3条同色，不妨设为红色，连接 v 与顶点 A、B、C。若 A、B、C 之间有任意一条边是红色，则 v 连同该边构成一个红色三角形。若其中没有红边，则 A、B、C 构成一个蓝色三角形。无论哪种情形，都存在一个单色 K₃<sup>[4](https://ximera.osu.edu/math/combinatorics/combinatoricsBook/combinatoricsBook/combinatorics/ramseyTheory/ramseyTheory)</sup>。五个顶点则不够：K₅ 存在一种不含单色三角形的红蓝边染色，所以 R(3,3) 恰好等于6<sup>[4](https://ximera.osu.edu/math/combinatorics/combinatoricsBook/combinatoricsBook/combinatorics/ramseyTheory/ramseyTheory)</sup>。

同样的推理可推广到更多颜色。用三种颜色时，R(3,3,3) = 17：K₁₇ 的一个顶点有16条关联边，因此至少有6条同色，而剩下的6个顶点要么含有该颜色的一条边，要么诱导出一个双色 K₆，由 R(3,3) = 6 可知其中必含单色三角形。K₁₆ 存在一种不含单色三角形的染色（由三个克莱布施图（Clebsch graph）的副本构造而成），这表明该值恰好是17<sup>[4](https://ximera.osu.edu/math/combinatorics/combinatoricsBook/combinatoricsBook/combinatorics/ramseyTheory/ramseyTheory)</sup>。

## 拉姆齐数与一般定理

对正整数 a 和 b，拉姆齐数 R(a,b) 是最小的 n，使得 K_n 的边的任意2-染色都包含一个红色 K_a 或一个蓝色 K_b<sup>[9](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)</sup>。拉姆齐定理保证这个数对每一对 (a, b) 都存在，且该定义可推广到 r 种颜色，以及推广到对 k 元子集而非对边的染色。

一般性的陈述是超图拉姆齐定理。一个 k-超图有一个顶点集，并以一族 k 元子集作为边；2-超图就是普通的图，3-超图可以想象成一族三角形。该定理说，对每个 m、n、k，存在一个数 R(m, n; k)，使得若 N ≥ R(m, n; k)，则对一个 N 元顶点集的 k 元子集的任意红蓝染色，都包含一个红色 K_m 或一个蓝色 K_n，即存在一个 n 元子集，其所有 k 元子集都同色<sup>[7](https://www.math.brown.edu/~res/M1230/ramsey.pdf)</sup>。证明用的是双重归纳：固定一个顶点 v，按其余顶点的 (k−1)-子集与 v 结合时所取的颜色给它们染色，再应用 (k−1) 维的结果<sup>[7](https://www.math.brown.edu/~res/M1230/ramsey.pdf)</sup>。

## 界与渐近性

存在性证明给出的数字极其巨大，因此大多数研究衡量的是 R(ℓ,k) 实际上有多大。埃尔德什和塞凯赖什在1935年证明了

\[ R(\ell,k) \le \binom{k+\ell-2}{\ell-1}, \]

用的是递推式 R(ℓ,k) ≤ R(ℓ−1,k) + R(ℓ,k−1)，它来自对某个固定顶点的红色邻居和蓝色邻居的计数<sup>[5](https://epubs.siam.org/doi/10.1137/25M1833369)</sup>。拉姆齐本人的证明已表明，对角情形下 N = k! 就足够；埃尔德什和塞凯赖什将其改进为 N = 4^k，此后进展停滞了近90年<sup>[6](https://arxiv.org/abs/2411.09321)</sup>。

**对角突破。** 2023年，Campos、Griffiths、Morris 和 Sahasrabudhe 证明了 N = 3.993^k 对 R(k,k) 足够，这是对1935年界的首次指数级改进<sup>[6](https://arxiv.org/abs/2411.09321)</sup>。随后，Balister、Bollobás、Campos、Griffiths、Hurley、Morris、Sahasrabudhe 和 Tiba 给出了一个更具概念性的替代证明<sup>[6](https://arxiv.org/abs/2411.09321)</sup>。在下界方面，埃尔德什1947年给出 R(k,k) 指数下界的论证，被认为是概率方法最早的应用之一，而概率方法本身已发展成为组合数学中一个活跃的分支<sup>[5](https://epubs.siam.org/doi/10.1137/25M1833369)</sup><sup> • </sup><sup>[10](https://www.math.uni-hamburg.de/home/schacht/lehre/SS14/Ramsey/Ramsey.pdf)</sup>。

**非对角数。** 研究得最透彻的一族是 R(3,k)，即其中一种颜色必须避开三角形。Shearer 1983年的上界建立在 Ajtai、Komlós 和 Szemerédi 的半随机方法之上，给出 R(3,k) ≤ (1 + o(1)) k²/log k；而 Bohman 与 Keevash，以及 Fiz Pontiveros、Griffiths 与 Morris 对无三角形过程的分析给出了下界 (1/4 + o(1)) k²/log k<sup>[3](https://arxiv.org/abs/2505.13371)</sup>。2025年，Campos、Jenssen、Michelen 和 Sahasrabudhe 将下界改进为 (1/3 + o(1)) k²/log k，把上下界之间的差距缩小到 3 + o(1) 倍，并否证了常数 1/4 为最优的猜想<sup>[3](https://arxiv.org/abs/2505.13371)</sup>。他们的构造用一个随机图的膨胀作为无三角形过程的种子，产生出比该过程本身更稠密、同时独立数仍然很小的无三角形图<sup>[3](https://arxiv.org/abs/2505.13371)</sup>。

## 精确值与计算

精确的拉姆齐数只在参数很小时才为人所知，Stanisław Radziszowski 的一份动态综述（《小拉姆齐数》，发表于《电子组合数学杂志》）跟踪着已知值、界与计算结果<sup>[11](https://www.cs.rit.edu/~spr/ramsey/)</sup>。存在性与计算之间的差距很大：就连 R(5,5) 也未被精确确定，埃尔德什有一句名言：如果外星人要求得到 R(5,5) 的值，人类应当调动所有计算机和数学家来回答，而若要求 R(6,6)，那就有理由发动攻击了<sup>[9](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)</sup>。

如今计算工具贡献出了实实在在的界。SAT 求解器把“是否存在一种避免某图的单色副本的染色”这一问题编码，编码的不可满足性即证明了一个上界；这类编码已被用于算术拉姆齐理论中的精确计算，包括舒尔数、拉多数和范德瓦尔登数<sup>[12](https://doi.org/10.1016/j.disc.2025.114913)</sup>。马里兰大学的一个项目用并行化的 SAT 求解器确立了拉姆齐型数的新界，例如着色格点中单色直角等腰三角形的 21 ≤ R₃(L) ≤ 2593<sup>[9](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)</sup>。

## 相关分支

拉姆齐理论远远超出图的范畴。算术拉姆齐理论研究自然数的任意有限染色所必然迫使出现的模式；它结合了图论、傅里叶分析、几何群论和遍历理论，并与数论和加性组合数学有深刻联系<sup>[13](https://university.open.ac.uk/stem/mathematics-and-statistics/events/pure-mathematics-colloquium-arithmetic-ramsey-theory)</sup>。其经典结果包括舒尔定理、关于单色等差数列的范德瓦尔登定理，以及欣德曼定理<sup>[14](https://edu.epfl.ch/coursebook/en/number-theory-i-c-combinatorial-number-theory-MATH-337)</sup>。范德瓦尔登数，即范德瓦尔登定理的定量形式，是拉姆齐数的近亲<sup>[9](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)</sup>。

无穷拉姆齐理论断言，自然数的 n 元子集的任意 k-染色都容许一个无穷单色集，它有自己的结构：并非所有实数集都是拉姆齐的，但开集和波莱尔集都是，这些结果与 Galvin–Prikry 引理相关<sup>[15](https://www.maths.cam.ac.uk/postgrad/part-iii/files/misc/2020-21%20Guide/Part%20III%20Guide%20to%20Courses%202020-21.pdf)</sup>。在集合论中，拉姆齐基数 κ 由 κ 的有限子集的一种划分性质定义，是第一批大基数例子之一——大基数大到其存在性无法在 ZFC 内证明<sup>[2](https://plato.stanford.edu/entries/ramsey/)</sup>。

## 应用

Vera Rosta 的一篇综述列举了拉姆齐理论在数论、代数、几何、拓扑、集合论、逻辑、遍历理论、信息论和理论计算机科学中的应用<sup>[8](https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS13)</sup>。

**程序终止性。** Byron Cook、Andreas Podelski 和 Andrey Rybalchenko 在证明程序终止性的实际工作和理论工作中都使用了拉姆齐定理，从程序状态上类似秩的关系出发构造终止性论证<sup>[16](https://blog.computationalcomplexity.org/2011/08/application-of-ramsey-theory-to-proving.html)</sup>。

**通信复杂性。** Pavel Pudlák 使用欣德曼定理——一个关于自然数有限子集的拉姆齐型结果——证明了某个问题的通信复杂性随输入字长度的增加而增长<sup>[17](https://www.cambridge.org/core/journals/combinatorics-probability-and-computing/article/abs/an-application-of-hindmans-theorem-to-a-problem-on-communication-complexity/1EC8C456816A41D78487C68B636B75D6)</sup>。

拉姆齐图，即其边染色避开大单色团的图，也出现在信息论中，例如在重复通信的研究里<sup>[18](https://cris.bgu.ac.il/en/publications/repeated-communication-and-ramsey-graphs-11/)</sup>。

## References

1. [Mr. F. P. Ramsey, Nature 125, 245–246 (1930)](https://www.nature.com/articles/125245b0)
2. [Frank Ramsey, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/ramsey/)
3. [Campos, Jenssen, Michelen, Sahasrabudhe (2025). A new lower bound for the Ramsey numbers R(3,k). arXiv:2505.13371](https://arxiv.org/abs/2505.13371)
4. [Ramsey Theory, Ximera (Ohio State University)](https://ximera.osu.edu/math/combinatorics/combinatoricsBook/combinatoricsBook/combinatorics/ramseyTheory/ramseyTheory)
5. [Some Recent Results in Ramsey Theory, ICM 2026 Plenary Lectures, SIAM](https://epubs.siam.org/doi/10.1137/25M1833369)
6. [Wigderson, Y. (2024). Upper bounds on diagonal Ramsey numbers [after Campos, Griffiths, Morris, and Sahasrabudhe]. arXiv:2411.09321](https://arxiv.org/abs/2411.09321)
7. [The Basics of Ramsey Theory, Brown University lecture notes](https://www.math.brown.edu/~res/M1230/ramsey.pdf)
8. [Rosta, V. (2004). Ramsey Theory Applications. Electronic Journal of Combinatorics, Dynamic Survey DS13](https://www.combinatorics.org/ojs/index.php/eljc/article/view/DS13)
9. [Canakci, Christenson, Fleischman, McNabb, Smolyak, Gasarch. On SAT Solvers and Ramsey-type Numbers](https://www.cs.umd.edu/~gasarch/reupapers/ramseysat.pdf)
10. [Ramsey Theory, University of Hamburg lecture notes](https://www.math.uni-hamburg.de/home/schacht/lehre/SS14/Ramsey/Ramsey.pdf)
11. [Computational Ramsey Theory, Rochester Institute of Technology](https://www.cs.rit.edu/~spr/ramsey/)
12. [Lower bounds for book Ramsey numbers, Discrete Mathematics (2025)](https://doi.org/10.1016/j.disc.2025.114913)
13. [Pure Mathematics Colloquium: Arithmetic Ramsey theory, The Open University](https://university.open.ac.uk/stem/mathematics-and-statistics/events/pure-mathematics-colloquium-arithmetic-ramsey-theory)
14. [Number Theory I.c – Combinatorial Number Theory, EPFL course description](https://edu.epfl.ch/coursebook/en/number-theory-i-c-combinatorial-number-theory-MATH-337)
15. [Ramsey Theory (M16), Cambridge Part III Guide 2020–21](https://www.maths.cam.ac.uk/postgrad/part-iii/files/misc/2020-21%20Guide/Part%20III%20Guide%20to%20Courses%202020-21.pdf)
16. [An application of Ramsey Theory to Proving Programs Terminate, Computational Complexity blog](https://blog.computationalcomplexity.org/2011/08/application-of-ramsey-theory-to-proving.html)
17. [Pudlák, P. An Application of Hindman's Theorem to a Problem on Communication Complexity, Combinatorics, Probability and Computing](https://www.cambridge.org/core/journals/combinatorics-probability-and-computing/article/abs/an-application-of-hindmans-theorem-to-a-problem-on-communication-complexity/1EC8C456816A41D78487C68B636B75D6)
18. [Repeated Communication and Ramsey Graphs, IEEE Transactions on Information Theory (1995)](https://cris.bgu.ac.il/en/publications/repeated-communication-and-ramsey-graphs-11/)

---
*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 › Extremal and additive combinatorics › Ramsey theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/ramsey-theory

English original: https://www.edgepedia.org/ramsey-theory
