Title:Erdős Problem 90: The unit distance problem
8 results recorded on aiXiv
- disproves For infinitely many there are -point sets with at least unit-distance pairs, for an absolute constant . This refutes the conjectured bound and the bound . — aiXiv:2609.02524, 2026-05-26 · claimed by its authors; no independent check recorded on aiXiv
- disproves There is and planar point sets with determining at least unit distances. This disproves Erdős's unit distance conjecture. The construction uses CM fields in Golod–Shafarevich infinite class field towers with bounded root discriminant and a split prime. — aiXiv:2609.00180, 2026-05-20 · claimed by its authors; no independent check recorded on aiXiv
- Lean formalization Lean/Mathlib formalization of the implication (H) unit distances along a sequence, including an infinite pro-2 class field tower over via Golod–Shafarevich, root-discriminant bounds and the planar construction; (H) is bounded numerically outside Lean by 0.0848336 < 0.0852. — aiXiv:2610.00161, 2026-10-01 · claimed by its authors; no independent check recorded on aiXiv
- bound There are absolute constants and such that every set of points in the Euclidean plane determines at most unit distances. This improves the Spencer–Szemerédi–Trotter bound by a power. — aiXiv:2610.00863, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/167.md
- bound There are finite planar point sets with and , so for infinitely many . The construction uses quadratic extensions of mixed signature in an infinite pro-2 tower over . It is unconditional but computer-assisted, with interval-arithmetic evaluation of 576 -functions. — aiXiv:2610.02377, 2026-10-02 · claimed by its authors; no independent check recorded on aiXiv
- bound Optimizing the parameters in Sawin's explicit criterion (prime sets and , multiplicities , real parameter ) gives . Hence the maximum number of unit distances among planar points satisfies for arbitrarily large , improving Sawin's . — aiXiv:2609.01457, 2026-06-02 · claimed by its authors; no independent check recorded on aiXiv
- bound A formal proof is reported of an upper bound , for some , on the number of unit distances among points in the plane. This improves the Spencer–Szemerédi–Trotter bound . — aiXiv:2609.02524, 2026-05-26 · claimed by its authors; no independent check recorded on aiXiv
- bound There are arbitrarily large with planar -point sets determining unit distances, where . The previous exponent was . The certificate uses 50 seed primes, , , no split primes and a strict Golod–Shafarevich inequality . It takes Sawin's class-field-tower framework (Proposition 10, Lemma 12) as black-box input, and is verified by 150-digit interval arithmetic. — aiXiv:2609.03041, 2026-05-22 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Does every set of distinct points in contain at most many pairs which are distance apart?
This was disproved by an internal model at OpenAI, which constructed (for infinitely many ) a set of points in such that the number of unit distance pairs in is at least , where is an absolute constant.
| Subjects: | Metric Geometry (math.MG) |
| MSC classes: | 52 |
| Tags: | question |
| Cite as: | NS.03563 [math.MG] · NS.03563v1 for this version |
| Declaration: | Erdos90.erdos_90 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 481249ce88cd87023cb18edc740e5d3b7ea2fd6e1bf5e8a24a70c5c77ed414e4 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/90.lean |
Formal statement
theorem erdos_90 : ¬ ∃ (O : ℕ → ℝ) (hO : O =O[atTop] (fun n => 1 / (n : ℝ).log.log)),
(fun n => (maxUnitDistances n : ℝ)) =ᶠ[atTop] fun (n : ℕ) => (n : ℝ) ^ (1 + O n)Show the full Challenge.lean (216 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 90: The unit distance problem
*Reference:* [erdosproblems.com/90](https://www.erdosproblems.com/90)
The conjecture asks whether every set of $n$ points in $\mathbb{R}^2$ determines at most
$n^{1 + O(1/\log\log n)}$ unit distances. It was **disproved** in May 2026: an internal model at
OpenAI produced a construction beating the conjectured bound, with the proof digested and
human-verified in two arXiv papers:
* W. Sawin, [*An explicit lower bound for the unit distance problem*](https://arxiv.org/abs/2605.20579)
(2026), giving $u(n) \ge n^{1.014114}/C$ for infinitely many $n$;
* N. Alon, T. F. Bloom, W. T. Gowers, D. Litt, W. Sawin, A. Shankar, J. Tsimerman, V. Wang and
M. Matchett Wood, [*Remarks on the disproof of the unit distance conjecture*](https://arxiv.org/abs/2605.20695)
(2026), giving the qualitative form $u(n) \ge n^{1+\varepsilon}$ for some $\varepsilon > 0$.
This file records the main statement (`erdos_90`), the two constructive disproof variants, the
logical implications between them, and the load-bearing reductions of Sawin's proof
(`sawin_lattice_reduction` and `sawin_totally_real_tower`) as further benchmark challenges.
-/
@[expose] public section
open Filter EuclideanGeometry NumberField
open scoped EuclideanGeometry
namespace Erdos90
open Finset
/--
The set of all possible numbers of unit distances for a configuration of $n$ points.
-/
noncomputable def unitDistanceCounts (n : ℕ) : Set ℕ :=
{unitDistNum points | (points : Finset ℝ²) (_ : points.card = n)}
/--
This lemma confirms that the set of possible unit distance counts is bounded above, which
ensures that taking the supremum (`sSup`) is a well-defined operation. The trivial upper bound is
the total number of pairs of points, $\binom{n}{2}$.
-/
@[category test, AMS 52]
theorem unitDistanceCounts_BddAbove (n : ℕ) : BddAbove <| unitDistanceCounts n := by
use n.choose 2
rintro _ ⟨points, rfl, rfl⟩
exact unitDistNum_le_choose_two points
/--
The **maximum number of unit distances** determined by any set of $n$ points in the plane.
This function is often denoted as $u(n)$ in combinatorics.
-/
noncomputable def maxUnitDistances (n : ℕ) : ℕ :=
sSup (unitDistanceCounts n)
/--
Does every set of $n$ distinct points in $\mathbb{R}^2$ contain at most
$n^{1+O(\frac{1}{\log\log n})}$ many pairs which are distance $1$ apart?
This was
[disproved](https://cdn.openai.com/pdf/74c24085-19b0-4534-9c90-465b8e29ad73/unit-distance-proof.pdf)
by an internal model at OpenAI, which constructed (for infinitely many $n$) a set $P$ of $n$ points
in $\mathbb{R}^2$ such that the number of unit distance pairs in $P$ is at least $n^{1+c}$, where
$c > 0$ is an absolute constant.
-/
@[category research solved, question, AMS 52]
theorem erdos_90 : ¬ ∃ (O : ℕ → ℝ) (hO : O =O[atTop] (fun n => 1 / (n : ℝ).log.log)),
(fun n => (maxUnitDistances n : ℝ)) =ᶠ[atTop] fun (n : ℕ) => (n : ℝ) ^ (1 + O n) := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
**Constructive form of the disproof.** There is an absolute constant $c > 0$ such that
infinitely many $n$ admit a configuration realising at least $n^{1+c}$ unit distances.
This is the qualitative content of Theorem 1.1 of Alon–Bloom–Gowers–Litt–Sawin–Shankar–
Tsimerman–Wang–Matchett Wood, [*Remarks on the disproof of the unit distance conjecture*](https://arxiv.org/abs/2605.20695)
(2026). An explicit bound $c \ge 0.014114$ is given by Sawin, [*An explicit lower bound for the
unit distance problem*](https://arxiv.org/abs/2605.20579) (2026); see
`erdos_90.variants.sawin_explicit` below.
-/
@[category research solved, AMS 52,
formal_proof using lean4 at "https://github.com/plby/Erdos90/blob/2062b0e6c9770c81e397bfe41148e90b92ca0567/src/submission/Solution.lean#L6"]
theorem erdos_90.variants.polynomial_lower_bound :
∃ c > (0 : ℝ),
{n : ℕ | (n : ℝ) ^ (1 + c) ≤ (maxUnitDistances n : ℝ)}.Infinite := by
sorry
/--
**Sawin's explicit exponent.** The constructive disproof can be realised with $c \ge 0.014114$
(absorbing the implicit constant $C$ of Sawin's Theorem 1 into a slightly smaller exponent for
all large enough $n$). Reference: Theorem 1 of Sawin, [arXiv:2605.20579](https://arxiv.org/abs/2605.20579)
(2026).
-/
@[category research solved, AMS 52]
theorem erdos_90.variants.sawin_explicit :
{n : ℕ | (n : ℝ) ^ (1.014114 : ℝ) ≤ (maxUnitDistances n : ℝ)}.Infinite := by
sorry
/-- Sawin's explicit bound implies the qualitative polynomial lower bound, by taking
$c = 0.014114$. -/
@[category test, AMS 52]
theorem erdos_90.variants.sawin_explicit_implies_polynomial_lower_bound :
type_of% erdos_90.variants.sawin_explicit →
type_of% erdos_90.variants.polynomial_lower_bound := by
intro h
exact ⟨0.014114, by norm_num, by convert h; norm_num⟩
/-- The polynomial lower bound implies the answer to Erdős 90 is `False`: a fixed positive
exponent $c$ is incompatible with the conjectured $O(1 / \log \log n)$ growth. -/
@[category test, AMS 52]
theorem erdos_90.variants.polynomial_lower_bound_implies_erdos_90 :
type_of% erdos_90.variants.polynomial_lower_bound →
type_of% erdos_90 := by
rintro ⟨c, hc, hInf⟩ ⟨O_fn, hO_bigO, hO_eq⟩
-- 1/log(log(n)) → 0, so O_fn = O(1/log log n) implies O_fn → 0
have hg : Tendsto (fun n : ℕ => (1 : ℝ) / (↑n : ℝ).log.log) atTop (nhds 0) := by
simp_rw [one_div]
exact tendsto_inv_atTop_zero.comp
(Real.tendsto_log_atTop.comp (Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop))
have hO_zero : Tendsto O_fn atTop (nhds 0) :=
(Asymptotics.isLittleO_one_iff ℝ).mp
(hO_bigO.trans_isLittleO ((Asymptotics.isLittleO_one_iff ℝ).mpr hg))
-- Eventually u(n) < n^{1+c}, contradicting the infinitely-often lower bound
have hLt : ∀ᶠ (n : ℕ) in atTop, ¬((n : ℝ) ^ (1 + c) ≤ (maxUnitDistances n : ℝ)) := by
filter_upwards [hO_eq, hO_zero.eventually (Iio_mem_nhds hc), eventually_ge_atTop 2]
with n hEq hOLt hn
rw [not_le, hEq]
exact Real.rpow_lt_rpow_of_exponent_lt (by exact_mod_cast (by omega : 1 < n)) (by linarith)
rw [← cofinite_eq_atTop] at hLt
exact hInf.frequently_cofinite hLt
/--
**Sawin's Lemma 2: lattice geometry of unit distances** (Sawin, [arXiv:2605.20579](https://arxiv.org/abs/2605.20579)).
Let $d \ge 1$, $R > 1$, and suppose $\Lambda \subset \mathbb{R}^{2d}$ is an additive subgroup
all of whose nonzero vectors have norm at least $\rho > 0$ (so $\Lambda$ is a lattice; Sawin takes
$\rho$ to be the norm of a shortest nonzero vector of $\Lambda$), equipped with an additive
embedding $\pi : \Lambda \to \mathbb{R}^2$. Suppose $S \subseteq \Lambda$ is a finite set of
"matching" vectors satisfying $\|v\| \le 1$ and $\|\pi v\| = 1$ for every $v \in S$. Then there
is a finite point set $U \subset \mathbb{R}^2$ of size $\#U \le (2R/\rho + 1)^{2d}$ whose
unit-distance density is at least $(1 - 1/R)^{2d}\,\#S$, i.e.
$(1-1/R)^{2d}\,\#S\,\#U \le \#\{(u_1, u_2) \in U^2 : |u_1 - u_2| = 1\}$. The right-hand side
counts ordered pairs, so it equals twice `unitDistNum U`.
This pure geometry-of-numbers reduction is the elementary heart of the disproof.
-/
@[category research solved, AMS 52]
theorem sawin_lattice_reduction
(d : ℕ) (hd : 1 ≤ d) (R : ℝ) (hR : 1 < R)
(Λ : Submodule ℤ (EuclideanSpace ℝ (Fin (2*d))))
(ρ : ℝ) (hρ : 0 < ρ) (hΛ : ∀ v : Λ, v ≠ 0 → ρ ≤ ‖(v : EuclideanSpace ℝ (Fin (2*d)))‖)
(π : Λ →+ ℝ²) (hπ : Function.Injective π)
(S : Finset Λ)
(hS_norm : ∀ v ∈ S, ‖(v : EuclideanSpace ℝ (Fin (2*d)))‖ ≤ 1)
(hS_proj : ∀ v ∈ S, ‖π v‖ = 1) :
∃ U : Finset ℝ², 0 < U.card ∧ (U.card : ℝ) ≤ (2 * R / ρ + 1) ^ (2*d) ∧
((1 : ℝ) - 1/R) ^ (2*d) * (S.card : ℝ) * (U.card : ℝ) ≤
2 * (unitDistNum U : ℝ) := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
**Sawin's Lemmas 11–12 / Remarks Proposition 2.3: the totally real tower.**
There exist $rdBound : \mathbb{R}$ and a *single* infinite set $Q$ of rational primes
$q \equiv 1 \pmod 4$ such that for every $N$ one can find a totally real number field $F/\mathbb{Q}$
of degree $\ge N$ with bounded root discriminant $|disc F|^{1/[F:\mathbb{Q}]} \le rdBound$ in which
*every* prime $q \in Q$ splits completely.
The load-bearing feature is the quantifier order: $Q$ is fixed *before* $F$, so the same primes
split completely in fields of *unbounded* degree. (For a single fixed $F$, Chebotarev already
gives infinitely many completely split primes $\equiv 1 \pmod 4$, so a per-field statement would
be vacuous.) This uniform splitting in an unbounded tower is the key arithmetic input to the
disproof. It is proved as Lemmas 11–12 of Sawin, [arXiv:2605.20579](https://arxiv.org/abs/2605.20579),
and as Proposition 2.3 of the [Remarks](https://arxiv.org/abs/2605.20695) paper, via the
Golod–Shafarevich inequality for pro-$2$ groups together with the Hajir–Maire–Ramakrishna (2003)
tower construction.
A "completely split" rational prime $q$ in $F$ is one for which $(q)$ is the product of exactly
$[F:\mathbb{Q}]$ distinct maximal ideals.
-/
@[category research solved, AMS 11,
formal_proof using lean4 at "https://github.com/n-yamaguchi-0729/SawinTotallyRealTowers/blob/3a455e1aa9140dbbe7b7d68f508392a69c86d0f4/Lean4/SawinTotallyRealTowers/SawinTotallyRealTower.lean#L31"]
theorem sawin_totally_real_tower :
∃ (rdBound : ℝ) (Q : Set ℕ), Q.Infinite ∧ (∀ q ∈ Q, q.Prime ∧ q % 4 = 1) ∧
∀ N : ℕ, ∃ (F : Type) (_ : Field F) (_ : CharZero F) (_ : NumberField F)
(_ : IsTotallyReal F),
N ≤ Module.finrank ℚ F ∧
(|(NumberField.discr F : ℝ)|) ^ ((1 : ℝ) / Module.finrank ℚ F) ≤ rdBound ∧
∀ q ∈ Q, ∃ (factors : Finset (Ideal (𝓞 F))),
factors.card = Module.finrank ℚ F ∧
∀ p ∈ factors, p.IsMaximal ∧ (q : 𝓞 F) ∈ p := by
sorry
end Erdos90
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos90.erdos_90 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_90 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-90 nosorry submit erdos-90 nosorry/erdos-90/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-90-variants-polynomial-lower-bound — known result
- erdos-90-variants-sawin-explicit — known result
- sawin-lattice-reduction — known result
- sawin-totally-real-tower — known result
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.