# 幸福结局问题

幸福结局问题是组合几何学中的一个问题：对每个整数 \( n \geq 3 \)，确定平面上处于一般位置（无三点共线）的点集中，最少需要多少个点，才能保证其中必有 \( n \) 个点构成一个凸 \( n \) 边形的顶点。保罗·埃尔德什（Paul Erdős）与乔治·塞凯赖什（George Szekeres）于1935年证明了这样的数对每个 \( n \) 都存在，埃尔德什将这个问题命名为“幸福结局”，因为这次合作促成了塞凯赖什与埃丝特·克莱因（Esther Klein）的婚姻——正是这位数学家提出了最初的问题。<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup><sup> • </sup><sup>[2](https://sumo.stanford.edu/pdfs/cardinality/Issue0.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 问题 | 求最小的 \( g(n) \)，使得平面上任意 \( g(n) \) 个处于一般位置的点集中，都含有 \( n \) 个处于凸位置的点<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup> |
| 起源 | 由埃丝特·克莱因提出；埃尔德什与塞凯赖什以存在性形式解决，《几何中的一个组合问题》，《数学汇编》第2卷（1935年），第463–470页<sup>[3](https://numdam.org/item/CM_1935__2__463_0/)</sup> |
| 已知值 | \( g(3) = 3 \)，\( g(4) = 5 \)，\( g(5) = 9 \)，\( g(6) = 17 \)<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup> |
| \( g(6) = 17 \) | 由塞凯赖什与彼得斯于2006年通过1500 CPU小时的计算机搜索确立；后由SAT求解在8.53 CPU秒内验证（休勒与舍伊歇尔，2024）<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup> |
| 猜想 | \( g(n) = 2^{n-2} + 1 \)，由埃尔德什与塞凯赖什提出，下界来自1960年<sup>[4](https://arxiv.org/abs/1604.08657)</sup> |
| 最佳界 | \( 2^{n-2} + 1 \leq g(n) \leq 2^{n + O(\sqrt{n \log n})} \)（苏克，2017年，经霍尔姆森、莫贾拉德、帕赫与陶尔多什改进）<sup>[4](https://arxiv.org/abs/1604.08657)</sup><sup> • </sup><sup>[5](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)</sup> |
| 状态 | 对 \( n \geq 7 \) 仍未解决<sup>[5](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)</sup> |

## 陈述与小情形

当点集中没有三点共线时，称该点集处于一般位置；当 \( n \) 个点构成一个凸 \( n \) 边形的顶点时，称它们处于凸位置。按照文献中的记号，该问题要求最小的 \( ES(n) \)（也写作 \( g(n) \)），使得任意 \( ES(n) \) 个处于一般位置的点集中都含有 \( n \) 个处于凸位置的点。<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup><sup> • </sup><sup>[4](https://arxiv.org/abs/1604.08657)</sup>

最初几个情形是初等的或已完全解决。任意三个不共线的点构成一个三角形，故 \( g(3) = 3 \)。任意五个处于一般位置的点集中都含有四个点构成凸四边形，故 \( g(4) = 5 \)；该定理可通过关于凸包的简单情形分析证明。<sup>[6](https://problemchain.wordpress.com/2011/01/23/the-happy-ending-problem/)</sup> 值 \( g(5) = 9 \) 在后续工作中确立，而 \( g(6) = 17 \) 补全了已知值。<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup>

## 起源与名称

正如1935年论文的引言所述，该问题由埃丝特·克莱因小姐提出，它源于她约1932年提出的一个问题：足够多的平面点是否必然包含一个凸 \( k \) 边形。<sup>[3](https://numdam.org/item/CM_1935__2__463_0/)</sup><sup> • </sup><sup>[7](https://faculty.utrgv.edu/zhixiang.chen/cs6174/papers/Wylie_paper1.pdf)</sup> 埃尔德什与塞凯赖什合作研究该问题，并创造了“幸福结局问题”这一名称，因为这项研究最终促成了乔治·塞凯赖什与埃丝特·克莱因的婚姻。<sup>[2](https://sumo.stanford.edu/pdfs/cardinality/Issue0.pdf)</sup>

1935年的论文影响超出了其所述问题本身。它是拉姆齐定理最早的应用之一——埃尔德什与塞凯赖什在同一篇论文中独立重新发现了该定理——并被视为离散几何与拉姆齐理论两者的起点。<sup>[5](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)</sup> 该论文包含两个证明 \( ES(n) \) 有限的论证，一个基于组合定理，另一个使用纯几何的考量。<sup>[3](https://numdam.org/item/CM_1935__2__463_0/)</sup><sup> • </sup><sup>[6](https://problemchain.wordpress.com/2011/01/23/the-happy-ending-problem/)</sup>

## 界与猜想

**1935年的上界。** 埃尔德什与塞凯赖什证明了

\[ ES(n) \leq \binom{2n-4}{n-2} + 1 = 4^{n - o(n)}, \]

这一估计可由杯帽定理直接给出，该定理是他们用来控制杯（上方由单条线段界定的凸链）与帽（相应的向下链）的工具。<sup>[4](https://arxiv.org/abs/1604.08657)</sup><sup> • </sup><sup>[8](https://sinapsi.wiki/w/ppt2/p/concept/cup-cap-theorem/)</sup> 渐近地，这大约是 \( 4^n/\sqrt{n} \)。<sup>[8](https://sinapsi.wiki/w/ppt2/p/concept/cup-cap-theorem/)</sup>

**下界与猜想。** 1960年，两位作者证明了 \( ES(n) \geq 2^{n-2} + 1 \)，并猜想这是最优的，即 \( ES(n) = 2^{n-2} + 1 \)。<sup>[4](https://arxiv.org/abs/1604.08657)</sup> 已知的小值符合该公式：\( 2^{3-2}+1 = 3 \)，\( 2^{4-2}+1 = 5 \)，\( 2^{5-2}+1 = 9 \)，\( 2^{6-2}+1 = 17 \)。<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup>

**苏克的突破。** 2016–2017年，时任加利福尼亚大学圣迭戈分校组合几何学家的安德鲁·苏克（Andrew Suk）证明了 \( ES(n) = 2^{n + o(n)} \)，将上界从接近4的底数降至接近2的底数，几乎解决了该猜想。<sup>[4](https://arxiv.org/abs/1604.08657)</sup> 霍尔姆森、莫贾拉德、帕赫与陶尔多什将误差项改进为 \( ES(n) \in 2^{n + O(\sqrt{n \log n})} \)。<sup>[5](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)</sup> 尽管这些界相当接近 \( 2^{n-2} + 1 \)，已知下界与上界之间仍有差距，猜想仍未解决。<sup>[5](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)</sup>

## 17点问题与计算机证明

\( n = 6 \) 的情形用经典方法一直未能解决，成为计算机辅助数学的一个里程碑。塞凯赖什与彼得斯于2006年在一篇纪念埃尔德什的论文中证明：任意由17个无三点共线的点组成的平面构形都包含一个凸6点子集。他们的证明使用了通过签名函数表达的平面构形的组合模型，考察了比几何可实现构形更大的一类构形，并在三个独立程序中实现；搜索消耗了约1500 CPU小时。<sup>[7](https://faculty.utrgv.edu/zhixiang.chen/cs6174/papers/Wylie_paper1.pdf)</sup><sup> • </sup><sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup>

可满足性（SAT）求解后来使验证变得便宜得多。马里奇（2019）与舍伊歇尔（2020）分别使用SAT求解器在数CPU小时内独立验证了 \( g(6) = 17 \)；舍伊歇尔（2023）将时间缩短至10 CPU分钟，休勒与舍伊歇尔（2024）进一步缩短至8.53 CPU秒。<sup>[1](https://mathworld.wolfram.com/HappyEndProblem.html)</sup> 同一基于SAT的工作路线还促成了相关的空六边形定理，该定理涉及六个处于凸位置的点，且它们的凸包内部不含原点集中的任何点。<sup>[9](https://link.springer.com/chapter/10.1007/978-3-031-57246-3_5)</sup>

## 推广

该问题已在多个方向上得到推广。埃尔德什与塞凯赖什1935年的论文已经以可推广到任意维数的形式提出了该问题，且第一个证明可在任意维数中施行。<sup>[3](https://numdam.org/item/CM_1935__2__463_0/)</sup> 变体将点替换为其他对象：对于平面上处于一般位置的凸体族，霍尔姆森、莫贾拉德、帕赫与陶尔多什证明了形如 \( 2^{n + O(\sqrt{n \log n})} \) 的界，即迫使存在处于凸位置的 \( n \) 元子族的规模。<sup>[10](https://arxiv.org/abs/1710.11415)</sup> 相关定理控制任意点集中的杯与帽，并保证要么存在大的共线子集，要么存在大的凸多边形。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0925772125000562)</sup> 同一篇1935年的论文还包含单调子序列定理，该定理保证任意 \( N \) 个点的集合中存在 \( \sqrt{N} \) 个点的单调子序列。<sup>[12](https://arxiv.org/abs/1111.3824)</sup>

## References

1. [Happy End Problem, Wolfram MathWorld](https://mathworld.wolfram.com/HappyEndProblem.html)
2. [The Happy Ending Problem, Stanford SUMO Issue 0](https://sumo.stanford.edu/pdfs/cardinality/Issue0.pdf)
3. [Erdős, P. and Szekeres, G. (1935). A combinatorial problem in geometry. Compositio Mathematica 2, 463–470](https://numdam.org/item/CM_1935__2__463_0/)
4. [Suk, Andrew (2016). On the Erdős–Szekeres convex polygon problem. arXiv:1604.08657](https://arxiv.org/abs/1604.08657)
5. [The Erdős–Szekeres Conjecture Revisited, SoCG 2025 (LIPIcs vol. 332)](https://drops.dagstuhl.de/storage/00lipics/lipics-vol332-socg2025/html/LIPIcs.SoCG.2025.13/LIPIcs.SoCG.2025.13.html)
6. [The Happy Ending Problem, Problem Chain](https://problemchain.wordpress.com/2011/01/23/the-happy-ending-problem/)
7. [Szekeres, G. and Peters, L. (2006). Computer solution to the 17-point Erdős–Szekeres problem. ANZIAM J. 48, 151–164](https://faculty.utrgv.edu/zhixiang.chen/cs6174/papers/Wylie_paper1.pdf)
8. [Erdős–Szekeres cup-cap theorem, Sinapsi](https://sinapsi.wiki/w/ppt2/p/concept/cup-cap-theorem/)
9. [Heule, M.J.H. and Scheucher, M. (2024). Happy Ending: An Empty Hexagon in Every Set of 30 Points. TACAS 2024, LNCS 14570, Springer](https://link.springer.com/chapter/10.1007/978-3-031-57246-3_5)
10. [Holmsen, A. F., Mojarrad, H. N., Pach, J., Tardos, G. (2017). Two extensions of the Erdős–Szekeres problem. arXiv:1710.11415](https://arxiv.org/abs/1710.11415)
11. [Big line or big convex polygon, Discrete Mathematics & Theoretical Computer Science (ScienceDirect)](https://www.sciencedirect.com/science/article/pii/S0925772125000562)
12. [Higher-order Erdős–Szekeres theorems. arXiv:1111.3824](https://arxiv.org/abs/1111.3824)

---
*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 › Geometric, polyhedral, and topological combinatorics › Discrete and convex geometry

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/happy-ending-problem

English original: https://www.edgepedia.org/happy-ending-problem
