# 拉姆齐定理

**拉姆齐定理**是组合数学中的一个结果，它表明：对一个足够大（或无限）的集合的 n 元子集进行任意着色，总存在一个大的子集，使得着色在其上是常值的，即一个齐次子集。该定理由弗兰克·普伦普顿·拉姆齐（Frank Plumpton Ramsey）在论文《论形式逻辑的一个问题》中证明，该文于1928年12月13日在伦敦数学学会宣读，1930年发表，整个拉姆齐理论领域即由此得名——该领域研究的是这样一类命题：一个足够大的结构必然包含一个组织良好的子结构。<sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup><sup> • </sup><sup>[2](https://cs.stanford.edu/people/jbaek/infinite-ramsey.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 原始出处 | 弗兰克·普伦普顿·拉姆齐，《论形式逻辑的一个问题》，《伦敦数学学会会刊》，第2辑，30：264–286（1930）；1928年12月13日宣读<sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup><sup> • </sup><sup>[3](https://londmathsoc.onlinelibrary.wiley.com/doi/abs/10.1112/plms/s2-30.1.264)</sup>  |
| 无限版本 | 对 ω 中所有 n、m，可数无限集合的 n 元子集的每个 m-着色都有一个无限齐次子集，记作 \( \aleph_0 \to (\aleph_0)^n_m \)<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup> |
| 有限版本 | 对 ω 中所有 n、m、k（m > 0），存在 ω 中的 l 使得 \( l \to (k)^n_m \)<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup> |
| 图论情形 | 拉姆齐数 R(s,t) 是最小的 n，使得 n 个顶点上的每个图都包含 s 个顶点的团或 t 个顶点的独立集<sup>[5](https://arxiv.org/abs/2409.15709)</sup> |
| 已知精确值 | R(3,3) = 6，R(4,4) = 18，R(4,5) = 25；对于 R(5,5)，仅知 43 ≤ R(5,5) ≤ 46<sup>[6](https://mathworld.wolfram.com/RamseyNumber.html)</sup> |
| 更高基数上的局限 | 谢尔宾斯基（1933）证明了 \( \aleph_1 \nrightarrow (\aleph_1)^2_2 \)，因此无限定理不能推广到 ℵ1<sup>[7](https://www.math.cmu.edu/users/rami/MOAB1.pdf)</sup> |
| 所开创的领域 | 拉姆齐理论，20世纪70年代初确立为组合数学的主要分支<sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup> |

## 定理的陈述

该定理通常用划分演算的箭头记号来表述。对 \( [A]^n \)（即 A 的 n 元子集之集）的一个 c-着色是一个函数 \( f : [A]^n \to c \)；子集 \( B \subseteq A \) 称为对 f 齐次的，当 f 在 \( [B]^n \) 上是常值的。<sup>[2](https://cs.stanford.edu/people/jbaek/infinite-ramsey.pdf)</sup>

**无限版本。** 对所有自然数 n 和 m，可数无限集合的 n 元子集的每个 m-着色都容许一个无限齐次子集，简记为 \( \aleph_0 \to (\aleph_0)^n_m \)。<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup> n = 1 的情形本质上是无限鸽笼原理：把无限多个对象分成有限多个类，必有一个类是无限的。<sup>[8](https://proofwiki.org/wiki/Infinite_Ramsey%27s_Theorem)</sup> 标准证明构造一个无限集合的嵌套递减序列，每一步对集合进行细化，使得一个 n-元组的颜色只依赖于它的前 n − 1 个顶点，然后通过对角化提取出齐次集。<sup>[9](https://surya-teja.com/2010/07/16/ramsey-theory-infinite-and-finite/)</sup>

**有限版本。** 对 ω 中所有 n、m、k（m > 0），存在 ω 中的 l 使得 \( l \to (k)^n_m \)：一个 l 元集合的 n 元子集的任意 m-着色都容许一个大小为 k 的齐次子集。<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup> 用图论的话说，对每个 p、q，存在 n，使得每个 n 阶图都包含一个 p-团或一个大小为 q 的独立集。<sup>[10](https://uwaterloo.ca/computational-mathematics/sites/default/files/uploads/documents/research_paper_conor_duggan.pdf)</sup> 有限版本可以借助柯尼希引理，通过紧致性论证从无限版本推出，而拉姆齐在其论文中用有限定理解决了一类逻辑公式的可判定性问题。<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup><sup> • </sup><sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup>

## 拉姆齐数

有限定理的定量核心是拉姆齐数。对于图，R(s,t) 是最小的 n，使得 n 个顶点上的每个图都包含 s 个顶点的团或 t 个顶点的独立集；等价地，R(s,t) − 1 是一个既不含大小为 s 的团、也不含大小为 t 的独立集的图的最大顶点数。<sup>[5](https://arxiv.org/abs/2409.15709)</sup><sup> • </sup><sup>[11](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup> 更一般地，超图拉姆齐数 \( r_k(s,n) \) 是最小的 N，使得对 \( \{1, \ldots, N\} \) 的 k-元组的每个红蓝着色，都存在 s 个整数其所有 k-元组均为红色，或 n 个整数其所有 k-元组均为蓝色。<sup>[12](https://arxiv.org/abs/1707.04229)</sup>

拉姆齐定理保证这些数存在；计算它们却出了名地困难。目前仅知九个非平凡的双色值，而 R(4,4) 之后的每个精确值都需要大量计算。<sup>[11](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup> 已知的小值包括 R(3,3) = 6、R(3,4) = 9、R(3,5) = 14、R(4,4) = 18 和 R(4,5) = 25，最后一个由麦凯（McKay）和拉齐绍夫斯基（Radziszowski）于1995年通过大规模计算机搜索确定。<sup>[6](https://mathworld.wolfram.com/RamseyNumber.html)</sup> 研究最多的未决情形是对角数 R(5,5)：埃克苏（Exoo）于1989年证明了下界43，安格尔特维特（Angeltveit）和麦凯于2024年利用线性规划结合大规模计算机分情形检验（其计算已被独立复现）证明了 R(5,5) ≤ 46，因此 43 ≤ R(5,5) ≤ 46。<sup>[5](https://arxiv.org/abs/2409.15709)</sup><sup> • </sup><sup>[6](https://mathworld.wolfram.com/RamseyNumber.html)</sup> 麦凯和拉齐绍夫斯基于1997年猜想真值为43。<sup>[11](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup>

## 历史

拉姆齐（1903年2月22日 – 1930年1月19日）证明这两个定理，是作为引理服务于数理逻辑判定问题的一个特例——即寻找一套确定的步骤来判定给定逻辑公式的真假。<sup>[13](https://www.routledge.com/link/link/p/book/9780415510738)</sup> 这两个定理后来经保罗·埃尔德什（Paul Erdős）和乔治·塞凯赖什（George Szekeres）1935年一篇颇具影响力的论文而广为流传，并在20世纪70年代初促成了拉姆齐理论作为组合数学主要分支的确立，其基本目标是表明某一类型和规模的数学结构必然包含某一类型和规模的均匀子结构。<sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup> 图拉姆齐数的存在性自1930年起就已知晓，但人们对它们的定量行为仍然知之甚少，而界的进展一直由极值组合数学各方面的进步所推动。<sup>[14](https://arxiv.org/abs/1501.02474)</sup>

## 推广与局限

**不可数集。** 无限版本向不可数基数的自然推广不成立：谢尔宾斯基（Sierpiński）于1933年证明了 \( \aleph_1 \nrightarrow (\aleph_1)^2_2 \)，因此可数情形不能简单地替换为 ℵ1。<sup>[7](https://www.math.cmu.edu/users/rami/MOAB1.pdf)</sup> 如果把箭头左边的基数取得足够大，正面结果便会回归：埃尔德什–拉多定理指出，对 ω 中每个 n 和每个无限基数 κ，\( (\mathrm{i}_n(\kappa))^+ \to (\kappa^+)^{n+1}_\kappa \)，其中 \( \mathrm{i}_n \) 将幂集运算迭代 n 次；特别地 \( (2^\kappa)^+ \to (\kappa^+)^2_\kappa \)。<sup>[4](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)</sup> 该定理还引出了拉姆齐基数的概念，即这样的基数 κ：κ 的有限子集的任意二分划分都有一个同基数的齐次子集 Y；拉姆齐基数是最早的大基数范例之一，其存在性无法在 ZFC 内证明。<sup>[1](https://plato.stanford.edu/entries/ramsey/)</sup>

**相关的划分定理。** 拉姆齐理论如今包含一族形式相同的定理。被公认为该领域基石的赫尔斯–朱伊特定理，其推论包括关于等差数列的范德瓦尔登定理及其多维版本——加莱定理；富尔斯滕贝格–卡茨纳尔森密度版本与赫尔斯–朱伊特定理的关系，正如塞迈雷迪定理与范德瓦尔登定理的关系。<sup>[15](https://encyclopediaofmath.org/wiki/Hales-Jewett_theorem)</sup>

## 应用

拉姆齐定理及其相关定理在数理逻辑的若干领域中具有根本重要性，模型论可以把关于不可数结构的结果转移到有限数学中。<sup>[7](https://www.math.cmu.edu/users/rami/MOAB1.pdf)</sup> 在理论计算机科学中，拉姆齐理论提供下界和结构定理：有文献记载的应用包括分支程序下界、多方通信复杂性、赫尔斯–朱伊特定理、决策树复杂性、通过拉姆齐图的通信复杂性以及 XML 类型检查等等。<sup>[16](https://www.cs.umd.edu/~gasarch/TOPICS/ramsey/ramsey.html)</sup> 拉姆齐理论在通信理论、信息检索问题和决策树中也有应用。<sup>[10](https://uwaterloo.ca/computational-mathematics/sites/default/files/uploads/documents/research_paper_conor_duggan.pdf)</sup>

## References

1. [Frank Ramsey, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/ramsey/)
2. [Jongmin Baek, Introduction to Infinite Ramsey Theory (2007)](https://cs.stanford.edu/people/jbaek/infinite-ramsey.pdf)
3. [F. P. Ramsey, On a Problem of Formal Logic, Proc. London Math. Soc. s2-30: 264–286 (1930)](https://londmathsoc.onlinelibrary.wiley.com/doi/abs/10.1112/plms/s2-30.1.264)
4. [Stefan Geschke, Infinite Ramsey Theory, lecture notes](https://www.math.uni-hamburg.de/forschung/bereiche/dm/personen/geschke-stefan/pdf/teaching/infiniteramseynotes.pdf)
5. [V. Angeltveit, B. D. McKay, R(5,5) ≤ 46, arXiv:2409.15709 (2024)](https://arxiv.org/abs/2409.15709)
6. [Ramsey Number, Wolfram MathWorld](https://mathworld.wolfram.com/RamseyNumber.html)
7. [Model theory notes, Carnegie Mellon University (Theorem 4.13, Sierpiński 1933)](https://www.math.cmu.edu/users/rami/MOAB1.pdf)
8. [Infinite Ramsey's Theorem, ProofWiki](https://proofwiki.org/wiki/Infinite_Ramsey%27s_Theorem)
9. [Ramsey Theory: Infinite and Finite, A Neighbourhood Of Infinity](https://surya-teja.com/2010/07/16/ramsey-theory-infinite-and-finite/)
10. [C. Duggan, A SAT + Computer Algebra System Verification of the Ramsey Problems R(3,8) and R(3,9), University of Waterloo](https://uwaterloo.ca/computational-mathematics/sites/default/files/uploads/documents/research_paper_conor_duggan.pdf)
11. [Small Ramsey numbers — table of known values and bounds (2026), Cairn Commons](https://cairn-commons.com/guides/small-ramsey-numbers-table)
12. [D. Conlon, J. Fox, B. Sudakov (companion survey context), A survey of hypergraph Ramsey problems, arXiv:1707.04229](https://arxiv.org/abs/1707.04229)
13. [Foundations of Mathematics and other Logical Essays, F. P. Ramsey, Routledge](https://www.routledge.com/link/link/p/book/9780415510738)
14. [D. Conlon, J. Fox, B. Sudakov, Recent developments in graph Ramsey theory, arXiv:1501.02474 (2015)](https://arxiv.org/abs/1501.02474)
15. [Hales–Jewett theorem, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Hales-Jewett_theorem)
16. [W. Gasarch, Applications of Ramsey Theory to Computer Science](https://www.cs.umd.edu/~gasarch/TOPICS/ramsey/ramsey.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 20, 2026; Sep 30, 2026; 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/ramseys-theorem

English original: https://www.edgepedia.org/ramseys-theorem
