# 上界与下界

一个集合的**上界**（upper bound）是不小于该集合中每个元素的值，而**下界**（lower bound）是不大于该集合中每个元素的值；*最小上界*（least upper bound，记作 sup，即上确界）与*最大下界*（greatest lower bound，记作 inf，即下确界）分别是两类界中最好的可能界。任意一个界与最小界之间的区别之所以重要，是因为界并不唯一，而上确界与下确界是唯一的；也因为实数集合上确界的存在性，恰恰就是使实数区别于有理数的完备性性质。这类可证明的界在整个计算领域也充当保证，从分支定界优化到经过认证的数值算术，莫不如此。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup><sup> • </sup><sup>[2](https://www.ams.org/bookstore/pspdf/amstext-36-prev.pdf)</sup><sup> • </sup><sup>[3](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 上确界 | β = sup X 意味着每个 x ∈ X 都满足 x ≤ β，并且对任意 β′ < β，都存在某个 x′ ∈ X 使 x′ > β；下确界按对偶方式定义。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup> |
| 唯一性 | 上确界与下确界存在时是唯一的：若 b 与 b′ 都是上确界，则 b ≤ b′ 且 b′ ≤ b。<sup>[4](https://jirka.org/ra/html/sec_basicpropsrn.html)</sup> |
| 完备性 | 每个非空且有上界的实数集合都有实数上确界；同样的断言在有理数域中不成立。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup><sup> • </sup><sup>[5](https://uoe-school-of-mathematics.github.io/MATH08081_IMA/Ch1.S3.html)</sup> |
| 取到性 | 对 [a, b] 和 (a, b) 两者都有 inf = a 且 sup = b；这些界属于闭区间但不属于开区间，因此上确界可能是最大值，也可能不是。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup> |
| 拉姆齐界 | 截至 2026 年已发表的上界，43 ≤ R(5,5) ≤ 46；在对角情形，对某个 ε > 0 有 R(k,k) ≤ (4 − ε)^k，这是对 1935 年埃尔德什–塞凯赖什界（Erdős–Szekeres bound）的首次指数级改进。<sup>[6](https://arxiv.org/html/2409.15709v1)</sup><sup> • </sup><sup>[7](https://annals.math.princeton.edu/2026/203-3/p04)</sup> |
| 矩阵乘法 | 指数满足 ω < 2.371177，较 2.371339 有所改进，该界以精确有理算术得到认证。<sup>[8](https://arxiv.org/html/2608.16884v1)</sup> |
| 经过认证的计算 | 分支定界（branch-and-bound）在全局目标值上维持可证明的下界与上界，并以一个证明 ε-次最优性的证书终止。<sup>[3](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)</sup> |

## 形式定义与记号

在有序域中，若对所有 x ∈ S 都有 x ≤ b，则元素 b 是集合 S 的上界；若对所有 x ∈ S 都有 c ≤ x，则 c 是下界。<sup>[2](https://www.ams.org/bookstore/pspdf/amstext-36-prev.pdf)</sup> 既有上界又有下界的集合简称为有界集。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)</sup> 上确界 sup S 是所有上界中最小的元素：即一个上界 b₀，使得对每个上界 b 都有 b₀ ≤ b。<sup>[4](https://jirka.org/ra/html/sec_basicpropsrn.html)</sup> 等价地说，sup S 是上界集合 U(S) 的最小值，而 inf S 是下界集合 L(S) 的最大值。<sup>[10](https://vdeangel.xula.edu/Teaching/RealAnalysis/output/web/section-8.html)</sup>

**唯一性。** 记号 sup E 与 inf E 之所以合理，是因为上确界与下确界存在时是唯一的：两个上确界 b 与 b′ 满足 b ≤ b′ 且 b′ ≤ b，故 b = b′。<sup>[4](https://jirka.org/ra/html/sec_basicpropsrn.html)</sup> 普通的界没有这种唯一性：任何大于某个上界的数同样是上界。<sup>[10](https://vdeangel.xula.edu/Teaching/RealAnalysis/output/web/section-8.html)</sup>

**记号。** 区间记号区分了闭区间 [a, b]（从包含 a 到包含 b）、半开形式如 (a, b]，以及无界区间如 [a, +∞)；开区间的另一种记号 ]a, b[ 也记载于数学符号国际标准 ISO 80000-2:2019 中，该标准同样规定了数集的符号，如 ℚ（有理数）、ℝ（实数）、ℂ（复数）与 ℙ（素数）。<sup>[11](https://cdn.standards.iteh.ai/samples/64973/329519100abd447ea0d49747258d1094/ISO-80000-2-2019.pdf)</sup>

**偏序。** 这些定义可以推广到数之外。序理论把最小上界与最大下界视为核心概念，与链、反链、格和区间序并列。<sup>[12](https://link.springer.com/book/10.1007/978-3-319-29788-0)</sup> 在形式证明库 Mathlib 中，集合 s 的上界是那些使每个 a ∈ s 都满足 a ≤ x 的元素 x，下界按对偶方式定义；谓词 is_lub 与 is_glb 断言给定元素是最小上界或最大下界，而在偏序中，若存在则各自唯一。<sup>[13](https://leanprover-community.github.io/mathlib_docs/order/bounds/basic.html)</sup> 完备格（complete lattice）是对每个子集都有上确界与下确界的有界格，集合的上确界与下确界写作 sSup 与 sInf，索引族的上确界与下确界写作 iSup 与 iInf。<sup>[14](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Order/CompleteLattice/Defs.html)</sup>

## 界的存在性：完备性

上确界的存在并非自动成立；它是实数系统的定义性公理。基本公理，或称连续性公理，断言每个非空且有上界的实数集合都有实数上确界。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup> 用域论的语言说，若每个非空的有上界子集都在域内有上确界，则有序域是完备的，而实数域在这个意义上是完备的。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)</sup> 这条公理的动机，是保证 ℝ 不像 ℚ 那样有“洞”。<sup>[15](https://www.stepanpaul.com/real-analysis/axioms-of-r/lub.html)</sup>

**两个假设。** 援引这条公理需要对集合施加两个条件：它必须非空，且有上界。按惯例，任意值都是空集的上界和下界，但公理的保证适用于非空集合。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)</sup><sup> • </sup><sup>[15](https://www.stepanpaul.com/real-analysis/axioms-of-r/lub.html)</sup> 当两个条件都成立时，所得的上确界是有限的。<sup>[16](http://www.math.clemson.edu/~petersj/Courses/M453/Lectures/L4-Bounds.pdf)</sup> 在扩展实数轴上，每个非空的实数集合都有唯一的最小上界与最大下界，或有限或无限；例如 inf ℕ = 1 而 sup ℕ = +∞，而对整数集，sup 与 inf 都是无限的。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup>

**在有理数中的失败。** 完备性性质无法从其他域公理证明，且它在有理数域中不成立：存在有上界的有理数集合，其最小上界是无理数，因此 ℚ 不满足完备性公理。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)</sup><sup> • </sup><sup>[5](https://uoe-school-of-mathematics.github.io/MATH08081_IMA/Ch1.S3.html)</sup>

## 界与最大值、最小值及取到性

界不必被取到。对 S = [0, 2)，数 2 是上界但不是最大值，因为 2 不是 S 的元素。<sup>[10](https://vdeangel.xula.edu/Teaching/RealAnalysis/output/web/section-8.html)</sup> S 的最大值是一个元素 Q ∈ S 且 sup(S) = Q，最小值是一个元素 q ∈ S 且 inf(S) = q；是否属于该集合，正是最大值与单纯的上确界之间的区别所在。<sup>[16](http://www.math.clemson.edu/~petersj/Courses/M453/Lectures/L4-Bounds.pdf)</sup>

区间的例子恰好说明了这一点：inf[a, b] = a 且 sup[a, b] = b，同样 inf(a, b) = a 且 sup(a, b) = b，所以最小上界可能属于该集合，如对 [a, b] 那样，也可能不属于，如对 (a, b) 那样。<sup>[1](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)</sup> 并不存在要求有界集必须包含其最小上界或最大下界的一般原则；有些包含，有些不包含。<sup>[17](https://www.maths.tcd.ie/~dwilkins/Courses/MA1S11Calc/MA1S11Calc_Mich2016_Lectures/MA1S11Calc_Mich2016_Lecture05.pdf)</sup> 与最小值和最大值不同，集合的下确界与上确界不必属于该集合。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)</sup>

## 数字一览

组合数学中一些被研究得最多的量，仅通过一对界为人所知。拉姆齐数（Ramsey number）R(k) 是最小的 n，使得对 n 个顶点上的完全图 K_n 的边作任意红蓝着色，都包含一个单色的 K_k。<sup>[7](https://annals.math.princeton.edu/2026/203-3/p04)</sup> 对角情形 R(k,k) 中，R(k,k)^(1/k) 的极限（若存在）已知位于 √2 与某个严格小于 4 的值之间。<sup>[18](https://www.combinatorics.org/files/Surveys/ds1/ds1v17-2024.pdf)</sup> 非对角情形，金（Kim）在 1995 年证明了 R(3,k) = Θ(k²/log k)，已知最佳常数因子在 1/4 与 1 之间。<sup>[18](https://www.combinatorics.org/files/Surveys/ds1/ds1v17-2024.pdf)</sup>

**R(5,5)。** 已知最佳界为 43 ≤ R(5,5) ≤ 46。下界 43 由埃克苏（Exoo）于 1989 年确立，至今仍是最佳；上界 46 由线性规划与计算机检验大量情形相结合而证明，所有计算都经过独立复现。<sup>[6](https://arxiv.org/html/2409.15709v1)</sup> 实际值被广泛认为就是 43，依据是对 43 阶拉姆齐(5,5)-图的计算搜索未能成功。<sup>[19](https://ar5iv.labs.arxiv.org/html/1703.08768)</sup> 2017 年从 49 到 48 的一步，已经需要用两个独立程序检验约两万亿个不同情形。<sup>[19](https://ar5iv.labs.arxiv.org/html/1703.08768)</sup> 相关的小情形也有进展：R(4,6) ≤ 40，较此前的 41 有所下降。<sup>[20](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup>

**矩阵乘法。** 矩阵乘法的指数 ω 是另一个只能被界夹住的量。科珀史密斯–维诺格拉德界（Coppersmith–Winograd bound）ω < 2.376 作为基准屹立了约四十年，当前纪录是 ω < 2.371177，较此前最佳的 2.371339 有所改进。<sup>[8](https://arxiv.org/html/2608.16884v1)</sup>

## 近期进展

**4^k 壁垒被打破。** 1935 年埃尔德什与塞凯赖什证明了 R(k) ≤ 4^k，近九十年来无人知道任何指数级改进。2023 年，坎波斯（Campos）、格里菲思（Griffiths）、莫里斯（Morris）与萨哈斯拉布德（Sahasrabudhe）发布了一篇 57 页的论文，证明存在 ε > 0 使 R(k,k) ≤ (4 − ε)^k，这是对该界的首次指数级改进；该工作此后发表于《数学年刊》（Annals of Mathematics）。<sup>[18](https://www.combinatorics.org/files/Surveys/ds1/ds1v17-2024.pdf)</sup><sup> • </sup><sup>[7](https://annals.math.princeton.edu/2026/203-3/p04)</sup> 这一结果把 R(k,k) 的 k 次根的窗口从 (√2, 4) 收窄到 (√2, 严格小于 4)。<sup>[18](https://www.combinatorics.org/files/Surveys/ds1/ds1v17-2024.pdf)</sup>

**R(5,5) 进一步收紧。** R(5,5) 的上界从 49（麦凯–拉齐绍夫斯基）在 2017 年降到 48，再在 2026 年发表于《图论杂志》（Journal of Graph Theory）的结果中降到 46，围绕猜测答案 43 只剩下四个候选值，即 43 到 46。<sup>[6](https://arxiv.org/html/2409.15709v1)</sup><sup> • </sup><sup>[19](https://ar5iv.labs.arxiv.org/html/1703.08768)</sup><sup> • </sup><sup>[20](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup> 对这些小情形，多数最新上界来自维格莱克·安格尔特维特（Vigleik Angeltveit）与布伦丹·麦凯（Brendan McKay）在 2019 至 2024 年间进行的大量计算，这些计算借助计数恒等式、通过粘合组装更小的拉姆齐图，以及线性规划；1997 年，麦凯与拉齐绍夫斯基（Radziszowski）提出了 R(5,5) 实际上等于 43 的猜想。<sup>[20](https://cairn-commons.com/guides/small-ramsey-numbers-table)</sup>

**借助机器辅助优化的 ω。** ω 改进到 2.371177 以下，来自对组合损失分析的梯度下降优化，并结合 AlphaEvolve，叠加在经典框架之上；作者指出，用这种方式或许还能取得进一步的适度改进，而更大的改进很可能需要新的数学思想。<sup>[8](https://arxiv.org/html/2608.16884v1)</sup>

## 计算中的界、估计与紧性

界与估计的区别在于界带有证明。分支定界被称为非启发式的，因为它在全局目标值上维持可证明的下界与上界，并能以一个证明 ε-次最优性的证书终止，即保证返回解的目标函数值与真正最优值相差不超过 ε。<sup>[3](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)</sup> 相比之下，基于统计的全局优化算法不保证找到全局最优，而完全搜索的分支定界软件在理论上保证能找到它——当其收敛假设成立且不存在舍入误差时。<sup>[21](https://interval.louisiana.edu/preprints/2009-verified-vs-non-verified.pdf)</sup>

**两个界如何产生。** 在分支定界中，某个区域上最优值的上界来自在该区域中任取一点，或来自局部优化方法；而下界来自凸松弛、对偶或利普希茨界。<sup>[3](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)</sup> 同样的结构出现在区间计算文献中：求解问题的一个松弛得到全局最优的下界，而在任一可行点处计算目标函数得到上界。<sup>[21](https://interval.louisiana.edu/preprints/2009-verified-vs-non-verified.pdf)</sup> 在所描述的方法中，可行集被划分为凸集，对每个凸集求出下界与上界，形成全局界，当它们足够接近时方法终止；否则细化划分并重复。<sup>[3](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)</sup>

**严谨的代价。** 所有误差来源都被计入的分支定界软件，给出关于最优值以及全局最优解所在位置的界，构成一个数学证明；但这类严谨软件在速度上通常无法与非严谨的替代方案竞争。<sup>[21](https://interval.louisiana.edu/preprints/2009-verified-vs-non-verified.pdf)</sup>

## 在认证计算与优化中的应用

机器计算很少精确表示量，要严谨地描述一个解，下界与上界都需要；这一观察正是区间分析的起点。<sup>[22](https://epubs.siam.org/doi/book/10.1137/1.9780898717716)</sup> 用于约束全局优化的区间分支定界算法由若干可辨识的主要部件构成，把这个想法变成实用的搜索过程，其效率取决于为实践者详述的各种选择。<sup>[23](https://dl.acm.org/doi/10.1007/s10898-015-0390-4)</sup>

**用界进行排除。** 搜索用它维持的两个界来剪枝。若已知任一被求值点处的值 φ(x)，则 φ(x) 是全局最优的上界，而迄今求得的所有函数值中的最小值是一个可用的上界。当一个箱（box）上目标函数取值范围的已计算下界超过当前最优值的上界时，该箱被排除，因为最优解不可能落在其中。<sup>[24](https://interval.louisiana.edu/preprints/EoO/KEARFO04.pdf)</sup>

**为浮点结果作认证。** 浮点算术引入自身的误差来源。当前的混合整数线性规划求解器依赖浮点算术中的线性规划例程，偶尔这会导致错误解，甚至对所有系数和所有解分量都是小整数的问题也是如此。<sup>[25](https://dl.acm.org/doi/10.5555/2990016.3114312)</sup> 解药再次在于界：若分支切割框架中出现的线性规划在前后经过廉价处理，定向舍入结合区间算术就能确保变量有严格界的混合整数规划的解绝不会被丢弃。<sup>[25](https://dl.acm.org/doi/10.5555/2990016.3114312)</sup> 自 1980 年代以来发展的区间分支定界算法在这个意义上是可靠的，因为所有计算出的界都针对浮点误差作了认证，而凸松弛可以改善收敛同时保持这种可靠性。<sup>[26](https://www.lirmm.fr/~trombetton/publis/reliableconvexrelaxation_gow_2018.pdf)</sup> 一种改进做法是计算松弛凸规划的浮点解，并加上一个修正项，使所得下界被认证为位于真正全局最优之下；若问题不是箱约束的，没有额外机制时可靠下界为 −∞。<sup>[26](https://www.lirmm.fr/~trombetton/publis/reliableconvexrelaxation_gow_2018.pdf)</sup>

同样的认证纪律出现在研究前沿。新的界 ω < 2.371177 通过一个单独的步骤验证，该步骤以有理算术计算所有量，以防产生它的梯度下降流程中出现浮点误差。<sup>[8](https://arxiv.org/html/2608.16884v1)</sup>

## References

1. [Upper and lower bounds, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Upper_and_lower_bounds)
2. [The Real Numbers and Completeness, American Mathematical Society textbook preview](https://www.ams.org/bookstore/pspdf/amstext-36-prev.pdf)
3. [Branch and Bound Methods, Stanford EE364B lecture slides](https://web.stanford.edu/class/ee364b/lectures/bb_slides.pdf)
4. [Basic Properties of Real Numbers, Basic Analysis (Jirka)](https://jirka.org/ra/html/sec_basicpropsrn.html)
5. [Introduction to Mathematical Analysis §1.3: The completeness axiom, University of Edinburgh](https://uoe-school-of-mathematics.github.io/MATH08081_IMA/Ch1.S3.html)
6. [Angeltveit & McKay, R(5,5) ≤ 46, arXiv:2409.15709](https://arxiv.org/html/2409.15709v1)
7. [An exponential improvement for diagonal Ramsey, Annals of Mathematics](https://annals.math.princeton.edu/2026/203-3/p04)
8. [Improving the matrix multiplication exponent with modern optimization and AlphaEvolve, arXiv](https://arxiv.org/html/2608.16884v1)
9. [Mathematical Analysis (Zakon) §2.4: Upper and Lower Bounds. Completeness, LibreTexts](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/02%3A_Real_Numbers_and_Fields/2.04%3A_Upper_and_Lower_Bounds._Completeness)
10. [The Completeness Axiom, Real Analysis course notes (Xavier University of Louisiana)](https://vdeangel.xula.edu/Teaching/RealAnalysis/output/web/section-8.html)
11. [ISO 80000-2:2019 Quantities and units — Part 2: Mathematics (preview)](https://cdn.standards.iteh.ai/samples/64973/329519100abd447ea0d49747258d1094/ISO-80000-2-2019.pdf)
12. [Schröder, Ordered Sets: An Introduction with Connections from Combinatorics to Topology, Springer](https://link.springer.com/book/10.1007/978-3-319-29788-0)
13. [order.bounds.basic, Mathlib documentation](https://leanprover-community.github.io/mathlib_docs/order/bounds/basic.html)
14. [Mathlib.Order.CompleteLattice.Defs](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Order/CompleteLattice/Defs.html)
15. [The Least Upper Bound Axiom, An Illustrated Course in Real Analysis](https://www.stepanpaul.com/real-analysis/axioms-of-r/lub.html)
16. [Upper and Lower Bounds, Clemson M453 lecture notes](http://www.math.clemson.edu/~petersj/Courses/M453/Lectures/L4-Bounds.pdf)
17. [MA1S11 Calculus, Lecture 5, Trinity College Dublin](https://www.maths.tcd.ie/~dwilkins/Courses/MA1S11Calc/MA1S11Calc_Mich2016_Lectures/MA1S11Calc_Mich2016_Lecture05.pdf)
18. [Small Ramsey Numbers, Dynamic Survey DS1.17, Electronic Journal of Combinatorics (2024)](https://www.combinatorics.org/files/Surveys/ds1/ds1v17-2024.pdf)
19. [Angeltveit & McKay, R(5,5) ≤ 48, arXiv:1703.08768](https://ar5iv.labs.arxiv.org/html/1703.08768)
20. [Small Ramsey numbers — table of known values and bounds (2026)](https://cairn-commons.com/guides/small-ramsey-numbers-table)
21. [Interval Computations, Rigor and Non-Rigor in Deterministic Continuous Global Optimization](https://interval.louisiana.edu/preprints/2009-verified-vs-non-verified.pdf)
22. [Moore, Kearfott & Cloud, Introduction to Interval Analysis, SIAM](https://epubs.siam.org/doi/book/10.1137/1.9780898717716)
23. [Interval Branch-and-Bound algorithms for optimization and constraint satisfaction: a survey and prospects, Journal of Global Optimization](https://dl.acm.org/doi/10.1007/s10898-015-0390-4)
24. [Interval Analysis: Unconstrained and Constrained Optimization](https://interval.louisiana.edu/preprints/EoO/KEARFO04.pdf)
25. [Safe bounds in linear and mixed-integer linear programming, Mathematical Programming](https://dl.acm.org/doi/10.5555/2990016.3114312)
26. [Reliable convex relaxation for interval branch-and-bound global optimization, GOW 2018](https://www.lirmm.fr/~trombetton/publis/reliableconvexrelaxation_gow_2018.pdf)

---
*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 › Discrete mathematics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/upper-and-lower-bounds

English original: https://www.edgepedia.org/upper-and-lower-bounds
