OpenAI says its model disproved Erdős's unit distance conjecture
For nearly 80 years, mathematicians have believed that a simple pattern, the square grid, is almost the best way to pack unit distances into a set of points. On 20 May 2026 OpenAI said an internal reasoning model had disproved that belief, with an infinite family of point sets that beat the grid by a polynomial factor. Nine mathematicians, including Noga Alon, Tim Gowers and Melanie Matchett Wood, posted a 19-page, human-checked and simplified version the same day, and Will Sawin of Princeton posted a refinement with an explicit exponent: sets of n points with more than n^1.014 pairs at distance exactly 1. Both arXiv papers are preprints, not yet peer reviewed; the claims about how the result was found are OpenAI's, and the mathematics is described here as the mathematicians in the companion paper present it.
In short
- The unit distance problem, posed by Paul Erdős in 1946, asks how many pairs among n points in the plane can be exactly distance 1 apart. Erdős conjectured the answer is barely more than n.
- The new construction gives n^(1+δ) pairs for some fixed δ > 0; the human digest's value of δ is about 6 × 10⁻³⁸, and Sawin's refinement gives δ above 0.014.
- The ingredients come from algebraic number theory, a field that looks unrelated to the question.
- OpenAI calls it "the first time that a prominent open problem, central to a subfield of mathematics, has been solved autonomously by AI". Tim Gowers, in the companion paper, calls it "a milestone in AI mathematics".
The problem and the grid
Put n points in the plane and count pairs exactly 1 apart. A straight line of points gives n - 1 pairs; a square grid gives about 2n. Erdős found a better trick in 1946: rescale a √n × √n grid so that a larger distance becomes 1. Some distances occur many times in a grid, because some numbers can be written as a sum of two squares in many ways. The distance 5 is an example: 25 = 0² + 5² = 3² + 4², and by our count 12 grid points lie exactly 5 from any chosen point. Pick a number with many such representations, rescale, and you get n^(1 + c / log log n) unit distances, where c is a constant. Since log log n grows extremely slowly, the exponent's extra term tends to 0, and only barely above linear growth results.
The best known upper bound is O(n^(4/3)), proved by Spencer, Szemerédi and Trotter in 1984. Erdős conjectured that the truth is n^(1+o(1)), meaning the grid is essentially best. Alon, in the companion paper, calls the n^(1+o(1)) bound the common belief and says he thinks every mathematician working in combinatorial geometry has thought about the problem.

The grid idea behind Erdos's 1946 construction: twelve points of the integer grid lie exactly 5 from the centre, because 25 = 0 squared + 5 squared = 3 squared + 4 squared. Our own drawing. Nands, our own drawing, CC BY 4.0.
What to notice: Shrink the grid by a factor of 5 and each point has up to twelve neighbours at distance exactly 1; the new construction replaces this grid with the integers of larger number fields.
How did the model disprove the unit distance conjecture?
The Gaussian integers, numbers a + bi with whole a and b, are the grid. The new argument swaps them for the integers of a number field, a bigger system of numbers, and uses fields whose size grows without limit. In such a field, many elements can have "length 1" in every embedding, and projecting a lattice of them onto the plane yields a point set with many unit distances. Two quantities had to be kept under control: the field's class number, which measures how far unique factorisation fails, and its discriminant, a measure of the field's size. The tool is a theorem of Golod and Shafarevich that guarantees infinite towers of number fields whose discriminant grows only exponentially, together with a pigeonhole argument over the class group. The companion paper's abstract traces the key ideas to earlier work of Ellenberg and Venkatesh, of Golod and Shafarevich, and of Hajir, Maire and Ramakrishna; the application to points in the plane is the new step.
According to the companion paper, the original proof came from an internal OpenAI model "in one shot", then was "expositionally refined through human interactions with Codex". The mathematicians' simplified version swaps a harder step for one using a single prime, an idea Sawin had after reading the AI's proof. In the OpenAI team, Lijie Chen used the model, and Mark Sellke and Mehtaab Sawhney checked the result; Daniel Litt, asked to verify the number theory, writes that it "did not take long" to convince himself the solution was correct, and found it "quite clever and natural".
The numbers
Sources: the companion paper (arXiv:2605.20695), Sawin's paper (arXiv:2605.20579) and OpenAI's announcement.
What the mathematicians say
Thomas Bloom, writing in the companion paper, notes that Erdős offered $300 in 1982 and $500 from 1995 for a proof or disproof of the n^(1+o(1)) bound, so "the AI has solved a $500 Erdős problem". He also gives his view of what was learned: "a moderated yes", that number-theoretic constructions have more to say about such questions than expected, though it brings no new geometric tools of the kind a proof of the conjecture would have needed. Gowers, who first heard of the result by video call and thought for an evening that the model had proved the conjecture, writes that if a human had submitted the paper to the Annals of Mathematics he "would have recommended acceptance without any hesitation", and that this is the first famous open problem he knows of solved by AI "with no human intervention once it had been trained and then given the problem". Alon calls it "an outstanding achievement".
What stays open
The result settles that n^(1+o(1)) is false, not what the true growth rate is: the known range now runs from more than n^1.014 to at most n^(4/3). OpenAI's description of how the model was trained and tested comes from OpenAI; the company says it was a general-purpose reasoning model, not a system trained or set up for this problem. We did not read the AI-written proof or the model's reasoning summary. Bloom adds that the human refinement mattered: he writes that the original proof "was completely valid" but "significantly improved by the human researchers".
Terms in plain English
- Unit distance: two points exactly one unit apart. Our wording.
- Number field: a set of numbers closed under adding, subtracting, multiplying and dividing, built from roots of whole-number equations, such as the rationals extended by √2. Our wording.
- Class number and discriminant: two measures of a number field's size and complexity; the proof needs both to stay under control. Our wording.
- Preprint: a paper posted publicly before peer review. Our wording.
Where things stand
OpenAI says better mathematical reasoning can make AI a stronger research partner and stresses that human judgment still chooses the problems and interprets results; Bloom adds that many algebraic number theorists will now look at other open problems in discrete geometry. The companion paper includes further reflections by Shankar, Tsimerman, Wang and Wood that we did not read.
Sources
- Remarks on the disproof of the unit distance conjecture, Alon, Bloom, Gowers, Litt, Sawin, Shankar, Tsimerman, Wang and Wood, arXiv preprint, 20 May 2026, CC BY 4.0
- An explicit lower bound for the unit distance problem, Will Sawin, arXiv preprint, 20 May 2026
- An OpenAI model has disproved a central conjecture in discrete geometry, OpenAI, 20 May 2026 (read through a public text reader)
Sources
- Remarks on the disproof of the unit distance conjecture (preprint, 2026)
- An explicit lower bound for the unit distance problem (preprint, 2026)
- An OpenAI model has disproved a central conjecture in discrete geometry (20 May 2026)
Related stories
- OpenAI sets out three ways it measures model alignment
- OpenAI releases MedChemBench, a test of AI on drug chemistry
- OpenAI says safeguards cut distillation attacks from 54% to 0.2%
- OpenAI says its AI models breached Hugging Face in a test
- A preprint says it resolves Erdős Problem 550 on Ramsey numbers
- Google DeepMind's AlphaProof Nexus solves 9 open Erdős problems