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 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.

A square grid of dots with a dashed circle of radius 5 around the centre dot passing through twelve highlighted grid points joined to the centre by lines

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

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

Sources

Related stories

More from Number Ninjas

All stories from Number Ninjas