Skip to content
DAH

Erdős–Szekeres for n = 7: does every set of 33 points in general position contain a convex heptagon?

OpenTo verify: Bound / recordPosed by Esther Klein (n = 4); Erdős and Szekeres (1935 upper bound and conjecture, 1960–61 matching lower-bound construction)
AI-reviewed
On this page17 sections
Difficulty
45/100Hard
How far from a resolution. P vs NP = 100
Application value
1.8/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
14/100Isolated
How much other knowledge hinges on it. P vs NP = 100

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.

  1. 1Scatter points, no three in a line
  2. 2Guess: 2^(n-2)+1 points force n-gon
  3. 3Verified for 4, 5 and 6 corners
  4. 4Seven corners (33 points) is open

Definition. Let ES(n)\mathrm{ES}(n) be the least NN such that every set of NN points in the plane in general position (no three collinear) contains nn points in convex position (the vertices of a convex nn-gon). Erdős and Szekeres proved in 1935 that ES(n)\mathrm{ES}(n) is finite and conjectured ES(n)=2n−2+1\mathrm{ES}(n)=2^{n-2}+1. In 1960–61 they gave a construction showing ES(n)≥2n−2+1\mathrm{ES}(n)\ge2^{n-2}+1, by explicit sets of 2n−22^{n-2} points with no convex nn-gon.

Known values. ES(4)=5\mathrm{ES}(4)=5, ES(5)=9\mathrm{ES}(5)=9 (Makai, unpublished; first published proof by Kalbfleisch, Kalbfleisch and Stanton, 1970), ES(6)=17\mathrm{ES}(6)=17 (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 ES(7)=33\mathrm{ES}(7)=33, i.e. that every 3333-point set in general position contains a convex 77-gon, or find a counterexample (a 3333-point set with none).

Asymptotics. Suk (2016; JAMS 2017) proved ES(n)=2n+O(n2/3log⁡n)\mathrm{ES}(n)=2^{n+O(n^{2/3}\log n)}, the first result close to the conjecture; Holmsen, Mojarrad, Pach and Tardos (arXiv 1710.11415) improved the error term in the exponent to O(nlog⁡n)O(\sqrt{n\log n}). These show the conjectured exponential growth is right, but give no exact numbers for small nn.

Why n=7n=7 is hard. The Szekeres–Peters method encodes configurations by signatures: for each triple of points, whether it turns clockwise or anticlockwise. A convex nn-gon can be detected from triple orientations alone, so the problem becomes a purely combinatorial one about assignments of orientations satisfying consistency axioms. For n=6n=6 this still needed a long computer search; for n=7n=7 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 ES(n)\mathrm{ES}(n) be the least NN such that every set of NN points in the plane in general position contains nn points in convex position. Erdős and Szekeres conjectured in 1935 that ES(n)=2n−2+1\mathrm{ES}(n)=2^{n-2}+1, and in 1960–61 proved the lower bound ES(n)≥2n−2+1\mathrm{ES}(n)\ge 2^{n-2}+1 by an explicit construction. The conjecture is known for n≤6n\le 6 (ES(5)=9\mathrm{ES}(5)=9, ES(6)=17\mathrm{ES}(6)=17). Problem: show ES(7)=33\mathrm{ES}(7)=33, i.e. that every 3333-point set in general position contains a convex 77-gon (the lower bound ES(7)≥33\mathrm{ES}(7)\ge 33 follows from the Erdős–Szekeres construction), or exhibit a 3333-point set with no convex 77-gon.

Words on this page (10)
Words on this page
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)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. 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 / record

A 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

Theory
25%
New mathematical or conceptual ideas
Engineering
10%
Building instruments, chips, systems, software, formal proofs
Compute
65%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Mostly a computation, but cracking the instance needs better symmetry breaking and encodings (theory), plus a verified proof-checking pipeline.

Connected problems

Progress

  1. Dec 30, 2025
    SAT encoding of the 33-point case (unrefereed preprint)

    UNSAT certificates for anchored subfamilies only; the full case remains open.

    source
  2. Oct 31, 2017
    Error term improved to O(√(n log n))

    Holmsen, Mojarrad, Pach and Tardos sharpen Suk's exponent.

    source
  3. Apr 29, 2016
    Suk proves ES(n) = 2^{n+o(n)}

    First near-matching upper bound, with error term O(n^(2/3) log n) in the exponent.

    source
  4. Oct 1, 2006
    ES(6) = 17

    Szekeres and Peters settle the hexagon case by exhaustive computer search (ANZIAM J. 48; month approximate, day set to the first).

    source