Erdős–Szekeres for n = 7: does every set of 33 points in general position contain a convex heptagon?
On this page17 sections
Difficulty 45: a finite, fully specified question whose expected answer is yes, with a visible route (symmetry breaking plus large-scale certified SAT), but ES(6) was already a major 2006 computation and the 33-point instance is far larger; this places it below r(4,t) (55) and cap sets (58) and far below the infinite Hadwiger–Nelson problem (79). Application value 1.8: none beyond SAT benchmarking. Leverage 14: it would confirm one more case without implying the general conjecture, the lowest in the area.
The problem
Does every set of 33 scattered points contain seven that form a convex heptagon? Known for up to 6; seven is open.
- 1Scatter points, no three in a line
- 2Guess: 2^(n-2)+1 points force n-gon
- 3Verified for 4, 5 and 6 corners
- 4Seven corners (33 points) is open
Definition. Let be the least such that every set of points in the plane in general position (no three collinear) contains points in convex position (the vertices of a convex -gon). Erdős and Szekeres proved in 1935 that is finite and conjectured . In 1960–61 they gave a construction showing , by explicit sets of points with no convex -gon.
Known values. , (Makai, unpublished; first published proof by Kalbfleisch, Kalbfleisch and Stanton, 1970), (Szekeres and Peters, ANZIAM J. 2006, by exhaustive computer search; re-verified by SAT-based and formal methods, e.g. Scheucher, and Marić in Isabelle/HOL). Problem: show , i.e. that every -point set in general position contains a convex -gon, or find a counterexample (a -point set with none).
Asymptotics. Suk (2016; JAMS 2017) proved , the first result close to the conjecture; Holmsen, Mojarrad, Pach and Tardos (arXiv 1710.11415) improved the error term in the exponent to . These show the conjectured exponential growth is right, but give no exact numbers for small .
Why is hard. The Szekeres–Peters method encodes configurations by signatures: for each triple of points, whether it turns clockwise or anticlockwise. A convex -gon can be detected from triple orientations alone, so the problem becomes a purely combinatorial one about assignments of orientations satisfying consistency axioms. For this still needed a long computer search; for the space is far larger. A December 2025 single-author preprint (Dumitru, arXiv 2512.24061, unrefereed) gives a SAT encoding of the 33-point case with triple-orientation variables; it reports only partial computational results.
What is needed. Either clever symmetry-breaking and stronger SAT encodings that make the 33-point case feasible, or a new theoretical argument. A counterexample would be a surprise, as the conjecture has stood since 1935 and matches the asymptotics.
Go deeper
The full technical text.
Let be the least such that every set of points in the plane in general position contains points in convex position. Erdős and Szekeres conjectured in 1935 that , and in 1960–61 proved the lower bound by an explicit construction. The conjecture is known for (, ). Problem: show , i.e. that every -point set in general position contains a convex -gon (the lower bound follows from the Erdős–Szekeres construction), or exhibit a -point set with no convex -gon.
Words on this page (10)
- convex polygon
- A polygon with no dents: any line between two of its points stays inside it.
- general position
- A scatter of points with no three on a straight line.
- Erdos-Szekeres theorem
- The result that enough points in general position always contain a convex polygon of any given size.
- happy ending problem
- Another name for the Erdos-Szekeres convex polygon problem.
- SAT solver
- A computer program that decides whether a logical formula can be made true, used to check huge search problems.
- exhaustive search
- Checking every possible case by computer to be sure none is an exception.
- orientation of a triple
- Whether three points in order turn clockwise or anticlockwise.
- symmetry breaking
- Adding constraints to a computer search so that arrangements that are mirror images or relabellings of each other are not checked many times.
- Isabelle/HOL
- A proof assistant used to check mathematical proofs by computer.
- Ramsey theory
- The study of how large a structure must be before some regular pattern is guaranteed to appear.
New to this? Read first (3)
- Happy ending problem - WikipediaThe problem's history and known results.
- Convex polygon - WikipediaWhat 'convex' means.
- SAT solver - WikipediaThe computer tool behind the finite cases.
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- SAT solving (CDCL)Algorithm
- Step 4
- Extremal and probabilistic combinatoricsTheory · host
- Then
- Erdős–Szekeres for n = 7: does every set of 33 points in general position contain a convex heptagon?The problem
State of the art
ES(5)=9 was proved by Makai (unpublished; first published proof by Kalbfleisch, Kalbfleisch and Stanton, 1970), and ES(6)=17 by Szekeres and Peters (ANZIAM J. 48, 2006) through an exhaustive computer search; it has since been re-verified by SAT-based and formal methods (Scheucher; Marić in Isabelle/HOL). For asymptotics, Suk (2016; JAMS 2017) proved ES(n) = 2^{n+O(n^{2/3} log n)}, and Holmsen, Mojarrad, Pach and Tardos (arXiv:1710.11415) improved the error term to O(√(n log n)) in the exponent. For n = 7 only partial computational results exist: a December 2025 single-author preprint (Dumitru, arXiv:2512.24061, unrefereed) gives a SAT encoding of the 33-point case with triple-orientation variables, a 4-set convexity criterion and convex-layer anchoring, and obtains UNSAT certificates only for anchored subfamilies, reporting heavy-tailed solver runtimes. No complete resolution, human or AI-produced, was found as of 2026-10-16.
Realistic applications
None practical. Methodologically it is a benchmark for SAT solving with symmetry breaking and for proof-certificate checking in finite geometry.
What counts as solved
A complete certified proof (e.g. a DRAT/LRAT certificate of unsatisfiability of the full 33-point encoding, checked by a verified checker) that no 33-point set avoids a convex 7-gon, or an explicit counterexample set of 33 points. Partial subfamily certificates do not count.
How it gets verified
To verify: Bound / recordA numeric bound or record checked from a certificate or recomputation.
Quantity: whether 33 points in general position always contain a convex heptagon, i.e. ES(7) = 33. Resolution is a complete certificate: a DRAT/LRAT proof of unsatisfiability of the full 33-point SAT encoding checked by a verified checker, or an explicit set of 33 points in general position with no convex heptagon; partial subfamily certificates do not count. The Lean statement of the general conjecture is Erdos107.erdos_107 (f(n) = 2^(n−2) + 1) in ErdosProblems/107.lean (Formal Conjectures pinned at commit e754a78 (17 October 2026)); its n = 7 instance is the target, and the correspondence between the SAT encoding and that statement must be reviewed or proved.
Claims
No claimed results on this problem.
Where the work is
Mostly a computation, but cracking the instance needs better symmetry breaking and encodings (theory), plus a verified proof-checking pipeline.
Connected problems
- This problem is related to Deterministic CDCL with VSIDS and restarts: polynomial-size refutations on bounded-treewidth CNFsResolution requires SAT/CDCL search on a huge symmetric instance, so progress hinges on proof-search behaviour.
- This problem is related to Exponential rate of diagonal Ramsey numbers: closing the gap between (√2)k and 3.8kThe Erdős–Szekeres theorem was an early application of Ramsey-type arguments; both ask for exact thresholds of unavoidable structure.
- This problem is related to Hadwiger–Nelson: is the chromatic number of the Euclidean plane 6 or 7?Both are finite Euclidean Ramsey-type questions whose recent progress came from SAT-solver certificates and witness minimisation.
Progress
- Dec 30, 2025SAT encoding of the 33-point case (unrefereed preprint)source
UNSAT certificates for anchored subfamilies only; the full case remains open.
- Oct 31, 2017Error term improved to O(√(n log n))source
Holmsen, Mojarrad, Pach and Tardos sharpen Suk's exponent.
- Apr 29, 2016Suk proves ES(n) = 2^{n+o(n)}source
First near-matching upper bound, with error term O(n^(2/3) log n) in the exponent.
- Oct 1, 2006ES(6) = 17source
Szekeres and Peters settle the hexagon case by exhaustive computer search (ANZIAM J. 48; month approximate, day set to the first).