The Erdős–Szekeres conjecture — the central open problem of the combinatorial geometry of planar point sets, dating to 1935 and colloquially known as the happy ending problem — predicts that every set of points in the plane in general position (no three collinear) contains points in convex position, i.e. that for every . The lower bound has been known since the 1961 construction of Erdős and Szekeres, and Suk's 2016 theorem brought the upper bound down to , leaving only a lower-order additive gap in the exponent. The conjecture is verified for (with proved by computer), and the first open case is , conjectured to equal . As of August 2026 the conjecture remains open: no improvement of the order of Suk's bound (the error term in the exponent was improved to by Holmsen–Mojarrad–Pach–Tardos in 2020), no counterexample, and explicit 2025–2026 statements that the problem is unresolved. The problem posed is to prove or refute ; a refutation would be an explicit set of points in general position containing no points in convex position for some .
Background
A finite set of points in the plane is in general position if no three of its points lie on a common line, and a subset is in convex position if its points are exactly the vertices of a convex polygon. Writing for the smallest integer such that every set of points in the plane in general position contains points in convex position, the problem of determining is among the oldest in combinatorial geometry. It originated around 1933 with an observation of Esther Klein in a Budapest discussion group — every sufficiently large point set in general position contains some fixed number of points in convex position — and its study by Paul Erdős and George Szekeres produced the monotone subsequence lemma and, with it, modern Ramsey theory. It is affectionately known as the happy ending problem, in reference to the marriage of Klein and Szekeres.
Erdős and Szekeres proved in 1935 that , using the cups-caps argument: a -cup (respectively -cap) is a set of points forming an -monotone convex chain, i.e. lying in order of increasing -coordinate on the graph of a convex (respectively concave) function, and any long cup or cap is automatically in convex position. In 1960–61 they constructed, for every , a set of points in general position with no points in convex position, giving , and conjectured this to be sharp:
For eight decades the upper bound resisted every change in its order of magnitude: refinements by Tóth and Valtr () and subsequent constant-factor improvements by Norin–Yuditsky and by Mojarrad–Vlachos brought , still a constant times . The breakthrough came in 2016, when Andrew Suk proved that for all sufficiently large ,
so : the remaining gap to the conjectured value is only a lower-order additive term in the exponent. Suk's proof is stated in the language of order types — the combinatorial classification of a planar point set by the orientation (left or right turn) of each ordered triple of points — and combines the cups-caps framework with positive-fraction and same-type transference tools for point sets.
The error term in the exponent was subsequently refined by Holmsen, Nassajian Mojarrad, Pach, and Tardos (2020), who carried Suk's argument over to pseudo-configurations — point sets whose connecting lines are replaced by an arrangement of pseudolines (curves that any two of which cross exactly once), a combinatorial relaxation formalized by uniform rank-3 acyclic oriented matroids — and thereby improved the known upper bound to
still of the form but with a smaller second-order term.
The exact conjecture is verified so far only for small : , , , and , the last established by the computer-assisted work of Szekeres and Peters and later formalized in a proof assistant by Marić; the first open case is , conjectured to equal . Two cautions delimit what a resolution may look like. First, natural strengthenings can fail: the ps-gon conjecture of Peters and Szekeres (2006) — an ordered, monotone-path statement about edge-colorings of complete 3-uniform hypergraphs that would have implied the Erdős–Szekeres conjecture — was refuted by Balko and Valtr using SAT solvers, so the classical inductive framework cannot prove that stronger statement. Second, relaxations can hold at exactly the conjectured threshold: Baek and Balko (2026) proved that every points in general position contain a split -gon — a configuration strictly weaker than convex position — and showed this threshold to be tight. As of August 2026, the conjecture itself remains open for every .
Problem Statement
Prove or disprove the Erdős–Szekeres conjecture:
where denotes the smallest integer such that every set of points in the plane in general position (no three collinear) contains points in convex position.
Since the lower bound (Erdős–Szekeres, 1961) is known and the cases are verified, the open content is the matching upper bound: show that every set of points in general position contains points in convex position for every . In asymptotic form, a proof of the conjecture would close the gap
between the 1961 lower bound and the best known upper bound (Suk's , with the error term improved to by Holmsen–Mojarrad–Pach–Tardos, 2020), by bringing the additive term in the exponent down to the value implied by the conjecture. A disproof consists of a single explicit counterexample: an integer and a set of exactly points in general position, no of which are in convex position.
The conjecture asserts for every , so a bound valid only for all sufficiently large would leave the finitely many cases unsettled; a refutation is a single counterexample configuration. This is the source question in its original unrestricted form: Suk's paper states it 'nearly settles' the conjecture and leaves the exact value, the optimal additive error in the exponent, and the structure of extremal configurations open.
References
- Paul Erdős and George Szekeres, 'A combinatorial problem in geometry', Compositio Mathematica 2 (1935), 463–470. Full-text scan: https://www.renyi.hu/~p_erdos/1935-01.pdf
- Paul Erdős and George Szekeres, 'On some extremum problems in elementary geometry', Annales Universitatis Scientiarum Budapestinensis de Rolando Eötvös Nominatae, Sectio Mathematica 3–4 (1960/1961), 53–62. Full-text scan: https://www.renyi.hu/~p_erdos/1960-09.pdf
- Géza Tóth and Pavel Valtr, 'The Erdős–Szekeres theorem: upper bounds and related results', in Combinatorial and Computational Geometry, MSRI Publications 52, Cambridge University Press (2005), 557–568. DOI: 10.1017/9781009701259.031, https://doi.org/10.1017/9781009701259.031
- George Szekeres and Lindsay Peters, 'Computer solution to the 17-point Erdős–Szekeres problem', The ANZIAM Journal 48 (2006), 151–164. DOI: 10.1017/S144618110000300x, https://doi.org/10.1017/S144618110000300x
- Sergey Norin and Yelena Yuditsky, 'Erdős-Szekeres without induction', arXiv:1509.03332 (2015); journal version in Discrete & Computational Geometry 55 (2016), 963–971. DOI: 10.1007/s00454-016-9778-2, https://arxiv.org/abs/1509.03332
- Hossein Nassajian Mojarrad and Georgios Vlachos, 'An Improved Upper Bound for the Erdős–Szekeres Conjecture', Discrete & Computational Geometry 56 (2016), 165–180. DOI: 10.1007/s00454-016-9791-5, arXiv:1510.06255, https://arxiv.org/abs/1510.06255
- Andrew Suk, 'On the Erdős–Szekeres convex polygon problem', Journal of the American Mathematical Society 30 (2017), 1047–1053 (online 2016). DOI: 10.1090/jams/869, arXiv:1604.08657, https://arxiv.org/abs/1604.08657
- Filip Marić, 'Fast Formal Proof of the Erdős–Szekeres Conjecture for Convex Polygons with at Most 6 Points', Journal of Automated Reasoning 62 (2017), 301–329. DOI: 10.1007/s10817-017-9423-7, https://doi.org/10.1007/s10817-017-9423-7
- Martin Balko and Pavel Valtr, 'A SAT attack on the Erdős–Szekeres conjecture', European Journal of Combinatorics 66 (2017), 13–23. DOI: 10.1016/j.ejc.2017.06.010, https://doi.org/10.1016/j.ejc.2017.06.010
- Jineon Baek, 'On the Erdős–Tuza–Valtr Conjecture', arXiv:2206.04260 (2022); journal version in European Journal of Combinatorics 124 (2025), 104085 (online 2024). DOI: 10.1016/j.ejc.2024.104085, https://arxiv.org/abs/2206.04260
- Jineon Baek and Martin Balko, 'The Erdős–Szekeres conjecture revisited', Journal of Combinatorial Theory, Series A 222 (2026), 106195. DOI: 10.1016/j.jcta.2026.106195, https://doi.org/10.1016/j.jcta.2026.106195
- Bogdan Dumitru, 'Notes on the 33-point Erdős–Szekeres problem', arXiv:2512.24061 (2025). https://arxiv.org/abs/2512.24061